365 Exchange
3 TopicsSetting Calendar access rights
Hey everyone! first time posting. Been quite a few years since I did any kind of scripting in Powershell, and im hoping I could get some assistance from this amazing community! heres what I need the script to accomplish: 1.) 2 execs can "view all details" on every employees calendar (with the exception of appointments marked as private) 2.) HR person can "view all details" on everyones Calendar (with the exception of the two execs and any appointment marked as private) 3.) Managers get "Can view titles and locations" based on who reports to them (I've already set the Manager fields in the exchange admin center) 4.) Everyone else gets "can view when im busy". Though of course they can see fulldetails when they are in the same meeting together. again its been so long since I've scripted so any direction or assistance would be greatly appreciated! Cheers,1KViews0likes2CommentsNewbie question about Set-CalendarProcessing
I am trying to run the following command to change my Teams Room Display Panel to show the Meeting Subject, not the organizer name. I have Microsoft 365 with Exchange online, not on premise. Set-CalendarProcessing -Identity email address removed for privacy reasons -DeleteSubject $False -AddOrganizerToSubject $False But I get this error ... Set-CalendarProcessing : The term 'Set-CalendarProcessing' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\administrator.YRSD\Documents\scripts\Teams-Panel-Display.ps1:3 char:1 + Set-CalendarProcessing -Identity email address removed for privacy reasons -D ... + ~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Set-CalendarProcessing:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException I have tried importing the following modules ... Import-Module ExchangeOnlineManagement Import-Module MSOnline But I still get the same error. I am trying to run this Powershell session on a local machine with admin privilege's. What do I need to do to get this command to run?5.3KViews0likes2CommentsExport 365 Users last logon time using powershell
I have created a PowerShell command that is supposed to export every users last logon time that is greater than 1 day. But it continues to create a blank document. Below is the command. Get-Mailbox -RecipientType 'UserMailbox' |%{ Get-MailboxStatistics $_.UserPrincipalName | Sort-Object LastLogonTime | Where {$_.LastLogonTime -lt ([System.DateTime]::Now).AddDays(-1) } | Export-Csv "C:\Logs\O365MAILBOXSTATS_REPORT1.CSV" -NoTypeInformation -Append}13KViews0likes2Comments