Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Use PowerShell 3.0 to Identify Zone Information of Files

$
0
0

Summary: Learn how to use Windows PowerShell 3.0 to identify the zone information of files in a folder.

Hey, Scripting Guy! Question  How can I use Windows PowerShell 3.0 to see which files in a folder have a Zone.Identifier alternate data stream so I can find files that came from the Internet?

Hey, Scripting Guy! Answer Use the Get-Item cmdlet, specify the path for the files, and specify the Zone.Identifier name for the Stream parameter:

 Get-Item c:\fso\* -Stream zone*

Note   The –Stream parameter accepts wildcard characters, so you do not have to type the entire Zone.Identifier string.


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>