Hi,I'm trying to call a number of XML SQL Management Policy files using a remote network path e.g.Invoke-PolicyEvaluation -TargetServer "instancename" -Policy "\\servername\policy.xml"This results in an XML error:[i]Invoke-PolicyEvaluation : File '.....' does not have a valid XML format that can be deserialized to a policy.[/i]When using a local path or a mapped path it works correctly e.g. Invoke-PolicyEvaluation -TargetServer "instancename" -Policy "C:\policy.xml"Can anyone explain this error. I really need to use a shared location for storing SQL policy files.Any feedback is appreciated.
↧