Content Classification of Files using Windows PowerShell Scripts

This post’ll illustrate how PowerShell scripts could be used to do file classification based on the contents of the file. The PowerShell classifier module provides the capability to read file contents to enable content classification. Each file, during classification, the pipeline input from FCI to the PowerShell classifier module’s PowerShell script consists of an IFsrmPropertyBag object. […]

This post’ll illustrate how PowerShell scripts could be used to do file classification based on the contents of the file. The PowerShell classifier module provides the capability to read file contents to enable content classification. Each file, during classification, the pipeline input from FCI to the PowerShell classifier module’s PowerShell script consists of an IFsrmPropertyBag object. The GetStream() method in the IFsrmPropertyBag object returns a standard PowerShell Stream object to read the contents of the file as raw byte streams. Thus the PowerShell host classifier module provides a simple way to do content classification of files using PowerShell scripts.

Full ArticleStorage team