@@ -11,21 +11,20 @@ title: Get-WindowsFeature
11
11
# Get-WindowsFeature
12
12
13
13
## SYNOPSIS
14
-
15
14
Gets information about Windows Server roles, role services, and features that are available for
16
15
installation and installed on a specified server.
17
16
18
17
## SYNTAX
19
18
20
19
```
21
- Get-WindowsFeature [[-Name] <String[]>] [-Vhd <String>] [-ComputerName <String>] [-Credential <PSCredential>]
22
- [-LogPath <String>] [<CommonParameters>]
20
+ Get-WindowsFeature [[-Name] <String[]>] [-Vhd <String>] [-ComputerName <String>]
21
+ [-Credential <PSCredential>] [-LogPath <String>] [<CommonParameters>]
23
22
```
24
23
25
24
## DESCRIPTION
26
25
27
26
The ` Get-WindowsFeature ` cmdlet gets information about features that are both available for
28
- installation and already installed on a computer that is running Windows Server, or an offline
27
+ installation and already installed on a computer that is running Windows Server or an offline
29
28
virtual hard disk (VHD) that is running Windows Server.
30
29
31
30
## EXAMPLES
@@ -36,8 +35,9 @@ virtual hard disk (VHD) that is running Windows Server.
36
35
Get-WindowsFeature -ComputerName Server1 -Credential contoso.com\user1
37
36
```
38
37
39
- This example gets a list of features that are available and installed on the target computer named ` Server1 ` .
40
- The credentials for user ` user1 ` in the Contoso.com domain, a user who has Administrator rights on ` Server1 ` , are provided.
38
+ This example gets a list of features that are available and installed on the target computer named
39
+ ` Server1 ` . The credentials for ` user1 ` in the ` Contoso.com ` domain, a user who has Administrator
40
+ rights on ` Server1 ` , are provided.
41
41
42
42
### Example 2
43
43
@@ -92,7 +92,7 @@ Add a Computer to the Trusted Host List" in
92
92
[ about_Remote_Troubleshooting] ( https://go.microsoft.com/fwlink/p/?LinkID=135188 ) .
93
93
94
94
``` yaml
95
- Type : String
95
+ Type : System. String
96
96
Parameter Sets : (All)
97
97
Aliases : Cn
98
98
@@ -112,12 +112,13 @@ user name in one of the following formats. Quotation marks are optional.
112
112
-- "UserName"
113
113
-- "Domain\U ser"
114
114
115
- -- A Credential object returned by the [Get-Credential](https://go.microsoft.com/fwlink/p/?LinkID=113311) cmdlet.
115
+ - A **PSCredential** object returned by the
116
+ [Get-Credential](https://go.microsoft.com/fwlink/p/?LinkID=113311) cmdlet.
116
117
117
118
If a user name is entered, then a prompt for a password is displayed.
118
119
119
120
` ` ` yaml
120
- Type : PSCredential
121
+ Type : System.Management.Automation. PSCredential
121
122
Parameter Sets : (All)
122
123
Aliases :
123
124
@@ -134,7 +135,7 @@ Specifies a name and path to a log file.
134
135
Add this parameter if the results of this cmdlet must be stored in a log.
135
136
136
137
` ` ` yaml
137
- Type : String
138
+ Type : System. String
138
139
Parameter Sets : (All)
139
140
Aliases :
140
141
@@ -150,7 +151,7 @@ Accept wildcard characters: False
150
151
Specifies the command IDs of roles, role services, or features about which to return information.
151
152
152
153
` ` ` yaml
153
- Type : String[]
154
+ Type : System. String[]
154
155
Parameter Sets : (All)
155
156
Aliases :
156
157
@@ -180,7 +181,7 @@ that you are using to mount the VHD must be running Windows Server. Any local pa
180
181
` D:\myFolder`, that is specified by using this parameter is always relative to the target computer.
181
182
182
183
` ` ` yaml
183
- Type: String
184
+ Type: System. String
184
185
Parameter Sets: (All)
185
186
Aliases:
186
187
0 commit comments