Hello.
I get this error:
"Command execution stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot process xml from 'Output' stream of 'C:\Windows\Sysnative\WindowsPowerShell\v1.0\powershell.exe': '', hexadecimal value 0x15, is an invalid character. Line 1, position 22246."
When I try to run Add-MailboxFolderPermission.
My script is:
If i remove the commend : "$ErrorActionPreference ="Stop"" The runbook stuck as running and when I stop it manually the script running successfully.
Any idea someone?
Thanks!