@@ -11,21 +11,20 @@ title: Get-WindowsFeature
1111# Get-WindowsFeature
1212
1313## SYNOPSIS
14-
1514Gets information about Windows Server roles, role services, and features that are available for
1615installation and installed on a specified server.
1716
1817## SYNTAX
1918
2019```
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>]
2322```
2423
2524## DESCRIPTION
2625
2726The ` 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
2928virtual hard disk (VHD) that is running Windows Server.
3029
3130## EXAMPLES
@@ -36,8 +35,9 @@ virtual hard disk (VHD) that is running Windows Server.
3635Get-WindowsFeature -ComputerName Server1 -Credential contoso.com\user1
3736```
3837
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.
4141
4242### Example 2
4343
@@ -92,7 +92,7 @@ Add a Computer to the Trusted Host List" in
9292[ about_Remote_Troubleshooting] ( https://go.microsoft.com/fwlink/p/?LinkID=135188 ) .
9393
9494``` yaml
95- Type : String
95+ Type : System. String
9696Parameter Sets : (All)
9797Aliases : Cn
9898
@@ -112,12 +112,13 @@ user name in one of the following formats. Quotation marks are optional.
112112-- "UserName"
113113-- "Domain\U ser"
114114115- -- 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.
116117
117118If a user name is entered, then a prompt for a password is displayed.
118119
119120` ` ` yaml
120- Type : PSCredential
121+ Type : System.Management.Automation. PSCredential
121122Parameter Sets : (All)
122123Aliases :
123124
@@ -134,7 +135,7 @@ Specifies a name and path to a log file.
134135Add this parameter if the results of this cmdlet must be stored in a log.
135136
136137` ` ` yaml
137- Type : String
138+ Type : System. String
138139Parameter Sets : (All)
139140Aliases :
140141
@@ -150,7 +151,7 @@ Accept wildcard characters: False
150151Specifies the command IDs of roles, role services, or features about which to return information.
151152
152153` ` ` yaml
153- Type : String[]
154+ Type : System. String[]
154155Parameter Sets : (All)
155156Aliases :
156157
@@ -180,7 +181,7 @@ that you are using to mount the VHD must be running Windows Server. Any local pa
180181` D:\myFolder`, that is specified by using this parameter is always relative to the target computer.
181182
182183` ` ` yaml
183- Type: String
184+ Type: System. String
184185Parameter Sets: (All)
185186Aliases:
186187
0 commit comments