@@ -35,10 +35,9 @@ virtual hard disk (VHD) that is running Windows Server.
35
35
Get-WindowsFeature -ComputerName Server1 -Credential contoso.com\user1
36
36
```
37
37
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.
42
41
43
42
### Example 2
44
43
@@ -47,7 +46,7 @@ Get-WindowsFeature -Vhd D:\ps-test\vhd1.vhd
47
46
```
48
47
49
48
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 ` .
51
50
52
51
### Example 3
53
52
@@ -72,7 +71,7 @@ This example returns a list of features installed on a specified server, Server0
72
71
Get-WindowsFeature -ComputerName Server01 | Where InstallState -Eq Removed
73
72
```
74
73
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
76
75
files removed from the local side-by-side store, and require an external file source for
77
76
installation.
78
77
@@ -89,7 +88,7 @@ Valid values for the parameter include a NetBIOS name, an IP address, or a fully
89
88
name of a remote computer.
90
89
91
90
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.
93
92
The computer must either be configured for HTTPS transport, or the IP address of the remote computer
94
93
must be included in the WinRM TrustedHosts list on the local computer.
95
94
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.
119
118
-- "UserName"
120
119
-- "Domain\U ser"
121
120
122
- -- A Credential object returned by the
121
+ - A **PSCredential** object returned by the
123
122
[Get-Credential](https://go.microsoft.com/fwlink/p/?LinkID=113311) cmdlet.
124
123
125
124
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$
187
186
Add the ` ComputerName` parameter to specify the target computer you want to use to mount the VHD.
188
187
If the `ComputerName` parameter is not specified, then the local computer is used.
189
188
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
191
190
the target computer.
192
191
193
192
` ` ` yaml
0 commit comments