The following command works in PowerShell:
.bcs.ps1 -sites a.com,b.guide,c.com
But produces an error when PowerShell is called from the command prompt. I removed the inner quotes and that doesn’t work either.
powershell -file .bcs.ps1 -sites "a.com","b.guide","c.com"
Any suggestions?