Showing results for April 2015 - Page 8 of 13 - Scripting Blog [archived]

Apr 13, 2015
0
0

PowerTip: Use PowerShell to Find File or Folder

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to find a file or a folder.  How can I use Windows PowerShell to determine if a variable contains a path that leads to a file or folder?  Use the Test-Path cmdlet to test the path stored in the variable, and then specify the PathType parameter,        &nb...

Scripting Guy!Windows PowerShellscripting techniques
Apr 13, 2015
0
0

Working with Volumes in CIM

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about working with volumes with Windows PowerShell and CIM.  Hey, Scripting Guy! I don’t understand CIM at all. I mean, I thought it was basically WMI, but when I use WMI to look at volumes, I see different stuff. Can you help me? —AB  Hello AB, Microsoft Scripting Guy, Ed Wil...

Scripting Guy!Windows PowerShellscripting techniques
Apr 12, 2015
0
0

PowerTip: Use PowerShell to Find Files in Wrong Folder

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to easily find files that are in the wrong folder.  I have a folder for documents and another folder for images. But at times, I discover images in the            documents folder. How can I use Windows PowerShell to easily detect this situation?  Use the Test-Path cm...

Scripting Guy!Windows PowerShellPowerTip
Apr 12, 2015
0
0

Weekend Scripter: Use PowerShell to Work with Embedded Objects

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to work with embedded objects. Microsoft Scripting Guy, Ed Wilson, is here. This morning I have my Zune 1.0 cranked up, and I am listening to some tunes. I have a nice cup of English Breakfast tea, and a warm croissant beside me. I also was able to score some homemade...

Scripting Guy!Windows PowerShellscripting techniques
Apr 11, 2015
0
0

PowerTip: Find Stats with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find stats of objects.  How can I use Windows PowerShell to see the minimum, maximum, and average values of a            specific property in a series of objects?  Pipe the objects to the Measure-Object cmdlet, specify the property you seek, and use     &...

Scripting Guy!Windows PowerShellscripting techniques