PrepAway - Latest Free Exam Questions & Answers

Which Windows PowerShell cmdlet should you run?

A company has an Office 365 tenant that has an Enterprise E1 subscription. The company has offices in several different countries.
You need to restrict Office 365 services for existing users by location.
Which Windows PowerShell cmdlet should you run? code. This can be set for synced users as well as managed users. on where the client resides. policies. Office 365 customers using Single Sign-On (SSO) who require these policies can now use client access policy rules to restrict access based on the location of the computer or device that is making the request. Customers using Microsoft Online Services cloud User IDs cannot implement these restrictions at this time.

PrepAway - Latest Free Exam Questions & Answers

A.
Set-MsolUser

B.
Redo-MsolProvisionUser

C.
Set-MsolUserLicense

D.
Set-MsolUserPrincipalName

E.
Convert-MsolFederatedUser

F.
Set-MailUser

G.
Set-LinkedUser

H.
New-MsolUser

Explanation:

The Set-MsolUser cmdlet is used to update a user object.
Example: The following command sets the location (country) of this user. The country must be a two-letter ISO
Set-MsolUser -UserPrincipalName user@contoso.com -UsageLocation “CA”
Note:
Some organizations may want to create policies that limit access to Microsoft Office 365 services, depending
Active Directory Federation Services (AD FS) 2.0 provides a way for organizations to configure these types of


Leave a Reply