ACLReportTools
ACLReportTools copied to clipboard
Compare-ACLReports -With Parameter
When trying to run the Compare-ACLReport cmdlet with the '-With' parameter I get the following.
Compare-ACLReports -Baseline (Import-ACLReport -Path C:\Temp\Temp.acl) -With (Import-ACLReport -Path C:\Temp\Temp.acl)
Compare-ACLReports : Cannot process argument transformation on parameter 'With'. Cannot convert value "ACLReportTools.Permission" to type "ACLReportTools.Permission". Error: "Cannot convert the "ACLReportTools.Permission" value of type
"Deserialized.ACLReportTools.Permission" to type "ACLReportTools.Permission"."
At line:1 char:78
+ ... ath C:\Temp\Temp.acl) -With (Import-ACLReport -Path C:\temp\Temp.acl)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Compare-ACLReports], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,Compare-ACLReports