Book Image

Mastering Windows PowerShell Scripting

By : Brenton J.W. Blawat
Book Image

Mastering Windows PowerShell Scripting

By: Brenton J.W. Blawat

Overview of this book

Table of Contents (22 chapters)
Mastering Windows PowerShell Scripting
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Viewing file and folder extended attributes


When you use the standard get-item and get-childitem cmdlets, you are able to see the default mode attributes for the files and folders that are available with FAT32 file systems. With the introduction of New Technology File System (NTFS), however, Microsoft extended the file and folder attributes to a much larger set. This was done to support additional features and technologies surrounding NTFS such as encryption and compression.

The list of new attributes includes:

  • Compressed: This attribute designates that the filesystem applied compression to the files or folders.

  • Encrypted: This attribute designates that the filesystem applied encryption to the files or folders.

  • Normal: This attribute, when assigned, clears the other attributes to make the files to have only the NotContentIndexed attribute and folders to have the NotContentIndexed and Directory attributes.

  • NotContentIndexed: This attribute designates that the filesystem should include the...