Tag Archives: Cmdlets

Copying an Azure Cloud Blob (VHD) between different Storage Accounts and Resource Groups with ARM PowerShell.

While working with Azure, I came across a situation where I needed to quickly provision an Azure Virtual Machine from an existing sysprepped VHD in a different storage account and resource group using the Azure Resource Manager deployment model. This … Continue reading

Posted in Azure, Azure Windows PowerShell | Tagged , , , , , , , | Leave a comment

Deleting SCVMM 2012 R2 Logical Network Definitions with PowerShell.

Attempting to delete a SCVMM 2012R2 logical network throws an exception as shown in the screen shot below because there are other dependencies like the Port Profiles, logical switches and other network objects still depending on it. The “View Dependent … Continue reading

Posted in SCVMM2012R2, System Center 2012 R2, VMM2012R2, Windows Server 2012 R2 | Tagged , , , , , | Leave a comment

Bulk Updating On-Premise Active Directory Users’ Attributes for Office 365 Batch Migration Using PowerShell.

In this environment, the on premise Active Directory DNS name is different from the email address public DNS name. An alternate UPN Suffix that matches the public email address DNS name has already been configured for the on premise AD … Continue reading

Posted in Batch Migration, Exchange 2010 SP2, Exchange Online, Office 365, Onboarding, PowerShell, Windows Azure PowerShell | Tagged , , , , , , , , , , | Leave a comment

Resolving Hyper-v Error: “‘Unnamed VM’ could not initialize… The security ID structure is invalid.”

While moving my Lab to a new environment using the Hyper-v Export and Import VM options, I ran into an “‘Unnamed VM’ could not initialize… The security ID structure is invalid” error when trying to start the Domain Controller Virtual … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v, PowerShell, Powershell 4.0, Uncategorized, VHDX, Virtual Machines, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , | Leave a comment

Enabling Jumbo Frames on Windows Server 2012 R2 using PowerShell and on Cisco 3560G using IOS commands.

Jumbo frames are Ethernet frames with a payload greater than the standard mtu of 1500. Increasing the mtu size on a 1 GB network usually improves network performance and efficiency.The following PowerShell cmdlets will help display and check current jumbo … Continue reading

Posted in Jumbo Frames, Network, Powershell 4.0 | Tagged , , , | 2 Comments

PowerShell Script uses Split() Method to display Active Directory Users’ Organizational Unit and other Properties.

A colleague was trying to generate a report of Active Directory Users, displaying their Organizational Unit and PasswordNeverExpires property status. Normally this should be very simple, but they ran into a small snag. The Active Directory module at the time … Continue reading

Posted in Active Directory, Powershell 4.0, Script | Tagged , , , , | Leave a comment

Creating New Equipment Address List in Exchange 2010.

The steps and cmdlets below enabled me configured a separate address list in Exchange 2010 to manage all Equipment. Create the Address List and specify the Recipient Filter: [PS] C:\>New-AddressList -name “All Equipment” -RecipientFilter {RecipientType -eq “UserMailbox” -and RecipientTypeDetails -eq … Continue reading

Posted in Active Directory, Exchange 2010 SP2, Exchange Cmdlets, Exchange Management Shell, Microsoft Exchange | Tagged , , , , , | Leave a comment