I'm getting the below error when I'm running the script. I got Exchange2010.
Any advice appreciated.
Add : You cannot call a method on a null-valued expression.
At C:\PFScripts\SourceSideValidations.ps1:246 char:27
+ $errorList.Add <<<< ("this folder " + $ipmFolder.Identity + " permission needs to be removed for user " + $perm.User) > $null
+ CategoryInfo : InvalidOperation: (Add:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Add : You cannot call a method on a null-valued expression.
At C:\PFScripts\SourceSideValidations.ps1:483 char:16
+ $errorList.Add <<<< ("Found no errors... ") > $null
+ CategoryInfo : InvalidOperation: (Add:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull