RE: help with powershell script please
hi i need help with a powershell script to get all the calendar permissions that a particular user has its an on prem exchange. This is my code so far. I need access rights, identity and user i need this data exported to a csv. It would be good if i could set the para to also be for a few users that im after.
Get-Mailbox | ForEach-Object { Get-MailboxFolderPermission (($_.PrimarySmtpAddress.ToString())+”:Calendar”) -User -ErrorAction SilentlyContinue} | select-object -property @{Label=’Identity,User,AccessRights’; expression={$_.accessrights -join ‘;’}} |Export-CSV -Path C:Tempuser.csv -NoTypeInformation
then was told to add this via reddit :-
select-object -property @{Label=’AccessRights’; expression={$_.accessrights -join ‘;’}
unfortunately they arent very helpful or willing to which i find is rude so im turning to this community. I just want the script i need it today please I have not got time to go backwards and forwards with different things its not hard someone must know how to format what i want. I will work out later with learning more of scripting. Right now im on a time contra
hi i need help with a powershell script to get all the calendar permissions that a particular user has its an on prem exchange. This is my code so far. I need access rights, identity and user i need this data exported to a csv. It would be good if i could set the para to also be for a few users that im after. Get-Mailbox | ForEach-Object { Get-MailboxFolderPermission (($_.PrimarySmtpAddress.ToString())+”:Calendar”) -User -ErrorAction SilentlyContinue} | select-object -property @{Label=’Identity,User,AccessRights’; expression={$_.accessrights -join ‘;’}} |Export-CSV -Path C:Tempuser.csv -NoTypeInformation then was told to add this via reddit :- select-object -property @{Label=’AccessRights’; expression={$_.accessrights -join ‘;’} unfortunately they arent very helpful or willing to which i find is rude so im turning to this community. I just want the script i need it today please I have not got time to go backwards and forwards with different things its not hard someone must know how to format what i want. I will work out later with learning more of scripting. Right now im on a time contra Read More