Summary: Learn the basic use of a here-string in Windows PowerShell.
What is a here-string and how do I use it?
In PowerShell, you can use here-strings to declare blocks of text. They’re declared just like regular strings except they have an @ on each end. Instead of being limited to one line, you can declare an entire ...
Summary: MVP, Thomas Rayner, continues to inspire holiday spirit by using PowerShell to trigger multimedia.
Yesterday in Sounds of the Holidays–Part 1, I tried to inspire my coworker, Matthew, with some cool holiday messages. Unfortunately, Matthew is still being a Grinch and I need to step up my game. Instead of some spoken messages from...
Summary: Learn how to specify the launch state of an application through Windows PowerShell.
How can I launch a minimized application in Windows PowerShell instead of opening the window in the foreground?
Use the –WindowStyle parameter with the Start-Process cmdlet, and select Minimized, for example:
...
Summary: MVP, Thomas Rayner, inspires holiday spirit by using Windows PowerShell to trigger some multimedia.Hello! I’m Thomas Rayner, a proud Cloud & Datacenter Management Microsoft MVP, filling in for the Scripting Guy for a couple days. You can find me on Twitter (@MrThomasRayner), or posting biweekly on my blog, WorkingSysadmin: ...
Summary: Use the Azure cmdlets to get the current status of a Desired State Configuration file on a virtual machine.
How can I use Windows PowerShell to determine if a Desired State Configuration (DSC) file that I applied to an Azure virtual machine is successful?
Get the Azure virtual ...