moin
$Guid = $Mailbox.Guid + ":\Kalender" $Perms = Get-MailboxFolderPermission $Guid
laut Hilfe könnte ich diese Properties übergeben. Mit Alias funktioniert es. Warum mit GUID nicht? Liegt das daran, das ich es mittels Remote Session abrufe?
The Identity parameter specifies the mailbox folder that you want to view. This parameter uses the syntax: <Mailbox>:\<Folder>. For the value of <Mailbox>, you can use any value that uniquely identifies the mailbox.
For example:
Name
Display name
Alias
Distinguished name (DN)
Canonical DN
<domain name>\<account name>
Email address
GUID
LegacyExchangeDN
SamAccountName
User ID or user principal name (UPN)
Method invocation failed because [System.Guid] does not contain a method named 'op_Addition'.
At KalenderDefaultPermission.ps1:6 char:1
+ $Guid = $Mailbox.Guid + ":\Kalender"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (op_Addition:String) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
Chris