Showing results for Brian Wilhite - Scripting Blog [archived]

Apr 5, 2016
0
1

PowerTip: Create a nested PowerShell custom object

Doctor Scripto
Doctor Scripto

Summary: Learn how to create a nested PowerShell custom object.  How do I create a nested PowerShell custom object to store layers (nested) of information? Use a hashtable with the PSCustomObject type accelerator, and specify PSCustomObject as the value to the Property Name (Key): [PSCustomObject]@{ PropertyName = [PSCustomObject]@{ NestedPrope...

Scripting Guy!Windows PowerShellPowerTip
Nov 16, 2014
0
0

PowerTip: Continue a Windows PowerShell Script After Restart

Doctor Scripto
Doctor Scripto

Summary: Learn how to continue a script after a remote system restart by using Windows PowerShell. I am configuring MPIO to automatically claim the iSCSI Bus Type, which requires a restart. However, I want to continue           automating afterward, so how do I continue my script from that point? Introduced i...

Scripting Guy!Windows PowerShellPowerTip
Nov 2, 2014
0
0

PowerTip: Use PowerShell to Query Cluster Shared Volumes' Free Space

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to query for free space in Cluster Shared Volumes. How can I use Windows PowerShell to find the free space in all my Cluster Shared Volumes for Hyper-V in            Windows Server 2012 R2 or Windows Server 2012? Use the Get-ClusterSharedVolume cmdle...

Scripting Guy!Windows PowerShellPowerTip
Dec 16, 2013
0
0

PowerShell Above and Beyond the Minimum Requirements

Doctor Scripto
Doctor Scripto

Summary: Two Microsoft Windows PowerShell experts get extreme with the standard Hello World script. Microsoft Scripting Guy, Ed Wilson, is here. Last month at the Charlotte PowerShell User Group meeting, we played around with some scenarios, and we had each of the attendees work through the tasks to see the various ways they would come up with to s...

Scripting Guy!Windows PowerShellscripting techniques
Jun 11, 2013
0
0

Determine Pending Reboot Status—PowerShell Style! Part 2

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Brian Wilhite, talks about using Windows PowerShell to detect a server that is in pending reboot status. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the conclusion to Brian Wilhite’s guest blog series about detecting pending reboots via Windows PowerShell. Prior to reading today’s post, you should ...

Scripting Guy!Windows PowerShellguest blogger