Showing archive results for September 2014

Sep 10, 2014
Post comments count0
Post likes count1

PowerTip: Find Value from PowerShell Hash Table

Doctor Scripto

Summary: Look up values from a Windows PowerShell hash table.  How can I look up a specific value that is associated with a specific key in a Windows PowerShell hash table?  Use the Item method and supply the key, for example: $hash = @{    2 = "Removable disk"    3="Fixed local disk" &nbs...

Scripting Guy!Windows PowerShellPowerTip
Sep 10, 2014
Post comments count0
Post likes count0

Inventory Drive Types by Using PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to detect drive types.  Hey, Scripting Guy! We have a number of workstations in our network. Many of the users bring USB keys from home to transfer their files. Others have large external USB drives attached to their machines, and others have portable CD/DVD devi...

Scripting Guy!Windows PowerShellscripting techniques
Sep 9, 2014
Post comments count0
Post likes count1

PowerTip: Find WMI Classes by Using PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to find WMI classes.  I am searching for a WMI class to help me find information about Windows startup configuration.            I am unsure of the class name. How can I use Windows PowerShell to help me find the class (assuming it exists)?  Use the Get-CimClass CIM c...

Scripting Guy!Windows PowerShellPowerTip
Sep 9, 2014
Post comments count0
Post likes count2

Use PowerShell to Provide Startup Information

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find startup information.  Hey, Scripting Guy! It seems that my laptop running Windows 8.1 takes forever to start lately. I don’t really even know where to begin with this. I haven’t added anything that I know of, but still it is dog slow. I d...

Scripting Guy!Windows PowerShellscripting techniques
Sep 8, 2014
Post comments count0
Post likes count0

PowerTip: Use Tab to Complete WMI Class Names

Doctor Scripto

Summary: Use Tab completion to type WMI class names in Windows PowerShell.  I am using WMI in the Windows PowerShell console and in the Windows PowerShell ISE, and I am having a hard time            correctly typing the long convoluted class names. How can I simplify the process and be more accurate? Use the ...

Scripting Guy!Windows PowerShellPowerTip