type Deserialized.Microsoft.Security.ApplicationId.PolicyManagement.PolicyModel.FileInformation cannot be converted to Microsoft.Security.ApplicationId.PolicyManagement.PolicyModel.FileInformation
Strange behavior when trying to create more then one rule type
When using the example from the documentation in PS7 it doesn't return anything.
The above will not return anything. Calling Get-AppLockerFileInformation twice; Once with FileType script and once with FileType exe will return the correct values for scripts and executables respectively.
There are a few problems when using the
AppLocker
module in PS7.Type Problem
fails. After trying it in another way
the error is:
type
Deserialized.Microsoft.Security.ApplicationId.PolicyManagement.PolicyModel.FileInformation
cannot be converted toMicrosoft.Security.ApplicationId.PolicyManagement.PolicyModel.FileInformation
Strange behavior when trying to create more then one rule type
When using the example from the documentation in PS7 it doesn't return anything.
The above will not return anything. Calling
Get-AppLockerFileInformation
twice; Once withFileType
script and once withFileType
exe will return the correct values for scripts and executables respectively.I'm not sure why this is.
Powershell version information
\$PSVersionTable | Format-MarkdownTableListStyle