PowerTip: Use PowerShell to Obtain Disk Image Info

Summary: Use Windows PowerShell to find basic disk image information.

Hey, Scripting Guy! Question How can I find basic information about the disk images on my Windows 8-based computer?

Hey, Scripting Guy! Answer Use Get-ChildItem to find all of the *.iso files in your directory, pipe the results to Foreach-Object,
          then call Get-DiskImage in the script block, and pass the FullName from the FileInfo object:

Get-ChildItem -Filter *.iso -Recurse | foreach { Get-DiskImage -ImagePath $_.fullname }

Comments (0)