Advanced Application Block techniques in OneView use file information such as file properties, file hash values, and file sizes to create block rules. These assist the rules in determining the correct files to block once identified with the correct characteristics. To obtain file information, see the options below.
Run the following command in PowerShell to retrieve the file properties:
(Get-Item "<path to file>").VersionInfo | Format-List
The MD5, SHA1, or SHA256 hash can be obtained from a file using PowerShell. Run the following command to retrieve the hash:
Get-FileHash "path to file" -Algorithm <MD5|SHA1|SHA256> | Format-List
Run the following command in PowerShell to get the file size in the number of bytes:
(Get-Item "<path to file>").Length
Run the following command in PowerShell to get the certificate properties:
Get-AuthenticodeSignature "<file path>" | Format-List
Return to Application Block.