-
Notifications
You must be signed in to change notification settings - Fork 0
Remove BapTenantDetail
Removes tenant details for a specified BAP tenant from the local configuration.
Remove-BapTenantDetail [-Id] <String> [-Force] [-ProgressAction <ActionPreference>] [<CommonParameters>]
This function allows you to remove tenant details for a specified BAP tenant from the local PSFramework configuration. If the -Force switch is not used, it will return the tenant details for the specified tenant id, allowing you to review them before deciding to remove them.
Remove-BapTenantDetail -Id "Contoso"
This will show the tenant details for the BAP tenant with the id "Contoso". It will NOT remove the tenant details yet, allowing you to review them before deciding to remove them.
Remove-BapTenantDetail -Id "Contoso" -Force
This will remove the tenant details for the BAP tenant with the id "Contoso" without prompting for confirmation.
The ID of the BAP tenant whose details are to be removed.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to remove the tenant details without prompting for confirmation.
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)