You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies the user account credentials to use to perform this task.
100
107
The default credentials are the credentials of the currently logged on user unless the cmdlet is run from an Active Directory module for Windows PowerShell provider drive.
101
108
If the cmdlet is run from such a provider drive, the account associated with the drive is the default.
102
109
103
-
To specify this parameter, you can type a user name, such as User1 or Domain01\User01 or you can specify a **PSCredential** object.
110
+
To specify this parameter, you can type a user name, such as User1 or Domain01\User01.
104
111
If you specify a user name for this parameter, the cmdlet prompts for a password.
105
112
106
113
You can also create a **PSCredential** object by using a script or by using the **Get-Credential** cmdlet.
Specifies an Active Directory server object by providing one of the following values.
125
133
The identifier in parentheses is the Lightweight Directory Access Protocol (LDAP) display name for the attribute.
126
134
127
135
- Name of the server object (name)
128
136
129
-
For Active Directory Lightweight Directory Services (AD LDS) instances the syntax is of a name is `<computer-name>$<instance-name>`
137
+
For Active Directory Lightweight Directory Services (AD LDS) instances the syntax of a name is `<computer-name>$<instance-name>`
130
138
131
-
Note: When you type this value in Windows PowerShell, you must use the backtick (\`) as an escape character for the dollar sign ($), for example, *asia-w7-vm4`$instance1*.
139
+
Note: When you type this value in Windows PowerShell, you must use the backtick (\`) as an escape character for the dollar sign ($), for example, *asia-w7-vm4\`$instance1*.
132
140
133
141
For other Active Directory instances, use the value of the name property.
Specifies the Active Directory Domain Services instance to connect to, by providing one of the following values for a corresponding domain name or directory server.
159
168
The service may be any of the following: Active Directory Lightweight Domain Services, Active Directory Domain Services or Active Directory snapshot instance.
160
169
161
-
Specify the Active Directory Domain Services instance in one of the following ways:
170
+
Specify the Active Directory Domain Services instance in one of the following ways:
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
232
244
233
245
## INPUTS
234
246
235
247
### None or Microsoft.ActiveDirectory.Management.ADDirectoryServer
248
+
236
249
A directory server object is received by the *Identity* parameter.
237
250
238
251
## OUTPUTS
239
252
240
253
### None
241
254
242
255
## NOTES
256
+
243
257
* This cmdlet does not work with an Active Directory snapshot.
244
258
* This cmdlet does not work with a read-only domain controller.
0 commit comments