Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Read NTFS File System Stream with PowerShell

$
0
0

Summary: Use Windows PowerShell to read a specific NTFS file system stream.

Hey, Scripting Guy! Question How can I use Windows PowerShell to read a specific NTFS file system stream?

Hey, Scripting Guy! Answer Use the Get-Content cmdlet and specify the name of the file and the name of the stream.
           This example reads a stream named Data:

Get-Content C:\fso\AnEmptyFile.txt -Stream data


Viewing all articles
Browse latest Browse all 3333

Trending Articles