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

One Comment on “Which Windows PowerShell cmdlet should you run?

  1. Undeniably believe that which you stated. Your favorite justification appeared to be on the web the easiest thing to be aware of. I say to you, I certainly get irked while people consider worries that they plainly do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people could take a signal. Will likely be back to get more. Thanks|




    0



    0

Leave a Reply