Skip to content

Commit 8144087

Browse files
authored
Cleanup formatting
1 parent 2db5cf5 commit 8144087

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

docset/winserver2019-ps/iscsi/Update-IscsiTargetPortal.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,37 @@ Updates information about the specified iSCSI target portal.
1616
## SYNTAX
1717

1818
### ByTargetPortalAddress (Default)
19+
1920
```
2021
Update-IscsiTargetPortal [-TargetPortalAddress] <String[]> [-InitiatorInstanceName <String>]
2122
[-InitiatorPortalAddress <String>] [-TargetPortalPortNumber <UInt16>] [-CimSession <CimSession[]>]
2223
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [<CommonParameters>]
2324
```
2425

2526
### InputObject (cdxml)
27+
2628
```
2729
Update-IscsiTargetPortal -InputObject <CimInstance[]> [-InitiatorInstanceName <String>]
2830
[-InitiatorPortalAddress <String>] [-TargetPortalPortNumber <UInt16>] [-CimSession <CimSession[]>]
2931
[-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [<CommonParameters>]
3032
```
3133

3234
## DESCRIPTION
33-
The **Update-IscsiTargetPortal** cmdlet refreshes cached information about an iSCSI target portal.
35+
36+
The `Update-IscsiTargetPortal` cmdlet refreshes cached information about an iSCSI target portal.
3437

3538
## EXAMPLES
3639

3740
### Example 1: Update information about an iSCSI target portal
41+
3842
This command updates information about the specified iSCSI target portal.
43+
3944
```PowerShell
4045
Get-IscsiTargetPortal
4146
```
47+
4248
The first command displays target portals by using the **Get-IscsiTargetPortal** cmdlet.
49+
4350
```Output
4451
InitiatorInstanceName :
4552
InitiatorNodeAddress :
@@ -50,14 +57,17 @@ IsHeaderDigest : False
5057
TargetPortalAddress : testiSCSI-deepcore
5158
TargetPortalPortNumber : 3260
5259
```
60+
5361
The second command passes the same target portals to the current cmdlet to update them.
62+
5463
```PowerShell
55-
Get-IscsiTargetPortal | Update-IscsiTargetPortal
64+
Get-IscsiTargetPortal | Update-IscsiTargetPortal
5665
```
5766

5867
## PARAMETERS
5968

6069
### -AsJob
70+
6171
Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.
6272

6373
The cmdlet immediately returns an object that represents the job and then displays the command prompt.
@@ -80,8 +90,10 @@ Accept wildcard characters: False
8090
```
8191
8292
### -CimSession
93+
8394
Runs the cmdlet in a remote session or on a remote computer.
84-
Enter a computer name or a session object, such as the output of a [New-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227967) or [Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet.
95+
Enter a computer name or a session object, such as the output of a [New-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227967)
96+
or [Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet.
8597
The default is the current session on the local computer.
8698
8799
```yaml
@@ -97,6 +109,7 @@ Accept wildcard characters: False
97109
```
98110
99111
### -InitiatorInstanceName
112+
100113
Specifies the name of the initiator instance that the iSCSI initiator service uses to send **SendTargets** requests to the target portal.
101114
If no instance name is specified, the iSCSI initiator service chooses the initiator instance.
102115
@@ -113,6 +126,7 @@ Accept wildcard characters: False
113126
```
114127
115128
### -InitiatorPortalAddress
129+
116130
Specifies the IP address or DNS name that is associated with the portal.
117131
118132
```yaml
@@ -128,6 +142,7 @@ Accept wildcard characters: False
128142
```
129143
130144
### -InputObject
145+
131146
Specifies the input to this cmdlet.
132147
You can use this parameter, or you can pipe the input to this cmdlet.
133148
@@ -144,6 +159,7 @@ Accept wildcard characters: False
144159
```
145160
146161
### -PassThru
162+
147163
Returns an object representing the item with which you are working.
148164
By default, this cmdlet does not generate any output.
149165
@@ -160,6 +176,7 @@ Accept wildcard characters: False
160176
```
161177
162178
### -TargetPortalAddress
179+
163180
Specifies the IP address or DNS name of the target portal.
164181
165182
```yaml
@@ -175,6 +192,7 @@ Accept wildcard characters: False
175192
```
176193
177194
### -TargetPortalPortNumber
195+
178196
Specifies the TCP/IP port number for the target portal.
179197
By default, the port number is 3260.
180198
@@ -191,8 +209,10 @@ Accept wildcard characters: False
191209
```
192210
193211
### -ThrottleLimit
212+
194213
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
195-
If this parameter is omitted or a value of `0` is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer.
214+
If this parameter is omitted or a value of `0` is entered, then Windows PowerShell® calculates an
215+
optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer.
196216
The throttle limit applies only to the current cmdlet, not to the session or to the computer.
197217

198218
```yaml
@@ -208,11 +228,13 @@ Accept wildcard characters: False
208228
```
209229

210230
### CommonParameters
231+
211232
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
212233

213234
## INPUTS
214235

215236
### Microsoft.Management.Infrastructure.CimInstance#MSFT_IscsiTargetPortal
237+
216238
The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays Windows Management Instrumentation (WMI) objects.
217239
The path after the pound sign (`#`) provides the namespace and class name for the underlying WMI object.
218240

@@ -229,4 +251,3 @@ The path after the pound sign (`#`) provides the namespace and class name for th
229251
[Storage on TechNet](https://go.microsoft.com/fwlink/?linkid=191356)
230252

231253
[Get-IscsiTargetPortal](./Get-IscsiTargetPortal.md)
232-

0 commit comments

Comments
 (0)