Showing tag results for Sean Kearney

Jan 3, 2016
Post comments count0
Post likes count0

Weekend Scripter: Customize PowerShell Title and Prompt

Doctor Scripto

Summary: Learn how to interactively update the Windows PowerShell prompt and title. Honorary Scripting Guy, Sean Kearney, is here today to have a little bit of fun with the Windows PowerShell console. Why not? It’s a Sunday, it’s the last day of my time off, and I feel like playing. There have been many posts online about the fun you ca...

Windows PowerShellguest bloggerWeekend Scripter
Jan 2, 2016
Post comments count0
Post likes count0

PowerTip: Set Personal Environment Variable from PowerShell

Doctor Scripto

Summary: Access the $ENV object in Windows PowerShell to alter personal environment settings.  How can I use Windows PowerShell to change a system environment variable such as the user %TEMP%?  You can read any personal environment settings by using $ENV:VariableName, then assigning a value.           &n...

Windows PowerShellPowerTipguest blogger
Jan 2, 2016
Post comments count0
Post likes count0

Learn Easier Way to Build Command for PowerShell.exe

Doctor Scripto

Summary: Learn how to parse a here-string with Windows PowerShell.Honorary Scripting Guy, Sean Kearney, is here to show you a neat little trick.Anyone who has ever scheduled a PowerShell task knows that if you want to launch a cmdlet directly in PowerShell, you would launch it like this:PowerShell.exe –ExecutionPolicy Bypass –command &l...

Windows PowerShellguest bloggerWeekend Scripter
Jan 1, 2016
Post comments count0
Post likes count0

PowerTip: Save Help Content for Module

Doctor Scripto

Summary: Learn how to target content to save with the Save-Help cmdlet.  How can I use Windows PowerShell to save the Help content for a single module?  Use the –module parameter with the Save-Help cmdlet, for example: Save-Help –module Dism –destination C:\Foo\

Windows PowerShellPowerTipguest blogger
Dec 28, 2015
Post comments count0
Post likes count0

PowerTip: How to Upload DSC File to Azure

Doctor Scripto

Summary: Use Azure PowerShell cmdlets to send a Desired State Configuration file to be used later by a virtual machine. How can I use Windows PowerShell to send a DSC file to be used later by a virtual machine? Use the Publish-AzureVMDscConfiguration cmdlet and specify the path to your DSC script.         &nb...

Windows PowerShellPowerTipguest blogger