Cancelling an Apple Subscription

Cancelling a subscription bought through the App Store by your Apple ID may not be quite intuitive. Here are the steps on how to cancel a subscription-

  1. Click on Settings IMG_0276
  2.  Then click on iTunes and App StoreIMG_0277
  3. Click on your Apple ID (Your Email Address-Highlighted in Blue)IMG_0278
  4. Then click on View Apple IDIMG_0279.PNG
  5.  Scroll Down and click on SubscriptionsIMG_0280.PNG
  6. Cancel your SubscriptionIMG_0275.PNG
Advertisements

Scheduling a PowerShell Script

A Power Shell Script can be scheduled using the Windows Task Scheduler. Once you have the PowerShell script ready, you could schedule the PowerShell script by launching the Windows Task Scheduler

Screen Shot 2018-02-18 at 7.45.05 PM.png

  1. On the right click on Create Basic Task
  2. Then it would open up a small window which has three main tabs that you need to focus on-GeneralTriggers and Actions.
  3. On the General tab, select the radio button “Run whether a user is logged in or not”or otherwise depending on whether you want to run the script when the user is logged In.
  4. On the Triggers tab, specify the time/frequency when the script needs to run.
  5. On the Actions Tab, Choose the Action “Start a Program” from the Dropdown and enter PowerShell.exe. Then against the parameters specify the Path of the PowerShell script and click OK.

Now your PowerShell script would run at the scheduled time provided the system is powered ON.

 

Sending an email via PowerShell

Sending an email via PowerShell is pretty easy! All you need to know apart from the sender’s email address is the SMTP Server.

Here is a basic template of sending an email via Power Shell

$From = "YourEmail@domain.com"
$To = "Sender@Domain.com"
$Cc = "CC@YDomain.com"
$Subject = "Email Subject"
$Body = "Insert body text here"
$SMTPServer = "smtp.domain.com"
$SMTPPort = "587"
Send-MailMessage -From $From -to $To -Cc $Cc -Subject $Subject `
-Body $Body -SmtpServer $SMTPServer -port $SMTPPort -UseSsl `
-Credential (Get-Credential) 




How to compare two Word Documents

There maybe times when you would need to compare two word documents. What is the best way to do it? Use a 3rd Party Tool? I don’t recommend doing that since Microsoft Word has got an Inbuilt feature to compare two documents.

As the picture describes-I have two Word Documents-

Screen Shot 2018-02-15 at 10.34.09 PMScreen Shot 2018-02-15 at 10.33.58 PM

As you might notice the text look similar but there is a minor text change. Right now it is easy to spot the differences since the document only contains two lines. But what if we had documents that contained at least 100 pages? Doing it manually would be practically not feasible.

How to compare?

  1. On the Menu at the top, activate the Review Tab Screen Shot 2018-02-15 at 10.32.39 PM
  2. Click on Compare
  3. Select Compare Documents
  4. Choose the Original and the Revised Document.Screen Shot 2018-02-15 at 10.33.23 PM
  5. And then click OK

It would now show you the differences between the two documents-

Screen Shot 2018-02-15 at 10.33.39 PM

Installing dependencies using npm

npm also known as the node package manager is used to Install dependencies for a project. Dependencies are files that are needed in order for a project to compile and build successfully. Without Installing dependencies, the project would always run Into errors.

Node Package Manager is a one stop shop for Installing dependencies. Without a package manager life would be quite chaotic. One would have to go from one website to another in order to Install files since they are scattered all across the web. It’s akin to shopping in mall where you can get everything in one place rather than going to different stores across the street. It’s a matter of perception which you find more easier or convenient.

As discussed, node package manager allows you to Install all the required files from one place. All you would have to do is just type this command in a terminal or a command prompt.

npm install

Finding a matching brace in PowerShell ISE

Just like in Visual Studio, it is helpful to know the matching brace in the Power Shell Editor. If you are near the opening brace, it would tell you where the closing brace is and vice-versa.

Power Shell ISE is the Power Shell Editor for Windows. In order to find the matching brace, one would have to type the following keyboard shortcut

ctrl+]

Setting up Timezone in Outlook Web App

Outlook Web App is the Online Version of the Outlook Client. This obviously runs in the browser of choice. New or fairly new users of Office 365 might receive notifications Informing them that the Timezone has not been set in Outlook. This notification comes in a regular basis and it might get annoying. So, before this gets Into your nerves, here is how one would set up their Timezone in the Outlook Web App. 🙂

The How?

You would have to go to this link https://outlook.office365.com/owa/?path=/options/regional and then select your Timezone and format.

Screen Shot 2018-02-13 at 9.14.38 PM.png