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?

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 code. This can be set for synced users as well as managed users.
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 on where the client resides.
Active Directory Federation Services (AD FS) 2.0 provides a way for organizations to configure these
types of 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.

Limiting Access to Office 365 Services Based on the Location of the Client
https://technet.microsoft.com/en-us/library/hh526961(v=ws.10).aspx

Set-MsolUser
https://msdn.microsoft.com/en-us/library/azure/dn194136.aspx

3 Comments on “Which Windows PowerShell cmdlet should you run?

  1. I do believe all of the ideas you’ve offered in your post. They are really convincing and will definitely work. Still, the posts are very short for starters. May just you please extend them a little from subsequent time? Thank you for the post.|




    0



    0

Leave a Reply