I'm trying to run:
```
Sync-MailPublicFolders.ps1 -Credential (Get-Credential) -CsvSummaryFile "sync_summary.csv"
```
from https://docs.microsoft.com/en-us/exchange/collaboration-exo/public-folders/set-up-legacy-hybrid-public-folders , in Windows Server 2008 R2 (which doesn't appear to have Powershell ISE).
Without the backticks I get errors such as:
WARNING: Property expression "<public folder name>" isn't valid. Valid values are: Strings formed with characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } or ~.
One or more periods may be embedded in an alias, but each period should be preceded and followed by at least one of the other characters. Unicode characters from U+00A1 to U+00FF are also valid in an alias, but they will be mapped to a best-fit US-ASCII string in the e-mail address, which is generated from such an alias.
With it in the form below (won't run without .\
), I also get the same errors.
```.\Sync-MailPublicFolders.ps1 -Credential (Get-Credential) -CsvSummaryFile "sync_summary.csv"```
... both runs with errors I suspect is due to the backticks that are supposed to escape the spaces in the Public Folder names, but happy to be wrong about their purpose.
If the backticks are necessary, how does one use them?