Tag: PowerShell 4.0
-
PowerShell Script to Bulk Update UPN (UserPrincipalName) Suffix in a Single Non-Routable Domain.
As part of the Office 365 Configuration and migration project, we’ve had to define and create an alternate upn (UserPrincipalName) suffix for an internal Active Directory domain that is not publicly routable. Updating the upn for every user in the Active Directory Domain could be a tedious task if done manually. Following is a screen…
-
Removing a Temporary Template from System Center Virtual Machine Manager 2012 R2 using PowerShell.
While going through a house cleaning task in System Center Virtual Machine Manager 2012 R2, I found that I couldn’t remove a vhdx file that was part of a template.This is because the vhdx still had a dependency called “Temporary Template11ef26ce-a6bd-421b-86f2-9cacd0e0f484”: Since I couldn’t remove the temporary template from the graphical user interface, I resorted…
-
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 frame values and edit them.The maximum value of a Jumbo frame on an Ethernet adapter…
-
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 of this writing which is PowerShell 4.0 does not have a direct Organizational Unit property…