Create a Simple Azure Web App with PowerShell

Hello, this post will show you the steps to create a free, very simple web app in the Microsoft Azure platform using PowerShell. You will need an existing subscription or sign up for a new one to follow this post. The app service plan selected is the free tier so you will not be charged / count […]

Azure Active Directory Connect Unable to connect to the Synchronization Service

Error message when trying to run Azure Active Directory Connect = Unable to connect to the Synchronization Service. Some possible reasons are: 1) The service is not started. 2) Your account is not a member of a required security group. See the Synchronization documentation for details. Check Service First check the service is running. Use services.msc […]

WordPress stuck in maintenance mode

I was updating a couple of plugins in this WordPress site, which I usually do when I get update notifications with no issues. This time however the message in the screenshot below appeared and would not go away. To fix this, you need to rename or delete the .maintenance file. cPanel Login to cPanel and […]

Azure backup server, SMTP with anonymous authentication

While configuring an Azure backup server, I was trying to set the SMTP settings with anonymous authentication to email notifications, but kept getting the following error: ID: 2013 Details: The user name or password is incorrect Quick Fix Create a local user (with stupidly long and complex password). Add the user to the Adminstrators group. […]

Unblocking Files downloaded from the Internet

First off, make sure you trust the source of where you downloaded the files from, only download from legitimate sites you trust and check the SSL certificate if needs be. Browse to the excellent Sysinternals page on Microsoft’s technet site. Right click the Download Sysinternals Suite link and select “Save link as…” and choose a location […]

Azure PowerShell login and create resource group

I’ve been doing lots of work with Azure recently (especially using PowerShell) so thought I’d dump some of the stuff I’ve learnt along the way here… it’s been a while. This small guide will show you how to login to Azure using PowerShell, view and select your subscriptions and then create a Resource Group that […]

Check file hash with PowerShell version 4 & 5

Note: Tested using PowerShell Version 4 A quick way to check the hash of a file is to use PowerShell’s Get-FileHash Cmdlet along with the Compare-Object Cmdlet. You may want to check the file you’ve downloaded from the Internet hasn’t been changed and websites sometimes have the file hashes to verify this. In the code below, copy […]

Installing Dig on Windows 8.1

This post will show you how to install Dig (Domain Information Groper) on Windows 8.1. Dig is a DNS (Domain Name System) command that gives you lots more information than NSlookup, but is not installed on Windows by default. Download from https://www.isc.org/downloads/ Under the BIND heading, click the download button of the “Current-stable” release.   Select […]

PowerShell Remoting WinRM

When trying to enter a PowerShell session on a remote PC

you receive the following error: Go to the client computer and check to see if the WinRM service is running.

We need to start the WinRM service, run:

After that has completed, check the service is running by:

Now we […]