Showing results for 2015 - Scripting Blog [archived]

Dec 31, 2015
0
0

PowerTip: Use Here-Strings with PowerShell

Doctor Scripto
Doctor Scripto

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 block ...

Windows PowerShellPowerTipguest blogger
Dec 31, 2015
0
0

Sounds of the Holidays–Part 2

Doctor Scripto
Doctor Scripto

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 “...

Windows PowerShellguest bloggerThomas Rayner
Dec 30, 2015
0
0

PowerTip: Launch Minimized Application with PowerShell

Doctor Scripto
Doctor Scripto

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: Start...

Windows PowerShellPowerTipguest blogger
Dec 30, 2015
0
0

Sounds of the Holidays–Part 1

Doctor Scripto
Doctor Scripto

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: ...

Windows PowerShellguest bloggerThomas Rayner
Dec 29, 2015
0
0

PowerTip: Get Status of a DSC File in Azure

Doctor Scripto
Doctor Scripto

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 machine ...

Windows PowerShellPowerTipguest blogger