external help file | Module Name | online version | schema |
---|---|---|---|
TeamsFunctions-help.xml |
TeamsFunctions |
2.0.0 |
Creates a new License Object for processing
New-AzureAdLicenseObject [[-SkuId] <String[]>] [[-RemoveSkuId] <String[]>] [<CommonParameters>]
Helper function to create a new License Object
New-AzureAdLicenseObject -SkuId e43b5b99-8dfb-405f-9987-dc307f34bcbd
Will create a license Object for the MCOEV license .
New-AzureAdLicenseObject -SkuId e43b5b99-8dfb-405f-9987-dc307f34bcbd -RemoveSkuId 440eaaa8-b3e0-484b-a8be-62870b9ba70a
Will create a license Object based on the existing users License Adding the MCOEV license, removing the MCOEV_VIRTUALUSER license.
SkuId(s) of the License to be added
Type: String[]
Parameter Sets: (All)
Aliases: AddSkuId
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
SkuId(s) of the License to be removed
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This function does not require any connections to AzureAD. However, applying the output of this Function does. Used in Set-TeamsUserLicense and Add-TeamsUserLicense
https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/New-AzureAdLicenseObject.md
https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/about_Supporting_Functions.md
https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/