JustinGrote / JustinGrote/Scripts
ToStringArray() method does not exist
- Dominant language
- PowerShell
- Stars
- 34
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Sync local changes to Exchange Online
The following local mail public folder changes were detected and will be applied to Exchange Online: 233 object(s)
created, 0 updated and 0 deleted. Do you really want to proceed?
[N] No [Y] Yes [?] Help (default is "N"): Y
Method invocation failed because [System.String] does not contain a method named 'ToStringArray'.
At C:\Temp\Sync-MailPublicFolders.ps1:208 char:5
+ $emailAddressesArray = $localFolder.EmailAddresses.ToStringArray( ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.