Tip of the Day: More on Alternate Data Streams

Today’s Tip…

Using Windows PowerShell 4.0, you can manipulate alternate data streams.

Get-Item can be used to display any data streams.

clip_image001

The first stream is the primary and the one called ‘Test’ is an alternate data stream.

I created that stream using Add-Content.

clip_image002

And I can get the contents of that stream using Get-Content.

clip_image003

This works the same whether you are using NTFS or ReFS as long as you are using Windows Server 2012 R2.  Any earlier and ReFS will not support alternate data streams.