Skip to content

Commit 9aba27c

Browse files
Apply suggestions from code review
Co-authored-by: Mikey Lombardi (He/Him) <[email protected]>
1 parent 913ad4c commit 9aba27c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docset/winserver2022-ps/ServerManager/Get-WindowsFeature.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ virtual hard disk (VHD) that is running Windows Server.
3535
Get-WindowsFeature -ComputerName Server1 -Credential contoso.com\user1
3636
```
3737

38-
This example gets a list of features that is available and installed on the
39-
target computer named Server1.
40-
The credentials for user user1 in the Contoso.com domain, a user who has
41-
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.
4241

4342
### Example 2
4443

@@ -47,7 +46,7 @@ Get-WindowsFeature -Vhd D:\ps-test\vhd1.vhd
4746
```
4847

4948
This example returns a list of features that is available and installed on the specified offline VHD
50-
located at D:\ps-test\vhd1.vhd.
49+
located at `D:\ps-test\vhd1.vhd`.
5150

5251
### Example 3
5352

@@ -72,7 +71,7 @@ This example returns a list of features installed on a specified server, Server0
7271
Get-WindowsFeature -ComputerName Server01 | Where InstallState -Eq Removed
7372
```
7473

75-
This example returns a list of features on a specified server, Server01, that have installation
74+
This example returns a list of features on a specified server, `Server01`, that have installation
7675
files removed from the local side-by-side store, and require an external file source for
7776
installation.
7877

@@ -89,7 +88,7 @@ Valid values for the parameter include a NetBIOS name, an IP address, or a fully
8988
name of a remote computer.
9089

9190
To use a remote computer's IP address as the value of this parameter, your command must include the
92-
`Credential` parameter.
91+
**Credential** parameter.
9392
The computer must either be configured for HTTPS transport, or the IP address of the remote computer
9493
must be included in the WinRM TrustedHosts list on the local computer.
9594
For information about adding a computer name to the WinRM TrustedHosts list, see "How to Add a
@@ -119,7 +118,7 @@ Quotation marks are optional.
119118
-- "UserName"
120119
-- "Domain\User"
121120
122-
-- A Credential object returned by the
121+
- A **PSCredential** object returned by the
123122
[Get-Credential](https://go.microsoft.com/fwlink/p/?LinkID=113311) cmdlet.
124123
125124
If a user name is entered, then a prompt for a password is displayed.
@@ -187,7 +186,7 @@ Use either of the following formats for the computer account: DOMAIN\SERVERNAME$
187186
Add the `ComputerName` parameter to specify the target computer you want to use to mount the VHD.
188187
If the `ComputerName` parameter is not specified, then the local computer is used.
189188
The computer that you are using to mount the VHD must be running Windows Server.
190-
Any local path, such as D:\myFolder, that is specified by using this parameter is always relative to
189+
Any local path, such as `D:\myFolder`, that is specified by using this parameter is always relative to
191190
the target computer.
192191

193192
```yaml

0 commit comments

Comments
 (0)