Showing results for Brian Wilhite - Scripting Blog [archived]

Dec 19, 2012
0
0

PowerTip: Search for Inactive User Accounts in Windows Server 2012 Active Directory

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to search for inactive user accounts in Active Directory for Windows Server 2012.  How can I query inactive user accounts in my Windows Server 2012 Active Directory environment?  Charlotte Windows PowerShell user group member Brian Wilhite says: You can use the ActiveDirectory mo...

Scripting Guy!Windows PowerShellPowerTip
Dec 18, 2012
0
0

PowerTip: Select the Next-to-Last Item in a PowerShell Array

Doctor Scripto
Doctor Scripto

Summary:  Learn how to select the next-to-last item in a Windows PowerShell array.  I have a collection of objects in an array, and I need to select the next-to-last item in the array. How can this be done?  Good question … Charlotte Windows PowerShell user group member Brian Wilhite says: Every now and then, there are ti...

Scripting Guy!Windows PowerShellPowerTip
Dec 17, 2012
0
0

PowerTip: Collect VM Performance by Using PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell 3.0 and Windows Server 2012 to collect virtual machine performance information.  How do I collect performance data on a daily basis for a specific Hyper-V virtual machine?  Charlotte Windows PowerShell User group member Brian Wilhite says: There are two cmdlets that we’ll use first, ena...

Scripting Guy!Windows PowerShellPowerTip
Dec 16, 2012
0
0

PowerTip: Use the Get-Cimclass Cmdlet to Find WMI Properties

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell 3.0 to find specific WMI properties.  How do I find what WMI class contains the Service Pack property?  Charlotte PowerShell User Group member Brian Wilhite says: The easiest way to find the WMI class or classes that contain the “Service Pack” property, you’ll use theGet-CimClass ...

Scripting Guy!Windows PowerShellPowerTip
Dec 15, 2012
0
0

PowerTip: Use the PowerShell 3.0 Get-CimInstance Cmdlet

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell 3.0 to connect to servers running Windows Server 2003 with the Get-CimInstance cmdlet.  How can I use Get-CimInstance to connect to servers running Windows Server 2003 in my legacy environment?  Charlotte Windows PowerShell user group member Brian Wilhite says: The new&nbs...

Scripting Guy!Windows PowerShellPowerTip