ACLReportTools icon indicating copy to clipboard operation
ACLReportTools copied to clipboard

Compare-ACLReports -With Parameter

Open jakemarston opened this issue 6 years ago • 0 comments

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

jakemarston avatar Mar 13 '19 21:03 jakemarston