How should you complete the relevant Windows PowerShell commands?

Posted by: Pdfprep Category: 70-346 Tags: , ,

DRAG DROP

Litware Inc. has an Office 365 Enterprise E1 plan. Employees have access to all Office 365 services.

Employees in the human resources (HR) department must continue to use the on-premises SharePoint 2013 deployment due to legal requirements.

You need to disable access to SharePoint Online for all HR department employees.

How should you complete the relevant Windows PowerShell commands? To answer, drag the appropriate Windows PowerShell segment to the correct location or locations in the answer area. Each Windows PowerShell segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer:

Explanation:

Box 1: -MsolLicenseOptions

We must create license object. The New-MsolLicenseOptions cmdlet creates a new License Options object.

Box 2: SHAREPOINTSTANDARD

We must disable SharePoint Online. SharePoint Online is denoted by SHAREPOINTSTANDARD.

The New-MsolLicenseOptions-DisabledPlans <string[]> produces a list of service plans to disable when assigning this license to the user.

Box 3: We get all HR department users through the Get CMsolUser CAll CDepartment "HR" command.

The Get-MsolUser cmdlet can be used to retrieve an individual user, or list of users.

Box 4: For these retrieved users we use the Set-MsolUserLicense command to apply the license we constructed.

The Set-MsolUserLicense cmdlet can be used to adjust the licenses for a user.

Leave a Reply

Your email address will not be published.