Showing results for August 2013 - Page 2 of 13 - Scripting Blog [archived]

Aug 29, 2013
0
0

Changes to TechNet Library Scripting Node

ScriptingGuy1
ScriptingGuy1

I wanted to make you aware of some changes we’re making to the Scripting node in the Microsoft TechNet Library.  Summary The Scripting node in the TechNet Library has been renamed Scripting with Windows PowerShell, and will contain Windows PowerShell language documentation and cmdlet help for multiple Microsoft products. Details Until ...

guest bloggerWindows PowerShell 3.0Dave Bishop
Aug 29, 2013
0
0

Automating DiskPart with Windows PowerShell: Part 4

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to build scripts to automate DiskPart.  Hey, Scripting Guy! Can we use Windows PowerShell to return information from DiskPart as an object? —SH  Hello SH, Honorary Scripting Guy, Sean Kearney, here. I’m filling in for our good friend, Ed Wilson. He’s got tie’s everywhere! Ties all ...

Scripting Guy!scripting techniquesguest blogger
Aug 28, 2013
0
0

PowerTip: Use PowerShell to Get a List of All Volumes

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to get a list of all volume drive letters and free space available.  How can I use Windows PowerShell to list all the drive letters and free space available?  Use Get-WMIObject and query win32_logicaldisk to show all drive letters including           network drives and CD ROMs: GET-...

Windows PowerShellPowerTipguest blogger
Aug 28, 2013
0
0

Automating DiskPart with Windows PowerShell: Part 3

Doctor Scripto
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
0
0

PowerTip: Show attached USB Drives with PowerShell

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

Windows PowerShellPowerTipguest blogger