Wednesday, April 4, 2018

Azure: powershell one liner to set one user account password to never expire.

Install-Module -Name MSOnline
Connect-MsolService
$username = "username"
(get-msoluser -UserPrincipalName  $username | select -expand objectID).guid | %{Set-MsolUser -ObjectId $_ -PasswordNeverExpires $true}

1 comment:

  1. Casino-Gambling in the Philippines - DrmCD
    How much are slots? The casino is 남양주 출장안마 in the Gambling Industry and with more casinos 삼척 출장안마 popping 천안 출장마사지 up every year. Here 고양 출장안마 is our top 제주도 출장마사지 5 casino sites.

    ReplyDelete