Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

JoinOptions Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Options for joining a computer to a domain. Introduced in Windows PowerShell 3.0.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   Microsoft.PowerShell.Commands
Assembly:  Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

[FlagsAttribute]
public enum JoinOptions

Member nameDescription
AccountCreate

Create account on the domain

DeferSPNSet

Writing SPN and DNSHostName attributes on the computer object should be deferred until the rename operation that follows the join operation

InstallInvoke

Invoke during insatll

JoinReadOnly

Use a readonly domain controller

JoinWithNewName

Join the target machine with a new name queried from the registry. This options is used if the rename has been called prior to rebooting the machine

PasswordPass

Indicate that the password passed to the join operation is the local machine account password, not a user password. It's valid only for unsecure join

UnsecuredJoin

Perform an unsecure join

Win9XUpgrade

Join operation is part of an upgrade

Return to top
Show: