Scheduled SysAdmin Tasks
Email WFA
At line:351 char:52 + Write-Output "Updated rule for $MailUser: $forwar ... + ~~~~~~~~~~ Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name. At line:363 char:70 + ... ite-Output "Invalid format in CustomAttribute3 for $MailUser: $rule. ... + ~~~~~~~~~~ Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name. At line:382 char:1 + } + ~ Unexpected token '}' in expression or statement.
At line:258 char:60 + ... Write-Output "Updated CustomAttribute2 for $MailUser: $primar ... + ~~~~~~~~~~ Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name. At line:295 char:58 + ... Write-Output "Updated $attributeName for $MailUser: $forwar ... + ~~~~~~~~~~ Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name. At line:308 char:64 + ... Write-Output "Invalid format in $attributeName for $MailUser: $ruleDe ... + ~~~~~~~~~~ Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name.