Exit-WssDomain

Removes a server from a domain.

Syntax

Exit-WssDomain
    [-Force]
    [-Password <String>]
    [-UserName <String>]

Description

The Exit-WssDomain cmdlet removes the server from the domain to which it is currently joined.

Examples

1:

Parameters

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:True
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Password

Specifies the password of a user account with permission to leave the domain.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserName

Specifies the login name of a user account with permission to remove the server from the domain.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False