JustinGrote / JustinGrote/Scripts

ToStringArray() method does not exist

Open
#3 0 comments 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.