ShackDaddy
MIS
Ok, I've been telling people that they should schedule an "ExportEdgeConfig.ps1" script to fire off every couple of weeks to capture changes to their environment and make sure that their edge is recoverable. But I can't get my script to work so far.
Here's what I've got right now:
And here's my output:
Can anyone provide a working version?
Dave Shackelford
ThirdTier.net
Here's what I've got right now:
Code:
powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\ExShell.psc1" -command ". 'C:\program files\Microsoft\Exchange Server\scripts\ExportEdgeConfig.ps1' '-CloneConfigdata:"C:\Edgedump.xml"'"
And here's my output:
C:\>powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\ExShell.psc1" -command ". 'C:\program files\Microsoft\Exchange Server\scripts\ExportEdgeConfig.ps1' '-CloneConfigdata:"C:\Edgedump.xml"'"Exporting Edge configuration information failed. Reason: Exception calling ".ctor" with "2" argument(s): "The given path's format is not supported."
Can anyone provide a working version?
Dave Shackelford
ThirdTier.net