Showing tag results for Sean Kearney

Aug 28, 2013
Post comments count0
Post likes count0

Automating DiskPart with Windows PowerShell: Part 3

Doctor Scripto

Summary: Honorary Scripting Guy, Sean Kearney, continues his series about using Windows PowerShell to build scripts to automate DiskPart.  Hey, Scripting Guy! I saw yesterday how you could pull information from DISKPART with Windows PowerShell. I noticed the size of the disks was shown in GB or MB. Is there any way to convert that to tell the ...

Scripting Guy!scripting techniquesguest blogger
Aug 27, 2013
Post comments count0
Post likes count0

PowerTip: Show attached USB Drives with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to show attached USB drives.  Is there an easy way with Windows PowerShell to show all drives that are connected via USB? Use Get-WMIObject and query win32_diskdrive: GET-WMIOBJECT win32_diskdrive | Where { $_.InterfaceType –eq ‘USB’ } Or... Write this as a query and pass it directly to WMI: GE...

Windows PowerShellPowerTipguest blogger
Aug 27, 2013
Post comments count0
Post likes count0

Automating DiskPart with Windows PowerShell: Part 2

Doctor Scripto

Summary: Honorary Scripting Guy, Sean Kearney, continues his series about using Windows Powershell to build scripts to automate DiskPart.  Hey, Scripting Guy! I saw yesterday that you can use Windows PowerShell to build a small script for DiskPart, but how can I make the information useful? —SH  Hello SH, Honorary Scripting Guy, Sea...

Scripting Guy!scripting techniquesguest blogger
Aug 26, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Automate Commands with DiskPart

Doctor Scripto

Summary: Learn how to easily automate commands by using DiskPart.exe.  How can I use Windows PowerShell to automatically run DiskPart.exe commands that I use to make bootable keys?  Store the commands you use in DiskPart.exe in a text file (runme.txt in this example), and run them automatically by adding the /s parameter: DISKPART.EXE /s ...

Windows PowerShellPowerTipguest blogger
Aug 26, 2013
Post comments count0
Post likes count0

Automating DiskPart with Windows PowerShell: Part 1

Doctor Scripto

Summary: Honorary Scripting Guy, Sean Kearney, talks about using Windows Powershell to build scripts to automate DiskPart.  Hey, Scripting Guy! I know I can create a bootable USB key by using DiskPart, but is there any way to have it automated so the computer does the work for me? —SH  Hello SH, Honorary Scripting Guy, Sean Kearney,...

Scripting Guy!scripting techniquesguest blogger