directorcia / Office365

Office 365 scripts and information
449 stars 237 forks source link

Update for Az module for PS7 #17

Open LazerPanth3r opened 2 years ago

LazerPanth3r commented 2 years ago

Simple update can be made to the script to make it work in PS7 with EXO 2 and AZ module

Get/Set AzureAD User can be replaced with Get-AzAdUser and Update-AzADUser -ObjectID $mailbox.userprincipalname -EnableAccount $false

directorcia commented 2 years ago

Which script are we talking about exactly?