The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Summary: Learn how to create a nested PowerShell custom object.
(image) Â How do I create a nested PowerShell custom object to store layers (nested) of information?
(image) Use a hashtable with the PSCustomObject type accelerator, and specify PSCustomObject as the value to the Property Name (Key):
[PSCustomObject]@{
PropertyName = [...
Summary: Learn how to continue a script after a remote system restart by using Windows PowerShell.(image) 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?(...
Summary: Learn how to use Windows PowerShell to query for free space in Cluster Shared Volumes.(image) 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?(image) Use the Get-...
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...
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 ...