0

Script To Start Exchange Services

Running scripts to start and stop services has been a task long associated with Exchange.  For those who pre-date Exchange 2000, do you remember the fun issues with the increased WaitToKillServiceTimeout value?  By default in ye olde days HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlWaitToKillServiceTimeout was 20,000 ms (20 secs).   Installing Exchange increased that to 600,000 ms (10 minutes). … Read the rest “Script To Start Exchange Services”

0

Script To Remove Windows Update Server Values From Registry

In some of the lab environments provided to me, the base Windows image has pre-set WSUS updates servers.  When I then move the lab VMs to a different network, the original WSUS servers are no longer available, and I typically point to Microsoft Update or a different WSUS server.

In the case of pointing to Microsoft Update, I wanted to delete the initial WSUS registry values.  In my case, these are … Read the rest “Script To Remove Windows Update Server Values From Registry”

0

PowerShell Tail Command

In a recent customer conversation, they were excited that PowerShell 5.0 would contain the option to tail a log file.  While they were excited to get that feature, they were less excited to hear that PowerShell 3.0 had already added the –Tail parameter to the Get-Content cmdlet.  Previously there have been other solutions to get this functionality, but is now native in PowerShell.

As an example:

Gets… Read the rest “PowerShell Tail Command”

2

Active Directory Replication Status Tool Expired

Update 25-4-2016 - The tool has been updated and should be functional.  The feedback pages referenced at the bottom are now closed.

Back in 2012 the Active Directory Replication Status Tool (ADREPLSTATUS) was released.  The below is from one of my old labs.  It was a useful tool to have in environments which had no connectivity to external networks.

To download the tool click the image below.

Active Directory Replication Status Tool

ADREPLST… Read the rest “Active Directory Replication Status Tool Expired”

4

Remote Desktop Connection Manager Distorted Display

Remote Desktop Connection Manager (RDCMan) is a very popular remote administration tool with Microsoft admins.  RDCMan allows us to minimise the number of open windows on the local machine, when connecting to multiple remote systems.  At the time of writing, the latest version is 2.7 which can be downloaded here.

On my Windows 10 1511 laptop, some of my Azure VMs were not correctly rendering the di… Read the rest “Remote Desktop Connection Manager Distorted Display”

1

Quick Tip: Is There A Shortcut URL To Download Azure AD PowerShell?

Yes Virginia there is! *

For those wondering what the download page is for the Azure Active Directory PowerShell module, using your favourite search engine is one choice.

Another is to memorise the below handy shortcut URL:

https://aka.ms/aadposh

Which is take you directly to the manage Azure AD using PowerShell documentation/download.

Download Azure AD PowerShell Module

Cheers,

Rhoderick

* – For non-US folks, the “Yes Virginia” response co… Read the rest “Quick Tip: Is There A Shortcut URL To Download Azure AD PowerShell?”

0

Managing Directory Synchronisation – Notes From The Field

When deploying an Office 365 solution, directory synchronisation is a critical component.  This is the tool that will synchronise the on-premises directory data to Windows Azure Active Directory (WAAD).  As you can imagine if the synchronisation stops then chances are that you will run into some issues….

Note that this post is intended to cover both DirSync and AAD Sync, hence the generic title.

Whe… Read the rest “Managing Directory Synchronisation – Notes From The Field”

0

Using PowerShell To Filter Multiple Different Values

This post is to answer one of the many interesting questions that seem to pop up doing Exchange work!  This is for one of my favourite customers in Winnipeg.  Next time, let’s arrange the work for summertime so we can go golfing Tyler, eh?  For some added nostalgia, let’s use Exchange 2007 as the example here as this will likely be one of the last blog posts to feature Exchange 2007 as it goes of … Read the rest “Using PowerShell To Filter Multiple Different Values”

0

Unable To Run Downloaded PowerShell Script

After finding a killer PowerShell script on the interwebs, you download it and then the excitement dies when you get a lovely PSSecurityException error like the example below:

Script Cannot Be Loaded As It Is Not Digitally Signed

File C:ScriptsScript.ps1 cannot be loaded. The file C:ScriptsScript.ps1 is not digitally signed.
You cannot run this script on the current system. For more information about running scripts and setting execution policy, see ab

Read the rest “Unable To Run Downloaded PowerShell Script”
0

Which Azure Disk Is Not Attached

Over time a typical Azure subscription will create, delete and manage multiple virtual machines.  When removing an Azure VM there is the option to retain the disk.

In a large environment with lots of disks and VMs, how can we easily see what disks are not currently in use?

 

Azure Portal

The portal can show the disks that are attached and not attached.

Azure - Using Portal To See Which Disks Are Not Attached or In Use

This is good for a few disks, though if … Read the rest “Which Azure Disk Is Not Attached”