PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant Windows PowerShell commands?

DRAG DROP
Litware Inc. has an Office 365 Enterprise El 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.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

22 Comments on “How should you complete the relevant Windows PowerShell commands?

  1. Mikson says:

    Service plan Description
    RMS_S_ENTERPRISE Azure Active Directory Rights
    OFFICESUBSCRIPTION Office 365 ProPlus
    MCOSTANDARD Lync Online
    SHAREPOINTWAC Office Online
    SHAREPOINTENTERPRISE SharePoint Online
    EXCHANGE_S_ENTERPRISE Exchange Online

    You need to disable Sharepoint Online. Can anyone verify this.




    0



    0
  2. Mikson says:

    http://community.office365.com/en-us/w/manage/2603.aspx

    Identify the name of the services you want to disable. The following services can be disabled:
    MCOSTANDARD (Lync Online)
    SHAREPOINTWAC_EDU (SharePoint Online Web Apps)
    SHAREPOINTSTANDARD_EDU (SharePoint Online)
    EXCHANGE_S_STANDARD (Exchange Online)

    Disable SharePoint Online only

    Create a LicenseOption object for each AccountSkuId for which you plan to disable SharePoint Online. You must disable SHAREPOINTWAC_EDU and SHAREPOINTSTANDARD_EDU, in that order. The following commands create each LicenseOption object you will use in step 2:

    $license_object_name = New-MsolLicenseOptions -AccountSkuId your-tenant-name: STANDARDWOFFPACK_STUDENT -DisabledPlans SHAREPOINTWAC_EDU, SHAREPOINTSTANDARD_EDU

    $license_object_name.GetType()

    The following example shows creating a LicenseOption object called $myO365Sku to use to disable SharePoint Online for the AccountSkuId contoso:STANDARDOFFPACK_STUDENT:

    $myO365Sku = New-MsolLicenseOptions -AccountSkuId contoso:STANDARDWOFFPACK_STUDENT -DisabledPlans SHAREPOINTWAC_EDU, SHAREPOINTSTANDARD_EDU

    $myO365Sku.GetType()

    $myO365Sku is the LicenseOption object to use in the next step.
    To disable SharePoint Online for all users, run the following command for each LicenseOption object you created in step 1:

    Get-MsolUser | Set-MsolUserLicense –LicenseOptions $LicenseOption_object_name To disable SharePoint Online for specific users, run the following command for each user:

    Set-MsolUserLicense -UserPrincipalName user-UPN –LicenseOptions $LicenseOption_object_name




    0



    0
  3. Revenge of the Moo says:

    Here’s the problem:

    https://msdn.microsoft.com/en-us/library/dn568014.aspx says that SHAREPOINTWAC is for *Office* web apps, not a cloud based instance of Sharepoint.

    On the same page, they talk about using SHAREPOINTENTERPRISE as the service to disable. This implies that the STANDARD in SHAREPOINTSTANDARD refers to the version, not necessarily online vs on-premises, which is the thing which I found confusing.

    This link supports the above also: http://c7solutions.com/2011/07/assign-specific-licences-in-office-365-html

    HOWEVER. What access do Sharepoint do they mean? To the entire instance, or just the inability to interact with content? in which case disabling office web applications would be enough to prevent interaction with Sharepoint for the users in any case.

    (this is what I find confusing about this question). I have read the entire Microsoft Official Curriculum manual and it does not mention either of these in the relevant section as examples.

    This link (posted by someone above) says *both* must be disabled, but SHAREPOINTWAC first, before SHAREPOINTSTANDARD/SHAREPOINTENTERPRISE whatever version you have.

    Disable SharePoint Online only

    Create a LicenseOption object for each AccountSkuId for which you plan to disable SharePoint Online. You must disable SHAREPOINTWAC_EDU and SHAREPOINTSTANDARD_EDU, in that order. The following commands create each LicenseOption object you will use in step 2:

    $license_object_name = New-MsolLicenseOptions -AccountSkuId your-tenant-name: STANDARDWOFFPACK_STUDENT -DisabledPlans SHAREPOINTWAC_EDU, SHAREPOINTSTANDARD_EDU

    So (writing this exam tomorrow btw) if I get this question, I’m going to go with SHAREPOINTWAC. Because according to Office365’s own documentation it must be done before SHAREPOINTSTANDARD. They are both required to disable access to Sharepoint Online, however technically SHAREPOINTWAC disables access to the cloud based versions of client apps used to access Sharepoint Data bypassing the portal site.

    Hope this makes sense?




    0



    0
  4. Amr Eid says:

    If we are disabling the service On-Premises, then we have to use SHAREPOINTWAC. If we are going to disable the service On-Cloud we should use SHAREPOINTSTANDARD. Therefore, according to the given scenario, it is On-Premises, hence the correct answer is SHAREPOINTWAC




    0



    0
  5. Amr Eid says:

    The given answer is totally correct according to the provided info.

    E1 with Exchange Online and Lync Online Disabled:

    #Bulk E1 License Assignment with ExO and SpO Disabled

    $AccountSkuId = “:STANDARDPACK”

    $UsageLocation = “US”

    $LicenseOptions = New-MsolLicenseOptions -AccountSkuId $AccountSkuId –
    =======> DisabledPlans:SHAREPOINTSTANDARD,EXCHANGE_S_STANDARD <=========

    $Users = Import-Csv c:\temp\Users.csv

    $Users | ForEach-Object {

    Set-MsolUser -UserPrincipalName $_.UserPrincipalName -UsageLocation $UsageLocation

    Set-MsolUserLicense -UserPrincipalName $_.UserPrincipalName -LicenseOptions $LicenseOptions

    }




    0



    0

Leave a Reply