Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $credential = Get-Credential
- Import-Module MsOnline
- Connect-MSolService -Credential $credential
- $NewPassword = Read-Host -Prompt "What is the new Password you would like to use?"
- $Tenants = Get-MsolPartnerContract -All
- $ClientDomains = $Tenants | foreach {$Domains = $_.TenantId; Get-MsolDomain -TenantId $Domains | Where-Object {($_.Status -eq "Verified") -and ($_.Name -notlike "*.onmicrosoft.com")}} | sort name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement