Forum Discussion
garymansell
Jun 03, 2021Copper Contributor
WAC 2103 Export-Connection gives error
I get an error when trying to export my server list connections - any ideas? I have a lot of servers entered - I would feel a lot more comfortable with a backup of them... PS C:\Users\grma> Import...
- AnonymousJun 10, 2021
try these commands,
Invoke-WebRequest "https://localhost:6516"
Export-Connection "https://localhost:6516" -fileName "WAC-connections.csv"
garymansell
Jun 10, 2021Copper Contributor
Deleted
Anonymous
Jun 10, 2021
if the response code does not equal 200, it will response "Failed to get the connections" to you,
so, please run "Invoke-WebRequest "https://localhost" -Verbose" to get http response code.
- garymansellJun 10, 2021Copper ContributorPerfect - putting the port number fixed it, thanks so much for your help.
- AnonymousJun 10, 2021
try these commands,
Invoke-WebRequest "https://localhost:6516"
Export-Connection "https://localhost:6516" -fileName "WAC-connections.csv" - garymansellJun 10, 2021Copper Contributor
Deleted
I can access the Admin center via browser and I have temporarily disabled the windows firewall.
This is the error: