external help file | Module Name | online version | schema |
---|---|---|---|
TeamsFunctions-help.xml |
TeamsFunctions |
2.0.0 |
Returns License information (ServicePlans) for an Object in AzureAD
Get-TeamsUserLicenseServicePlan [-UserPrincipalName] <String[]> [-DisplayAll] [<CommonParameters>]
Returns an Object containing all Teams related ServicePlans (for Licenses assigned) for a specific Object
Get-TeamsUserLicenseServicePlan [-UserPrincipalName] John@domain.com
Displays all licenses assigned to User John@domain.com
Get-TeamsUserLicenseServicePlan -UserPrincipalName John@domain.com,Jane@domain.com
Displays all licenses assigned to Users John@domain.com and Jane@domain.com
Import-Csv User.csv | Get-TeamsUserLicenseServicePlan
Displays all licenses assigned to Users from User.csv, Column UserPrincipalName, ObjectId or Identity. The input file must have a single column heading of "UserPrincipalName" with properly formatted UPNs.
The UserPrincipalName, ObjectId or Identity of the Object.
Type: String[]
Parameter Sets: (All)
Aliases: ObjectId, Identity
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Displays all ServicePlans, not only relevant Teams Service Plans Also displays AllLicenses and AllServicePlans object for further processing
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.
Requires a connection to Azure Active Directory
https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/Get-TeamsUserLicenseServicePlan.md
https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/about_Licensing.md
https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/about_UserManagement.md
https://github.com/DEberhardt/TeamsFunctions/tree/main/docs/