Which Windows PowerShell cmdlet should you run?

You are the Office 365 administrator for your company. A user named User1 from a partner
organization is permitted to sign in and use the Office 365 services.
User1 reports that the password expires in ten days. You must set the password to never expire.
Changes must NOT impact any other accounts.
You need to update the password policy for the user.
Which Windows PowerShell cmdlet should you run?

You are the Office 365 administrator for your company. A user named User1 from a partner
organization is permitted to sign in and use the Office 365 services.
User1 reports that the password expires in ten days. You must set the password to never expire.
Changes must NOT impact any other accounts.
You need to update the password policy for the user.
Which Windows PowerShell cmdlet should you run?

A.
Set-MsolPasswordPolicy

B.
Set-MsolPartnerlnformation

C.
Set-MsolUser

D.
Set-MsolUserPassword

Explanation:
http://onlinehelp.microsoft.com/en-ca/office365-enterprises/hh534387.aspx



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Juan Z

Juan Z

https://msdn.microsoft.com/en-us/library/azure/dn194136(v=azure.98).aspx

The Set-MsolUser cmdlet is used to update a user object. This cmdlet should be used for basic properties only. The licenses, password, and User Principal Name for a user can be updated through the Set-MsolUserLicense, Set-MsolUserPassword, and Set-MsolUserPrincipalName cmdlets respectively.

-PasswordNeverExpires
Sets whether or not the user’s password will expire periodically.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

made a post

made a post

Wonderful goods from you, man. I’ve keep in mind your stuff prior to and you are simply extremely fantastic. I actually like what you have got here, certainly like what you are stating and the way in which you assert it. You are making it entertaining and you continue to care for to stay it smart. I can not wait to learn much more from you. That is actually a great web site.|