Remove-PAMRole
Removes a PAM role from the MIM Service.
Syntax
Remove-PAMRole
[-Role] <PAMRole>
[-Force]
[[-Session] <PAMSession>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Remove-PAMRole cmdlet can be used to remove a PAM Role from MIM Service.
Examples
EXAMPLE 1
Remove-PAMRole -Role (Get-PAMRole -DisplayName "IT")
Description
This command removes a single role with a specified display name from the MIM Service.
Parameters
-Confirm
Prompts you for confirmation before executing the command.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
@{Text=}
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Role
The role to be deleted, returned by Get-PAMRole.
Type: | PAMRole |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Session
Session with the PAM domain and MIM Service.
Type: | PAMSession |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |