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
This command gets all central access policies that have a name that starts with Corporate and then passes this information to Add-ADCentralAccessPolicyMember by using the pipeline operator.
42
-
The **Add-ADCentralAccessPolicyMember** cmdlet then adds the central access rule with the name Corporate Documents Rule to it.
51
+
This command gets all central access policies that have a name that starts with `Corporate` and then
52
+
passes this information to `Add-ADCentralAccessPolicyMember` by using the pipeline operator. The
53
+
`Add-ADCentralAccessPolicyMember` cmdlet then adds the central access rule with the name
54
+
`Corporate Documents Rule` to it.
43
55
44
56
## PARAMETERS
45
57
46
58
### -AuthType
59
+
47
60
Specifies the authentication method to use.
48
61
The acceptable values for this parameter are:
49
62
50
-
- Negotiate or 0
51
-
- Basic or 1
63
+
-`Negotiate` or `0`
64
+
-`Basic` or `1`
52
65
53
-
The default authentication method is Negotiate.
66
+
The default authentication method is `Negotiate`.
54
67
55
-
A Secure Sockets Layer (SSL) connection is required for the Basic authentication method.
68
+
A Secure Sockets Layer (SSL) connection is required for the `Basic` authentication method.
Specifies the user account credentials to use to perform this task.
87
-
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.
88
-
If the cmdlet is run from such a provider drive, the account associated with the drive is the default.
89
100
90
-
To specify this parameter, you can type a user name, such as User1 or Domain01\User01 or you can specify a **PSCredential** object.
91
-
If you specify a user name for this parameter, the cmdlet prompts for a password.
101
+
Specifies the user account credentials to use to perform this task. The default credentials are the
102
+
credentials of the currently logged on user unless the cmdlet is run from an Active Directory module
103
+
for Windows PowerShell provider drive. If the cmdlet is run from such a provider drive, the account
104
+
associated with the drive is the default.
105
+
106
+
To specify this parameter, you can type a user name, such as `User1` or `Domain01\User0`1 or you can
107
+
specify a **PSCredential** object. If you specify a user name for this parameter, the cmdlet prompts
108
+
for a password.
92
109
93
-
You can also create a **PSCredential** object by using a script or by using the **Get-Credential** cmdlet.
94
-
You can then set the *Credential* parameter to the **PSCredential** object.
110
+
You can also create a **PSCredential** object by using a script or by using the `Get-Credential`
111
+
cmdlet. You can then set the **Credential** parameter to the **PSCredential** object.
95
112
96
-
If the acting credentials do not have directory-level permission to perform the task, Active Directory module for Windows PowerShell returns a terminating error.
113
+
If the acting credentials do not have directory-level permission to perform the task, Active
114
+
Directory module for Windows PowerShell returns a terminating error.
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.
178
-
The service may be any of the following: Active Directory Lightweight Domain Services, Active Directory Domain Services or Active Directory snapshot instance.
179
200
180
-
Specify the Active Directory Domain Services instance in one of the following ways:
201
+
Specifies the Active Directory Domain Services instance to connect to, by providing one of the
202
+
following values for a corresponding domain name or directory server. The service may be any of the
203
+
following: Active Directory Lightweight Domain Services, Active Directory Domain Services or Active
204
+
Directory snapshot instance.
205
+
206
+
Specify the Active Directory Domain Services instance in one of the following ways:
181
207
182
208
Domain name values:
183
209
184
210
- Fully qualified domain name
185
211
- NetBIOS name
186
212
187
-
Directory server values:
213
+
Directory server values:
188
214
189
215
- Fully qualified directory server name
190
216
- NetBIOS name
191
217
- Fully qualified directory server name and port
192
218
193
-
The default value for this parameter is determined by one of the following methods in the order that they are listed:
219
+
The default value for this parameter is determined by one of the following methods in the order that
220
+
they are listed:
194
221
195
222
- By using the **Server** value from objects passed through the pipeline
196
-
- By using the server information associated with the Active Directory Domain Services Windows PowerShell provider drive, when the cmdlet runs in that drive
223
+
- By using the server information associated with the Active Directory Domain Services Windows
224
+
PowerShell provider drive, when the cmdlet runs in that drive
197
225
- By using the domain of the computer running Windows PowerShell
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).
256
+
257
+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
0 commit comments