Michael Bender

PowerShell Basics: Want to Use Exchange Online in Azure Cloud PowerShell?

Since rollout in Exchange 2007, PowerShell and Exchange have been partners in helping administrators everywhere manage their environments. Whether on-premises or in the cloud, PowerShell is a powerful tool for working with Exchange. Now the cmdlets for managing Exchange Online are available in Azure Cloud Shell. In this post, I’ll show you how to access […]

PowerShell Basics: Want to Use Exchange Online in Azure Cloud PowerShell? Continue Reading

PowerShell Basics: Are you using Get-ComputerInfo?

Get-ComputerInfo For years, administrators have used commands like Get-WMIObject or Get-CIMInstance, along with other built-in commands, to retrieve computer and system information. This often required multiple commands, and some crafty scripting to get all the information you needed. Well, PowerShell 5.1 brought some relief for admins needing computer specific information with Get-ComputerInfo. With Get-ComputerInfo, an

PowerShell Basics: Are you using Get-ComputerInfo? Continue Reading

PowerShell Basics: Connecting to VMs with Azure PSRemoting

If you use PowerShell on-premises, chances are good you use PSRemoting (or PowerShell Remoting). It allows you to manage systems using remoting tools like Enter-PSSession and Invoke-Command. When you move to Azure, you have similar tooling available when you enable Azure PSRemoting for your VMs. With the Enable-AzureVMPSRemoting cmdlet, Azure PowerShell configures the pieces necessary

PowerShell Basics: Connecting to VMs with Azure PSRemoting Continue Reading

PowerShell Basics: Finding the right VM size with Get-AzVMSize

Finding the right virtual machine for your needs can be difficult especially with all of the options available. New options seem to come around often so you may need to regularly check the VMs available within your Azure region. Sure, you could do this through the GUI, but using PowerShell makes it quick and easy

PowerShell Basics: Finding the right VM size with Get-AzVMSize Continue Reading

PowerShell Basics: Don’t Fear Hitting Enter with -WhatIf

Chances are you’ve run into this situation. You’ve built a script, or a one-liner, to perform a specific task, but you don’t have a way to thoroughly test it without hitting Enter. That moment before hitting enter can be difficult. Knowing this need, there is a switch available with many PowerShell commands called -WhatIf. With

PowerShell Basics: Don’t Fear Hitting Enter with -WhatIf Continue Reading