-
Notifications
You must be signed in to change notification settings - Fork 0
Get BapTenantDetail
Gets detailed information about a BAP tenant.
Get-BapTenantDetail [[-Id] <String>] [[-Upn] <String>] [[-TenantId] <String>] [[-FriendlyName] <String>]
[-AsExcelOutput] [-ProgressAction <ActionPreference>] [<CommonParameters>]
This function retrieves detailed information about a BAP tenant stored in the local PSFramework configuration.
Get-BapTenantDetail
This will retrieve all available BAP tenant details stored in the local PSFramework configuration.
Get-BapTenantDetail -Id "Contoso"
This will retrieve the BAP tenant detail for the specified tenant id.
It will only return results where the tenant id matches "Contoso".
Get-BapTenantDetail -Upn "user@contoso.com"
This will retrieve the BAP tenant detail for the specified user principal name (UPN).
It will only return results where the UPN matches "user@contoso.com".
Get-BapTenantDetail -TenantId "12345678-90ab-cdef-1234-567890abcdef"
This will retrieve the BAP tenant detail for the specified tenant id.
It will only return results where the tenant id matches "12345678-90ab-cdef-1234-567890abcdef".
Get-BapTenantDetail -FriendlyName "Contoso"
This will retrieve the BAP tenant detail for the specified friendly name.
It will only return results where the friendly name matches "Contoso".
Get-BapTenantDetail -AsExcelOutput
This will export the retrieved BAP tenant details to an Excel file.
The id of the registered tenant.
Used to have user defined name for tenants.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseThe User Principal Name (UPN) of the user.
Type: String
Parameter Sets: (All)
Aliases: Username, User, Login
Required: False
Position: 2
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseThe unique identifier of the tenant.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseThe friendly name of the tenant.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to export the results to an Excel file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)