Showing results for Windows PowerShell - Scripting Blog [archived]

Oct 1, 2015
Post comments count0
Post likes count0

Use PowerShell to Create Windows To Go Keys—Part 4

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to inject drivers and populate the data for Unattend.xml. Hey, Scripting Guy! I have a Windows To Go key. Is there a script to automatically give the key a proper workstation name or possibly even add some additional drivers?—TG Hello TG,Honorary Scripting Guy, Sean Kearney, is here, and the magical a...

Windows PowerShellguest bloggerSean Kearney
Sep 30, 2015
Post comments count0
Post likes count0

PowerTip: Launch Console Command Embedded in Powershell Variable

Doctor Scripto
Doctor Scripto

Summary: Use a variable to launch a Windows PowerShell cmdlet and maintain the value of $LastExitCode.  How can I use Windows PowerShell to launch a variable that contains the path to a console application            while retaining the error code?  Use the & character before the content in...

Windows PowerShellPowerTipguest blogger
Sep 30, 2015
Post comments count0
Post likes count0

Use PowerShell to Create Windows To Go Keys—Part 3

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to apply an image to a Windows To Go key and make it bootable. Hey, Scripting Guy! Now that I have a Windows To Go key partitioned and formatted for use, how do I apply the operating system image to it?—MR Hello MR,Honorary Scripting Guy, Sean Kearney, is here to continue forth and show you the next s...

Windows PowerShellguest bloggerSean Kearney
Sep 29, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Where Drive Letter is Stored

Doctor Scripto
Doctor Scripto

Summary: Use the Get-Partition and Get-Disk cmdlets to identify data storage locations.  How can I use Windows PowerShell to easily figure out which disk a particular drive letter is on?  Use Get-Partition with the drive letter and pipe the results to Get-Disk, for example: Get-Partition –DriveLett...

Windows PowerShellPowerTipguest blogger
Sep 29, 2015
Post comments count0
Post likes count0

Use PowerShell to Create Windows To Go Keys—Part 2

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to partition a Windows To Go device. Hey, Scripting Guy! Am I able to use Windows PowerShell to set up the necessary partitions to prepare a Window To Go key?—LL Hello LL,Honorary Scripting Guy, Sean Kearney, is here. I'm continuing with my little chat about setting up Windows To Go keys through Windo...

Windows PowerShellguest bloggerSean Kearney