Export Your Rules in Microsoft 365 to a CSV file
There are times I needed to export my rules to a human readable form. This comes very handy. If you haven’t installed the ExchangeOnline module, you can follow https://learn.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps
Open a Powershell window, then:
Get-InboxRule -Mailbox user1| Select-Object Name,Description,Enabled,RedirectTo, MoveToFolder,ForwardTo | Export-CSV C:\temp\RulesOutput.csv -NoTypeInformation -Append
This exports your rules to a CSV file in c:\temp
Posted on 15 May 2023
This can be handled in multiple ways. However, I like the one liner using WMI:
WMIC USERACCOUNT WHERE Name='username' SET PasswordExpires=FALSE
Change username to the account you need to set and you are good to go.
Posted on 03 May 2023
Sometimes, users will have issues with their print jobs. If this happens on a printer shared on a server, they will block rest of the users. A quick and simple fix is to stop the ...
Posted on 01 May 2023
You can do this easily with the https://admin.microsoft.com via Active Users. However, if you have especially multiple users to check Powershell comes very handy.
First install the Exchange Online module:
Once the module is installed, you ...
Leave a Reply