Exchange Online Cmdlets
3 TopicsSet historic calendar entries for a specific user to private
Hi all. To improve engagement and to make organising meetings easier, I'd like to automatically set everyone's calendar so that everyone else in the organisation can see the title & location of appointments / meetings. For this I'm going to use the following Exchange Online PowerShell script: Get-Mailbox | ForEach-Object {Set-MailboxFolderPermission $_”:\calendar” -User Default -AccessRights LimitedDetails} However, before I do this, I'd like to offer individuals who have a lot of sensitive meetings (e.g. HR, Finance, Exec's) the option to set all their historic calendar entries to Private (so only invitees would be able to see any details). Is it possible to do this with PowerShell please? It's easy to set their whole calendar to Private, but I'd just like to set historic calendar entries with this tag. Hope you can help, and thank you.1.6KViews1like2CommentsCant call 'Get-SecOpsOverridePolicy' after successfully authentication to Exchange online
I have the following issue after my code has been working without issues for a long time in production. Nothing new has been installed lately. After successfully connecting to Exchange Online using PowerShell and trying to get the SecOpsOverridePolicy. Get-SecOpsOverridePolicy -Identity "SecOpsOverridePolicy" I get the following error. Get-SecOpsOverridePolicy: The term 'Get-SecOpsOverridePolicy' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. I connect to the system using (as admin) as follows $connData = @{ ConnectionUri = "https://ps.compliance.protection.outlook.com/PowerShell-LiveId" AzureADAuthorizationEndpointUri = "https://login.microsoftonline.com/organizations" AccessToken = "SECRET123" Organization = "myorg.onmicrosoft.com" } Connect-ExchangeOnline @connData What puzzles me is that I can see that ExchangeOnlineManagement (tried both version 3.4.0 and 3.5.0) doesn't include the cmdlet above Get-Command -Module ExchangeOnlineManagement CommandType Name Version Source ----------- ---- ------- ------ Function Connect-ExchangeOnline 3.5.0 ExchangeOnlineManagement Function Connect-IPPSSession 3.5.0 ExchangeOnlineManagement Function Disconnect-ExchangeOnline 3.5.0 ExchangeOnlineManagement Function Get-WrappedCommand 3.5.0 ExchangeOnlineManagement Function IsCloudShellEnvironment 3.5.0 ExchangeOnlineManagement Function UpdateImplicitRemotingHandler 3.5.0 ExchangeOnlineManagement Cmdlet Add-VivaModuleFeaturePolicy 3.5.0 ExchangeOnlineManagement Cmdlet Get-ConnectionInformation 3.5.0 ExchangeOnlineManagement Cmdlet Get-DefaultTenantBriefingConfig 3.5.0 ExchangeOnlineManagement Cmdlet Get-DefaultTenantMyAnalyticsFeatureConfig 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXOCasMailbox 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXOMailbox 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXOMailboxFolderPermission 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXOMailboxFolderStatistics 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXOMailboxPermission 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXOMailboxStatistics 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXOMobileDeviceStatistics 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXORecipient 3.5.0 ExchangeOnlineManagement Cmdlet Get-EXORecipientPermission 3.5.0 ExchangeOnlineManagement Cmdlet Get-MyAnalyticsFeatureConfig 3.5.0 ExchangeOnlineManagement Cmdlet Get-UserBriefingConfig 3.5.0 ExchangeOnlineManagement Cmdlet Get-VivaFeatureCategory 3.5.0 ExchangeOnlineManagement Cmdlet Get-VivaInsightsSettings 3.5.0 ExchangeOnlineManagement Cmdlet Get-VivaModuleFeature 3.5.0 ExchangeOnlineManagement Cmdlet Get-VivaModuleFeatureEnablement 3.5.0 ExchangeOnlineManagement Cmdlet Get-VivaModuleFeaturePolicy 3.5.0 ExchangeOnlineManagement Cmdlet Remove-VivaModuleFeaturePolicy 3.5.0 ExchangeOnlineManagement Cmdlet Set-DefaultTenantBriefingConfig 3.5.0 ExchangeOnlineManagement Cmdlet Set-DefaultTenantMyAnalyticsFeatureConfig 3.5.0 ExchangeOnlineManagement Cmdlet Set-MyAnalyticsFeatureConfig 3.5.0 ExchangeOnlineManagement Cmdlet Set-UserBriefingConfig 3.5.0 ExchangeOnlineManagement Cmdlet Set-VivaInsightsSettings 3.5.0 ExchangeOnlineManagement Cmdlet Update-VivaModuleFeaturePolicy 3.5.0 ExchangeOnlineManagement Environment info: PSVersion: [7.4.1] PSEdition: [Core] OS: [Amazon Linux 2023.3.20240304] Platform: [Unix] PSRemotingProtocolVersion: [2.3] SerializationVersion: [1.1.0.1] ExchangeOnlineManagement: [3.4.0] I made sure that application against which token has been issued has Security Administrator & Exchange Administrator assignments as well as Exchange.ManageAsApp permission. I also double-checked that ExchangePowerShell module is installed. Install-Module -Name ExchangePowerShell -Scope CurrentUser -Force Get-Module -ListAvailable Directory: /Users/hraman/.local/share/powershell/Modules ModuleType Version PreRelease Name PSEdition ExportedCommands ---------- ------- ---------- ---- --------- ---------------- ... Script 3.5.0 ExchangeOnlineManagement Desk {Add-VivaModuleFeaturePolicy, Get-ConnectionInformation, Get-DefaultTenantBriefingConfig, Get-DefaultTenantMyAnalyti… Script 3.4.0 ExchangeOnlineManagement Desk {Add-VivaModuleFeaturePolicy, Get-ConnectionInformation, Get-DefaultTenantBriefingConfig, Get-DefaultTenantMyAnalyti… Script 0.11.0 ExchangePowerShell Desk {Clear-EPAutoMapping, Clear-EPExchangeLogs, Convert-EPIMCEAEXtoX500, Get-EPMaintenanceMode…} Get-Command -Module ExchangePowerShell543Views0likes4CommentsGet the all info for "Additional Information" attributes for all meeting rooms using PowerShell
Hi Tech Folks, I am trying to get the info audio, video, display, tags, etc. which is located under each meeting room or basically a resource which the type is Room. Exchange Admin Center --> Resources --> Select Any Meeting Room (TYPE:ROOM) --> Additional Information I used this command which is working fine and reveals everything about the room and its properties , but NOT those above info I m looking for: Get-Mailbox -Filter '(RecipientTypeDetails -eq "RoomMailBox")' | Select * | Format-list How can I get those Additional Attributes by PS command? Any thoughts? Thanks for your inputsSolved2.7KViews0likes1Comment