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
The Get-ADGroup cmdlet gets a group or performs a search to retrieve multiple groups from an Active Directory.
37
37
38
38
The Identity parameter specifies the Active Directory group to get.
39
-
You can identify a group by its distinguished name (DN), GUID, security identifier (SID), Security Accounts Manager (SAM) account name, or canonical name.
39
+
You can identify a group by its distinguished name (DN), GUID, security identifier (SID), or Security Accounts Manager (SAM) account name.
40
40
You can also specify group object variable, such as $\<localGroupObject\>.
41
41
42
42
To search for and retrieve more than one group, use the Filter or LDAPFilter parameters.
The **Get-ADUser** cmdlet gets a specified user object or performs a search to get multiple user objects.
37
37
38
38
The *Identity* parameter specifies the Active Directory user to get.
39
-
You can identify a user by its distinguished name (DN), GUID, security identifier (SID), Security Account Manager (SAM) account name, or name.
39
+
You can identify a user by its distinguished name (DN), GUID, security identifier (SID), or Security Account Manager (SAM) account name.
40
40
You can also set the parameter to a user object variable such as `$<localUserObject>` or pass a user object through the pipeline to the *Identity* parameter.
41
41
42
42
To search for and retrieve more than one user, use the *Filter* or *LDAPFilter* parameters.
This command displays the default Network Device Enrollment Service settings when the service is running as the default application identity without making any changes to the configuration.
51
+
This command displays the default NDES settings that will be configured if it is installed.
56
52
57
-
### -------------------------- EXAMPLE 2 --------------------------
53
+
### Example 2: Display the default NDES settings using a service account name and password
58
54
```
59
-
C:\PS>Install-AdcsNetworkDeviceEnrollmentService -ServiceAccountName <Domain>\<AccountName> -ServiceAccountPassword (read-host "Set user password" -assecurestring) -WhatIf
This command installs the Network Device Enrollment Service using the application pool identity to use a remote CA as specified by the CA computer \<CACompterName\>\\\<CACommonName\>.
80
-
Substitute the appropriate CA computer name and common name for \<CAComputerName\> and \<CACommonName\>.
66
+
This command installs NDES using the application pool identity to use a remote CA as specified by the CA computer `<CAComputerName>\<CACommonName>`.
67
+
Substitute the appropriate CA computer name and common name for `<CAComputerName>` and `<CACommonName>`.
81
68
82
-
### -------------------------- EXAMPLE 4 --------------------------
69
+
### Example 4: Install NDES using a specific service account
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a Power Management capable network adapter.
29
-
You must be an administrator in order to run this cmdlet.
28
+
The **Get-NetAdapterPowerManagement** cmdlet gets the state of the power management features of a Power Management capable network adapter. You need to run this cmdlet in an elevated (Run as Administrator) Windows PowerShell session.
The **Get-ADGroup** cmdlet gets a group or performs a search to retrieve multiple groups from an Active Directory.
39
39
40
40
The **Identity** parameter specifies the Active Directory group to get.
41
-
You can identify a group by its distinguished name (DN), GUID, security identifier (SID), Security Accounts Manager (SAM) account name, or canonical name.
41
+
You can identify a group by its distinguished name (DN), GUID, security identifier (SID), or Security Accounts Manager (SAM) account name.
42
42
You can also specify group object variable, such as **$\<localGroupObject\>**.
43
43
44
44
To search for and retrieve more than one group, use the **Filter** or **LDAPFilter** parameters.
The **Get-ADUser** cmdlet gets a specified user object or performs a search to get multiple user objects.
39
39
40
40
The *Identity* parameter specifies the Active Directory user to get.
41
-
You can identify a user by its distinguished name (DN), GUID, security identifier (SID), Security Account Manager (SAM) account name, or name.
41
+
You can identify a user by its distinguished name (DN), GUID, security identifier (SID), or Security Account Manager (SAM) account name.
42
42
You can also set the parameter to a user object variable such as `$<localUserObject>` or pass a user object through the pipeline to the *Identity* parameter.
43
43
44
44
To search for and retrieve more than one user, use the *Filter* or *LDAPFilter* parameters.
This command displays the default Network Device Enrollment Service settings when the service is running as the default application identity without making any changes to the configuration.
53
+
This command displays the default NDES settings that will be configured if it is installed.
58
54
59
-
### -------------------------- EXAMPLE 2 --------------------------
55
+
### Example 2: Display the default NDES settings using a service account name and password
60
56
```
61
-
C:\PS>Install-AdcsNetworkDeviceEnrollmentService -ServiceAccountName <Domain>\<AccountName> -ServiceAccountPassword (read-host "Set user password" -assecurestring) -WhatIf
This command installs NDES using the application pool identity to use a remote CA as specified by the CA computer `<CAComputerName>\<CACommonName>`.
69
+
Substitute the appropriate CA computer name and common name for `<CAComputerName>` and `<CACommonName>`.
80
70
81
-
This command installs the Network Device Enrollment Service using the application pool identity to use a remote CA as specified by the CA computer \<CACompterName\>\\\<CACommonName\>.
82
-
Substitute the appropriate CA computer name and common name for \<CAComputerName\> and \<CACommonName\>.
83
-
84
-
### -------------------------- EXAMPLE 4 --------------------------
71
+
### Example 4: Install NDES using a specific service account
0 commit comments