Difference between revisions of "Office365 User Identity Management"
From DFWLPiki
(Created page with "Category:Windows ==Setting a User to have NonExpiring Password== [nowiki] Connect-MSOLService Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires Get-MSOLUser -...") |
|||
Line 6: | Line 6: | ||
Get-MSOLUser -UserPrincipalName alias | Select PasswordNeverExpires | Get-MSOLUser -UserPrincipalName alias | Select PasswordNeverExpires | ||
Set-MsolUser -UserPrincipalName alias -PasswordNeverExpires $true | Set-MsolUser -UserPrincipalName alias -PasswordNeverExpires $true | ||
+ | [/nowiki] |
Revision as of 17:04, 11 November 2019
Setting a User to have NonExpiring Password
[nowiki]
Connect-MSOLService Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires Get-MSOLUser -UserPrincipalName alias | Select PasswordNeverExpires Set-MsolUser -UserPrincipalName alias -PasswordNeverExpires $true [/nowiki]