0

How To Set Static IP On Azure VM

Azure now offers the capability to configure static IPs onto IAAS VMs.  Static IP assignment in Azure VMs is not the same as configuring a typical static IP for a server in your on-premises network.  When you statically assign an IP address to the Azure VM, it is not entered into the VMs machine’s TCP/IP configuration property sheet.  Rather a reservation is created, so that DHCP ha… Read the rest “How To Set Static IP On Azure VM”

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

Azure Active Directory Module–Newer Version Available Notifications

When connecting to Azure Active directory with the MSOnline PowerShell module, it will check the currently installed version.  This allows the service to let you know that a newer version may be available.  If the locally installed module is out-dated, you will get a message like the below:

WARNING: There is a newer version of the Microsoft Online Services Module.  Your current version will still w

Read the rest “Azure Active Directory Module–Newer Version Available Notifications”
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

Exchange 2013 Performance Health Check Script

One of the recent additions to the TechNet script gallery was this nifty little contribution from Marc Nivens.

Exchange 2013 Performance Health Checker Script

This script reports on OS, system, and hardware information in addition to the Exchange 2013 sizing recommendations on TechNet.  It can be ran remotely, against a single server or a group of servers.  It takes some of the most common configuration causes of Exchange 2013 performance cases … Read the rest “Exchange 2013 Performance Health Check Script”

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

How To Get Azure VM IP Addresses Using PowerShell

Curious as to what IPs are used by your Azure VMs?  This may seem a simple question, but it was not until last year that Azure allowed you to set static IPs on VMs.  Prior to this it was a first come first served basis.  The net result was that you powered VMs on in a set order to preserve the IP assignment scheme that you wanted.

The first usable IP address on the Azure VM subnet is the .4 address… Read the rest “How To Get Azure VM IP Addresses Using PowerShell”

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”

0

Retrieving Packets Received Discarded Perfmon Counter From Multiple Servers–Updated February 2015

On the Retrieving Packets Received Discarded Perfmon Counter From Multiple Servers post, Tim commented that he had found the script very useful when troubleshooting discarded packets on Exchange 2013 DAG servers.  Using PowerShell  it is very easy to extend the search to discover which other servers are impacted by the packets received discarded issue. 

Since the initial version of t… Read the rest “Retrieving Packets Received Discarded Perfmon Counter From Multiple Servers–Updated February 2015”

0

PowerShell – CannotConvertArgumentNoMessage Where Object Error

PowerShell – CannotConvertArgumentNoMessage

This is an interesting tale from a customer who was trying to get a list of Outlook clients that were connecting to their Exchange 2010 servers.  They wanted to validate the Outlook versions that were connecting, due to Exchange 2013 requirements and also that Outlook 2010 must have SP2 installed at this time.

A quick search of the interwebs turned up a script, and they though all was golden at tha… Read the rest “PowerShell – CannotConvertArgumentNoMessage Where Object Error”