Added Files

This commit is contained in:
DistractADD
2021-07-06 13:16:46 +10:00
parent f2475a3bdd
commit cfddd4fad2
393 changed files with 65842 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Delete a user and then delete the deleted user
Import-Module MSOnline
Connect-MsolService
$upnToDelete = Read-Host -Prompt 'Enter UPN of user to delete in the format username@domain'
Remove-MsolUser -UserPrincipalName $upnToDelete
Remove-MsolUser -UserPrincipalName $upnToDelete -RemoveFromRecycleBin