SALES: 1-800-867-1380
New-MsolLicenseOptions
TOC
Collapse the table of content
Expand the table of content

New-MsolLicenseOptions

Published: March 22, 2013

Updated: July 30, 2015

Applies To: Azure, Office 365, Windows Intune

noteNote
  • The cmdlets were previously known as the Microsoft Online Services Module for Windows PowerShell cmdlets.

The New-MsolLicenseOptions cmdlet creates a new License Options object. This cmdlet disables specific service plans when assigning a user a license using the New-MsolUser and Set-MsolUserLicense cmdlets.

Syntax

New-MsolLicenseOptions -AccountSkuId <string> [-DisabledPlans <string[]>] [<CommonParameters>]

Parameters

    -AccountSkuId <string>
        The license (AccountSkuID) for these options.
        
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -DisabledPlans <string[]>
        A list of service plans to disable when assigning this license to the 
        user.
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer and OutVariable. For more information, type,
        "get-help about_commonparameters".

Examples

The following command creates a license options object. This can be used for the license options parameter in New-MsolUser or Set-MsolUserLicense.

New-MsolLicenseOption -AccountSkuId Contoso:BPOS_STANDARD -DisabledPlans EXCHANGE_STANDARD

Additional Resources

There are several other places you can get more information and help. These include:

See Also

Show:
© 2016 Microsoft