Remove-PAMUser

Removes a user from the MIM Service and the PAM domain.

Syntax

Remove-PAMUser
      [-User] <PAMUser>
      [-Force]
      [[-Session] <PAMSession>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-PAMUser cmdlet can be used to remove a PAM user from MIM Service and the PAM domain. The user to be deleted is indicated by an object returned by a call to Get-PAMUser.

Examples

EXAMPLE 1

Remove-PAMUser -User (Get-PAMUser -PrivDisplayName "contoso.jen")

Description


This command removes a single user with a specified display name from the MIM Service and the PAM domain.

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

-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

-User

The user to be deleted, returned by Get-PAMUser.

Type:PAMUser
Position:1
Default value:None
Required:True
Accept pipeline input:True
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