Showing archive results for February 2014

Feb 6, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Count Photos

Doctor Scripto

Summary: Learn to use Windows PowerShell to count the number of photographs you have on your computer.  How can I use Windows PowerShell to count all the photographs I have on a specific drive?  Use the Get-ChildItem cmdlet to find all of the photos, and then pipe the results to the           Measur...

Scripting Guy!Windows PowerShellPowerTip
Feb 6, 2014
Post comments count1
Post likes count0

Use PowerShell to Find Metadata from Photograph Files

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to obtain metadata from photo files.  Hey, Scripting Guy! I need some help. I have thousands of photo files on my computer. I need to bring some order to them. I know that I can use Get-ChildItem from Windows PowerShell, and I can find the size of files and names...

Scripting Guy!Windows PowerShellscripting techniques
Feb 5, 2014
Post comments count0
Post likes count0

PowerTip: Get a Directory Listing of Multiple Folders

Doctor Scripto

Summary:  Learn how to get a directory listing of multiple folders.  How can I use Windows PowerShell to look at the contents of multiple folders at once?  Use the Get-ChildItem cmdlet, and specify more than one folder for the path, for example: Get-ChildItem –path c:\fso,c:\music  

Scripting Guy!Windows PowerShellPowerTip
Feb 5, 2014
Post comments count0
Post likes count1

List Music File Metadata in a CSV and Open in Excel with PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shares a function that gets file metadata, and then he writes the information to a CSV file.  Hey, Scripting Guy! Getting basic file properties such as the file name, the size of a file, and the directory that a file resides in is pretty cool. But when I go into a folder that contains music files, I see...

Scripting Guy!Windows PowerShellscripting techniques
Feb 4, 2014
Post comments count0
Post likes count0

PowerTip: Create a CSV File in PowerShell

Doctor Scripto

Summary: Learn how to easily create a CSV file in Windows PowerShell.  How can I create a CSV file so I can open data that I output to the Windows PowerShell console to manipulate it in Microsoft Excel?  Pipe the data to the Export-CSV cmdlet and use the –NoTypeInformation switch, for example: Get-Process | Selec...

Scripting Guy!Windows PowerShellPowerTip