diff --git a/docset/winserver2012-ps/international/Get-WinLanguageBarOption.md b/docset/winserver2012-ps/international/Get-WinLanguageBarOption.md index ebda8113af..a8b99feb80 100644 --- a/docset/winserver2012-ps/international/Get-WinLanguageBarOption.md +++ b/docset/winserver2012-ps/international/Get-WinLanguageBarOption.md @@ -25,7 +25,7 @@ The default value for each setting is false. ### Example 1: Get the language bar options for the current user ``` -PS C:\>Get-WinLanguageBarOptions +PS C:\>Get-WinLanguageBarOption IsLegacyLanguageBar IsLegacySwitchingMode ------------------- --------------------- diff --git a/docset/winserver2012-ps/iscsi/Update-IscsiTargetPortal.md b/docset/winserver2012-ps/iscsi/Update-IscsiTargetPortal.md index aa62076e19..d4a61f8b3a 100644 --- a/docset/winserver2012-ps/iscsi/Update-IscsiTargetPortal.md +++ b/docset/winserver2012-ps/iscsi/Update-IscsiTargetPortal.md @@ -27,13 +27,21 @@ Update-IscsiTargetPortal [-AsJob] [-CimSession ] [-InitiatorInstan ``` ## DESCRIPTION -The **Update-IscsiTargetPortal** cmdlet refreshes cached information about an iSCSI target portal. + +The `Update-IscsiTargetPortal` cmdlet refreshes cached information about an iSCSI target portal. ## EXAMPLES -### Example 1 +### Example 1: Update information about an iSCSI target portal + +This command updates information about the specified iSCSI target portal. +The first command displays target portals by using the **Get-IscsiTargetPortal** cmdlet. + +```powershell +Get-IscsiTargetPortal ``` -PS C:\>Get-IscsiTargetPortal + +```Output InitiatorInstanceName : InitiatorNodeAddress : InitiatorPortalAddress : @@ -41,23 +49,31 @@ InititorIPAdressListNumber : 4294967295 IsDataDigest : False IsHeaderDigest : False TargetPortalAddress : testiSCSI-deepcore -TargetPortalPortNumber : 3260 - - -PS C:\>Get-IscsiTargetPortal | Update-IscsiTargetPortal +TargetPortalPortNumber : 3260 ``` -This example returns information about iSCSI target portals that have previously been added. +```powershell +Get-IscsiTargetPortal | Update-IscsiTargetPortal +``` +The second command passes the same target portals to the current cmdlet to update them. ## PARAMETERS ### -AsJob -ps_cimcommon_asjob + +Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. + +The cmdlet immediately returns an object that represents the job and then displays the command prompt. +You can continue to work in the session while the job completes. +To manage the job, use the `*-Job` cmdlets. +To get the job results, use the [Receive-Job](https://go.microsoft.com/fwlink/?LinkID=113372) cmdlet. + +For more information about Windows PowerShell background jobs, see [about_Jobs](https://go.microsoft.com/fwlink/?LinkID=113251). ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -67,8 +83,10 @@ Accept wildcard characters: False ``` ### -CimSession + Runs the cmdlet in a remote session or on a remote computer. -Enter a computer name or a session object, such as the output of a New-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227967 or Get-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227966 cmdlet. +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. The default is the current session on the local computer. ```yaml @@ -85,11 +103,13 @@ Accept wildcard characters: False ### -InitiatorInstanceName +Specifies the name of the initiator instance that the iSCSI initiator service uses to send **SendTargets** requests to the target portal. +If no instance name is specified, the iSCSI initiator service chooses the initiator instance. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -99,12 +119,13 @@ Accept wildcard characters: False ``` ### -InitiatorPortalAddress -Represents the IP address or DNS name associated with the portal. + +Specifies the IP address or DNS name that is associated with the portal. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -114,12 +135,14 @@ Accept wildcard characters: False ``` ### -InputObject -Accepts an object from the pipeline as input. + +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: CimInstance[] Parameter Sets: UNNAMED_PARAMETER_SET_2 -Aliases: +Aliases: Required: True Position: Named @@ -129,17 +152,14 @@ Accept wildcard characters: False ``` ### -PassThru -Sends items from the interactive window down the pipeline as input to other cmdlets. -By default, this cmdlet does not generate any output. - -To send items from the interactive window down the pipeline, click to select the items and then click OK. -Shift-click and Ctrl-click are supported. +Returns an object representing the item with which you are working. +By default, this cmdlet does not generate any output. ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -149,12 +169,13 @@ Accept wildcard characters: False ``` ### -TargetPortalAddress -Represents the IP address or DNS name of the target portal. + +Specifies the IP address or DNS name of the target portal. ```yaml Type: String[] Parameter Sets: UNNAMED_PARAMETER_SET_1 -Aliases: +Aliases: Required: True Position: 1 @@ -164,13 +185,14 @@ Accept wildcard characters: False ``` ### -TargetPortalPortNumber + Specifies the TCP/IP port number for the target portal. By default, the port number is `3260`. ```yaml Type: UInt16 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -180,14 +202,16 @@ Accept wildcard characters: False ``` ### -ThrottleLimit + Specifies the maximum number of concurrent operations that can be established to run the cmdlet. -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. +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. The throttle limit applies only to the current cmdlet, not to the session or to the computer. ```yaml Type: Int32 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -196,9 +220,14 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### CommonParameters + +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). + ## INPUTS ### Microsoft.Management.Infrastructure.CimInstance#MSFT_IscsiTargetPortal + The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the namespace and class name for the underlying WMI object. @@ -210,6 +239,8 @@ The path after the pound sign (`#`) provides the namespace and class name for th ## RELATED LINKS -[iSCSI Target Server Overview](https://docs.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh848272(v=ws.11)) +[iSCSI on TechNet](/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ee338476(v=ws.10)) + +[Storage on TechNet](https://go.microsoft.com/fwlink/?linkid=191356) [Get-IscsiTargetPortal](./Get-IscsiTargetPortal.md) diff --git a/docset/winserver2012-ps/netqos/New-NetQosPolicy.md b/docset/winserver2012-ps/netqos/New-NetQosPolicy.md index 7fd4f36fec..a15e2496aa 100644 --- a/docset/winserver2012-ps/netqos/New-NetQosPolicy.md +++ b/docset/winserver2012-ps/netqos/New-NetQosPolicy.md @@ -137,7 +137,7 @@ Owner : PowerShell / WMI NetworkProfile : All Precedence : 127 AppPathName : ftp.exe -ThrottleRate : 1 MBytes/sec +ThrottleRate : 1.049 MBits/sec ``` This example creates a QoS policy named FTP, that matches an application path at ftp.exe and throttles the traffic at 1,000,000 bytes per second. @@ -169,7 +169,7 @@ NetworkProfile : All Precedence : 127 IPProtocol : TCP IPPort : 80 -ThrottleRate : 10 MBytes/sec +ThrottleRate : 10.486 MBits/sec ``` This example creates a QoS policy that matches TCP traffic sent to port 80 and rate-limits it at 10,000,000 bytes per second. @@ -196,7 +196,7 @@ NetworkProfile : Domain Precedence : 127 URI : http://training/ URIRecursive : False -ThrottleRate : 500 KBytes/sec +ThrottleRate : 516.096 KBits/sec ``` This example creates a QoS policy named IIS, that matches return traffic from an HTTP server application with the specified URI and rate limit the return traffic at 500,000 bytes per second. diff --git a/docset/winserver2012r2-ps/international/Get-WinLanguageBarOption.md b/docset/winserver2012r2-ps/international/Get-WinLanguageBarOption.md index 133d66ea1c..a3556ec8ea 100644 --- a/docset/winserver2012r2-ps/international/Get-WinLanguageBarOption.md +++ b/docset/winserver2012r2-ps/international/Get-WinLanguageBarOption.md @@ -27,7 +27,7 @@ The default value for each setting is false. ### Example 1 ``` -PS C:\>Get-WinLanguageBarOptions +PS C:\>Get-WinLanguageBarOption IsLegacyLanguageBar IsLegacySwitchingMode ------------------- --------------------- diff --git a/docset/winserver2012r2-ps/iscsi/Update-IscsiTargetPortal.md b/docset/winserver2012r2-ps/iscsi/Update-IscsiTargetPortal.md index ce32ff2eb3..2ab962a4ec 100644 --- a/docset/winserver2012r2-ps/iscsi/Update-IscsiTargetPortal.md +++ b/docset/winserver2012r2-ps/iscsi/Update-IscsiTargetPortal.md @@ -6,7 +6,6 @@ online version: https://docs.microsoft.com/powershell/module/iscsi/update-iscsit schema: 2.0.0 title: Update-IscsiTargetPortal --- - # Update-IscsiTargetPortal ## SYNOPSIS @@ -15,6 +14,7 @@ Updates information about the specified iSCSI target portal. ## SYNTAX ### ByTargetPortalAddress (Default) + ``` Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -22,6 +22,7 @@ Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceNa ``` ### InputObject (cdxml) + ``` Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -29,13 +30,21 @@ Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName Get-IscsiTargetPortal + +```Output InitiatorInstanceName : InitiatorNodeAddress : InitiatorPortalAddress : @@ -43,20 +52,31 @@ InititorIPAdressListNumber : 4294967295 IsDataDigest : False IsHeaderDigest : False TargetPortalAddress : testiSCSI-deepcore -TargetPortalPortNumber : 3260 PS C:\> Get-IscsiTargetPortal | Update-IscsiTargetPortal +TargetPortalPortNumber : 3260 ``` -This example returns information about iSCSI target portals that have previously been added. +```powershell +C:\> Get-IscsiTargetPortal | Update-IscsiTargetPortal +``` +The second command passes the same target portals to the current cmdlet to update them. ## PARAMETERS ### -AsJob -ps_cimcommon_asjob + +Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. + +The cmdlet immediately returns an object that represents the job and then displays the command prompt. +You can continue to work in the session while the job completes. +To manage the job, use the `*-Job` cmdlets. +To get the job results, use the [Receive-Job](https://go.microsoft.com/fwlink/?LinkID=113372) cmdlet. + +For more information about Windows PowerShell background jobs, see [about_Jobs](https://go.microsoft.com/fwlink/?LinkID=113251). ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -66,8 +86,10 @@ Accept wildcard characters: False ``` ### -CimSession + Runs the cmdlet in a remote session or on a remote computer. -Enter a computer name or a session object, such as the output of a New-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227967 or Get-CimSessionhttp://go.microsoft.com/fwlink/p/?LinkId=227966 cmdlet. +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. The default is the current session on the local computer. ```yaml @@ -83,13 +105,14 @@ Accept wildcard characters: False ``` ### -InitiatorInstanceName + Specifies the name of the initiator instance that the iSCSI initiator service uses to send **SendTargets** requests to the target portal. If no instance name is specified, the iSCSI initiator service chooses the initiator instance. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -99,12 +122,13 @@ Accept wildcard characters: False ``` ### -InitiatorPortalAddress -Represents the IP address or DNS name associated with the portal. + +Specifies the IP address or DNS name that is associated with the portal. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -114,12 +138,14 @@ Accept wildcard characters: False ``` ### -InputObject -Accepts an object from the pipeline as input. + +Specifies the input to this cmdlet. +You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: CimInstance[] Parameter Sets: InputObject (cdxml) -Aliases: +Aliases: Required: True Position: Named @@ -129,16 +155,14 @@ Accept wildcard characters: False ``` ### -PassThru -Sends items from the interactive window down the pipeline as input to other cmdlets. -By default, this cmdlet does not generate any output. - -To send items from the interactive window down the pipeline, click to select the items and then click OK. -Shift-click and Ctrl-click are supported. + +Returns an object representing the item with which you are working. +By default, this cmdlet does not generate any output. ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -148,12 +172,13 @@ Accept wildcard characters: False ``` ### -TargetPortalAddress -Represents the IP address or DNS name of the target portal. + +Specifies the IP address or DNS name of the target portal. ```yaml Type: String[] Parameter Sets: ByTargetPortalAddress -Aliases: +Aliases: Required: True Position: 0 @@ -163,13 +188,14 @@ Accept wildcard characters: False ``` ### -TargetPortalPortNumber + Specifies the TCP/IP port number for the target portal. By default, the port number is `3260`. ```yaml Type: UInt16 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -179,14 +205,16 @@ Accept wildcard characters: False ``` ### -ThrottleLimit + Specifies the maximum number of concurrent operations that can be established to run the cmdlet. -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. +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. The throttle limit applies only to the current cmdlet, not to the session or to the computer. ```yaml Type: Int32 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -196,11 +224,13 @@ Accept wildcard characters: False ``` ### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). + +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). ## INPUTS ### Microsoft.Management.Infrastructure.CimInstance#MSFT_IscsiTargetPortal + The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the namespace and class name for the underlying WMI object. @@ -212,10 +242,8 @@ The path after the pound sign (`#`) provides the namespace and class name for th ## RELATED LINKS -[iSCSI on TechNet](https://www.microsoft.com/iSCSI) +[iSCSI on TechNet](/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ee338476(v=ws.10)) [Storage on TechNet](https://go.microsoft.com/fwlink/?linkid=191356) [Get-IscsiTargetPortal](./Get-IscsiTargetPortal.md) - - diff --git a/docset/winserver2012r2-ps/netqos/New-NetQosPolicy.md b/docset/winserver2012r2-ps/netqos/New-NetQosPolicy.md index eab1b375f3..dccb944d3d 100644 --- a/docset/winserver2012r2-ps/netqos/New-NetQosPolicy.md +++ b/docset/winserver2012r2-ps/netqos/New-NetQosPolicy.md @@ -148,7 +148,7 @@ Owner : PowerShell / WMI NetworkProfile : All Precedence : 127 AppPathName : ftp.exe -ThrottleRate : 1 MBytes/sec +ThrottleRate : 1.049 MBits/sec ``` This example creates a QoS policy named FTP, that matches an application path at ftp.exe and throttles the traffic at 1,000,000 bytes per second. @@ -180,7 +180,7 @@ NetworkProfile : All Precedence : 127 IPProtocol : TCP IPPort : 80 -ThrottleRate : 10 MBytes/sec +ThrottleRate : 10.486 MBits/sec ``` This example creates a QoS policy that matches TCP traffic sent to port 80 and rate-limits it at 10,000,000 bytes per second. @@ -207,7 +207,7 @@ NetworkProfile : Domain Precedence : 127 URI : http://training/ URIRecursive : False -ThrottleRate : 500 KBytes/sec +ThrottleRate : 516.096 KBits/sec ``` This example creates a QoS policy named IIS, that matches return traffic from an HTTP server application with the specified URI and rate limit the return traffic at 500,000 bytes per second. diff --git a/docset/winserver2016-ps/international/Get-WinLanguageBarOption.md b/docset/winserver2016-ps/international/Get-WinLanguageBarOption.md index 1cc272ecef..9b34dee77c 100644 --- a/docset/winserver2016-ps/international/Get-WinLanguageBarOption.md +++ b/docset/winserver2016-ps/international/Get-WinLanguageBarOption.md @@ -28,7 +28,7 @@ The default value for each setting is false. ### Example 1: Get the settings for the language bar ``` -PS C:\> Get-WinLanguageBarOptions +PS C:\> Get-WinLanguageBarOption IsLegacyLanguageBar IsLegacySwitchingMode ------------------- --------------------- False False diff --git a/docset/winserver2016-ps/iscsi/Update-IscsiTargetPortal.md b/docset/winserver2016-ps/iscsi/Update-IscsiTargetPortal.md index 7f354b8eba..6404d6a9df 100644 --- a/docset/winserver2016-ps/iscsi/Update-IscsiTargetPortal.md +++ b/docset/winserver2016-ps/iscsi/Update-IscsiTargetPortal.md @@ -7,7 +7,6 @@ online version: https://docs.microsoft.com/powershell/module/iscsi/update-iscsit schema: 2.0.0 title: Update-IscsiTargetPortal --- - # Update-IscsiTargetPortal ## SYNOPSIS @@ -16,6 +15,7 @@ Updates information about the specified iSCSI target portal. ## SYNTAX ### ByTargetPortalAddress (Default) + ``` Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -23,6 +23,7 @@ Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceNa ``` ### InputObject (cdxml) + ``` Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -30,13 +31,21 @@ Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName Get-IscsiTargetPortal + +```Output InitiatorInstanceName : InitiatorNodeAddress : InitiatorPortalAddress : @@ -44,18 +53,18 @@ InititorIPAdressListNumber : 4294967295 IsDataDigest : False IsHeaderDigest : False TargetPortalAddress : testiSCSI-deepcore -TargetPortalPortNumber : 3260 PS C:\> Get-IscsiTargetPortal | Update-IscsiTargetPortal +TargetPortalPortNumber : 3260 ``` -This command updates information about the specified iSCSI target portal. - -The first command displays target portals by using the **Get-IscsiTargetPortal** cmdlet. - +```powershell +Get-IscsiTargetPortal | Update-IscsiTargetPortal +``` The second command passes the same target portals to the current cmdlet to update them. ## PARAMETERS ### -AsJob + Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. @@ -68,7 +77,7 @@ For more information about Windows PowerShell background jobs, see [about_Jobs]( ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -78,8 +87,10 @@ Accept wildcard characters: False ``` ### -CimSession + Runs the cmdlet in a remote session or on a remote computer. -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. +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. The default is the current session on the local computer. ```yaml @@ -95,13 +106,14 @@ Accept wildcard characters: False ``` ### -InitiatorInstanceName + Specifies the name of the initiator instance that the iSCSI initiator service uses to send **SendTargets** requests to the target portal. If no instance name is specified, the iSCSI initiator service chooses the initiator instance. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -111,12 +123,13 @@ Accept wildcard characters: False ``` ### -InitiatorPortalAddress + Specifies the IP address or DNS name that is associated with the portal. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -126,13 +139,14 @@ Accept wildcard characters: False ``` ### -InputObject + Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: CimInstance[] Parameter Sets: InputObject (cdxml) -Aliases: +Aliases: Required: True Position: Named @@ -142,13 +156,14 @@ Accept wildcard characters: False ``` ### -PassThru + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -158,12 +173,13 @@ Accept wildcard characters: False ``` ### -TargetPortalAddress + Specifies the IP address or DNS name of the target portal. ```yaml Type: String[] Parameter Sets: ByTargetPortalAddress -Aliases: +Aliases: Required: True Position: 0 @@ -173,13 +189,14 @@ Accept wildcard characters: False ``` ### -TargetPortalPortNumber + Specifies the TCP/IP port number for the target portal. -By default, the port number is 3260. +By default, the port number is `3260`. ```yaml Type: UInt16 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -189,14 +206,16 @@ Accept wildcard characters: False ``` ### -ThrottleLimit + Specifies the maximum number of concurrent operations that can be established to run the cmdlet. -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. +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. The throttle limit applies only to the current cmdlet, not to the session or to the computer. ```yaml Type: Int32 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -206,11 +225,13 @@ Accept wildcard characters: False ``` ### CommonParameters + 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). ## INPUTS ### Microsoft.Management.Infrastructure.CimInstance#MSFT_IscsiTargetPortal + The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the namespace and class name for the underlying WMI object. @@ -227,4 +248,3 @@ The path after the pound sign (`#`) provides the namespace and class name for th [Storage on TechNet](https://go.microsoft.com/fwlink/?linkid=191356) [Get-IscsiTargetPortal](./Get-IscsiTargetPortal.md) - diff --git a/docset/winserver2016-ps/netqos/New-NetQosPolicy.md b/docset/winserver2016-ps/netqos/New-NetQosPolicy.md index 081a71356c..cff5442e0d 100644 --- a/docset/winserver2016-ps/netqos/New-NetQosPolicy.md +++ b/docset/winserver2016-ps/netqos/New-NetQosPolicy.md @@ -149,7 +149,7 @@ Owner : PowerShell / WMI NetworkProfile : All Precedence : 127 AppPathName : ftp.exe -ThrottleRate : 1 MBytes/sec +ThrottleRate : 1.049 MBits/sec ``` This command creates a QoS policy named FTP that matches an application path at ftp.exe and throttles the traffic at 8,000,000 bits per second. @@ -180,7 +180,7 @@ NetworkProfile : All Precedence : 127 IPProtocol : TCP IPPort : 80 -ThrottleRate : 10 MBytes/sec +ThrottleRate : 10.486 MBits/sec ``` This command creates a QoS policy that matches TCP traffic sent to port 80 and rate-limits it at 80,000,000 bits per second. @@ -207,7 +207,7 @@ NetworkProfile : Domain Precedence : 127 URI : http://training/ URIRecursive : False -ThrottleRate : 500 KBytes/sec +ThrottleRate : 516.096 KBits/sec ``` This command creates a QoS policy named IIS that matches return traffic from an HTTP server application with the specified URI and rate limit the return traffic at 4,000,000 bits per second. diff --git a/docset/winserver2019-ps/international/Get-WinLanguageBarOption.md b/docset/winserver2019-ps/international/Get-WinLanguageBarOption.md index d74ea6a474..d10fe501dc 100644 --- a/docset/winserver2019-ps/international/Get-WinLanguageBarOption.md +++ b/docset/winserver2019-ps/international/Get-WinLanguageBarOption.md @@ -28,7 +28,7 @@ The default value for each setting is false. ### Example 1: Get the settings for the language bar ``` -PS C:\> Get-WinLanguageBarOptions +PS C:\> Get-WinLanguageBarOption IsLegacyLanguageBar IsLegacySwitchingMode ------------------- --------------------- False False diff --git a/docset/winserver2019-ps/iscsi/Update-IscsiTargetPortal.md b/docset/winserver2019-ps/iscsi/Update-IscsiTargetPortal.md index 81be5ef6b8..82f6e6e639 100644 --- a/docset/winserver2019-ps/iscsi/Update-IscsiTargetPortal.md +++ b/docset/winserver2019-ps/iscsi/Update-IscsiTargetPortal.md @@ -7,7 +7,6 @@ online version: https://docs.microsoft.com/powershell/module/iscsi/update-iscsit schema: 2.0.0 title: Update-IscsiTargetPortal --- - # Update-IscsiTargetPortal ## SYNOPSIS @@ -16,6 +15,7 @@ Updates information about the specified iSCSI target portal. ## SYNTAX ### ByTargetPortalAddress (Default) + ``` Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -23,6 +23,7 @@ Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceNa ``` ### InputObject (cdxml) + ``` Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -30,13 +31,21 @@ Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName Get-IscsiTargetPortal + +```Output InitiatorInstanceName : InitiatorNodeAddress : InitiatorPortalAddress : @@ -44,18 +53,18 @@ InititorIPAdressListNumber : 4294967295 IsDataDigest : False IsHeaderDigest : False TargetPortalAddress : testiSCSI-deepcore -TargetPortalPortNumber : 3260 PS C:\> Get-IscsiTargetPortal | Update-IscsiTargetPortal +TargetPortalPortNumber : 3260 ``` -This command updates information about the specified iSCSI target portal. - -The first command displays target portals by using the **Get-IscsiTargetPortal** cmdlet. - +```powershell +Get-IscsiTargetPortal | Update-IscsiTargetPortal +``` The second command passes the same target portals to the current cmdlet to update them. ## PARAMETERS ### -AsJob + Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. @@ -68,7 +77,7 @@ For more information about Windows PowerShell background jobs, see [about_Jobs]( ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -78,8 +87,10 @@ Accept wildcard characters: False ``` ### -CimSession + Runs the cmdlet in a remote session or on a remote computer. -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. +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. The default is the current session on the local computer. ```yaml @@ -95,13 +106,14 @@ Accept wildcard characters: False ``` ### -InitiatorInstanceName + Specifies the name of the initiator instance that the iSCSI initiator service uses to send **SendTargets** requests to the target portal. If no instance name is specified, the iSCSI initiator service chooses the initiator instance. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -111,12 +123,13 @@ Accept wildcard characters: False ``` ### -InitiatorPortalAddress + Specifies the IP address or DNS name that is associated with the portal. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -126,13 +139,14 @@ Accept wildcard characters: False ``` ### -InputObject + Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: CimInstance[] Parameter Sets: InputObject (cdxml) -Aliases: +Aliases: Required: True Position: Named @@ -142,13 +156,14 @@ Accept wildcard characters: False ``` ### -PassThru + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -158,12 +173,13 @@ Accept wildcard characters: False ``` ### -TargetPortalAddress + Specifies the IP address or DNS name of the target portal. ```yaml Type: String[] Parameter Sets: ByTargetPortalAddress -Aliases: +Aliases: Required: True Position: 0 @@ -173,13 +189,14 @@ Accept wildcard characters: False ``` ### -TargetPortalPortNumber + Specifies the TCP/IP port number for the target portal. -By default, the port number is 3260. +By default, the port number is `3260`. ```yaml Type: UInt16 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -189,14 +206,16 @@ Accept wildcard characters: False ``` ### -ThrottleLimit + Specifies the maximum number of concurrent operations that can be established to run the cmdlet. -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. +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. The throttle limit applies only to the current cmdlet, not to the session or to the computer. ```yaml Type: Int32 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -206,11 +225,13 @@ Accept wildcard characters: False ``` ### CommonParameters + 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). ## INPUTS ### Microsoft.Management.Infrastructure.CimInstance#MSFT_IscsiTargetPortal + The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the namespace and class name for the underlying WMI object. @@ -227,4 +248,3 @@ The path after the pound sign (`#`) provides the namespace and class name for th [Storage on TechNet](https://go.microsoft.com/fwlink/?linkid=191356) [Get-IscsiTargetPortal](./Get-IscsiTargetPortal.md) - diff --git a/docset/winserver2019-ps/netqos/New-NetQosPolicy.md b/docset/winserver2019-ps/netqos/New-NetQosPolicy.md index 7f36a9db1e..4cdcd9a669 100644 --- a/docset/winserver2019-ps/netqos/New-NetQosPolicy.md +++ b/docset/winserver2019-ps/netqos/New-NetQosPolicy.md @@ -149,7 +149,7 @@ Owner : PowerShell / WMI NetworkProfile : All Precedence : 127 AppPathName : ftp.exe -ThrottleRate : 1 MBytes/sec +ThrottleRate : 1.049 MBits/sec ``` This command creates a QoS policy named FTP that matches an application path at ftp.exe and throttles the traffic at 8,000,000 bits per second. @@ -180,7 +180,7 @@ NetworkProfile : All Precedence : 127 IPProtocol : TCP IPPort : 80 -ThrottleRate : 10 MBytes/sec +ThrottleRate : 10.486 MBits/sec ``` This command creates a QoS policy that matches TCP traffic sent to port 80 and rate-limits it at 80,000,000 bits per second. @@ -207,7 +207,7 @@ NetworkProfile : Domain Precedence : 127 URI : http://training/ URIRecursive : False -ThrottleRate : 500 KBytes/sec +ThrottleRate : 516.096 KBits/sec ``` This command creates a QoS policy named IIS that matches return traffic from an HTTP server application with the specified URI and rate limit the return traffic at 4,000,000 bits per second. diff --git a/docset/winserver2022-ps/international/Get-WinLanguageBarOption.md b/docset/winserver2022-ps/international/Get-WinLanguageBarOption.md index 20af402eb1..80d2d3c945 100644 --- a/docset/winserver2022-ps/international/Get-WinLanguageBarOption.md +++ b/docset/winserver2022-ps/international/Get-WinLanguageBarOption.md @@ -28,7 +28,7 @@ The default value for each setting is false. ### Example 1: Get the settings for the language bar ``` -PS C:\> Get-WinLanguageBarOptions +PS C:\> Get-WinLanguageBarOption IsLegacyLanguageBar IsLegacySwitchingMode ------------------- --------------------- False False diff --git a/docset/winserver2022-ps/iscsi/Update-IscsiTargetPortal.md b/docset/winserver2022-ps/iscsi/Update-IscsiTargetPortal.md index 0de9a56f66..1d0e032ff0 100644 --- a/docset/winserver2022-ps/iscsi/Update-IscsiTargetPortal.md +++ b/docset/winserver2022-ps/iscsi/Update-IscsiTargetPortal.md @@ -7,7 +7,6 @@ online version: https://docs.microsoft.com/powershell/module/iscsi/update-iscsit schema: 2.0.0 title: Update-IscsiTargetPortal --- - # Update-IscsiTargetPortal ## SYNOPSIS @@ -16,6 +15,7 @@ Updates information about the specified iSCSI target portal. ## SYNTAX ### ByTargetPortalAddress (Default) + ``` Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -23,6 +23,7 @@ Update-IscsiTargetPortal [-TargetPortalAddress] [-InitiatorInstanceNa ``` ### InputObject (cdxml) + ``` Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName ] [-InitiatorPortalAddress ] [-TargetPortalPortNumber ] [-CimSession ] @@ -30,13 +31,21 @@ Update-IscsiTargetPortal -InputObject [-InitiatorInstanceName Get-IscsiTargetPortal + +```Output InitiatorInstanceName : InitiatorNodeAddress : InitiatorPortalAddress : @@ -44,18 +53,18 @@ InititorIPAdressListNumber : 4294967295 IsDataDigest : False IsHeaderDigest : False TargetPortalAddress : testiSCSI-deepcore -TargetPortalPortNumber : 3260 PS C:\> Get-IscsiTargetPortal | Update-IscsiTargetPortal +TargetPortalPortNumber : 3260 ``` -This command updates information about the specified iSCSI target portal. - -The first command displays target portals by using the **Get-IscsiTargetPortal** cmdlet. - +```powershell +Get-IscsiTargetPortal | Update-IscsiTargetPortal +``` The second command passes the same target portals to the current cmdlet to update them. ## PARAMETERS ### -AsJob + Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. @@ -68,7 +77,7 @@ For more information about Windows PowerShell background jobs, see [about_Jobs]( ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -78,8 +87,10 @@ Accept wildcard characters: False ``` ### -CimSession + Runs the cmdlet in a remote session or on a remote computer. -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. +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. The default is the current session on the local computer. ```yaml @@ -95,13 +106,14 @@ Accept wildcard characters: False ``` ### -InitiatorInstanceName + Specifies the name of the initiator instance that the iSCSI initiator service uses to send **SendTargets** requests to the target portal. If no instance name is specified, the iSCSI initiator service chooses the initiator instance. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -111,12 +123,13 @@ Accept wildcard characters: False ``` ### -InitiatorPortalAddress + Specifies the IP address or DNS name that is associated with the portal. ```yaml Type: String Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -126,13 +139,14 @@ Accept wildcard characters: False ``` ### -InputObject + Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet. ```yaml Type: CimInstance[] Parameter Sets: InputObject (cdxml) -Aliases: +Aliases: Required: True Position: Named @@ -142,13 +156,14 @@ Accept wildcard characters: False ``` ### -PassThru + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -158,12 +173,13 @@ Accept wildcard characters: False ``` ### -TargetPortalAddress + Specifies the IP address or DNS name of the target portal. ```yaml Type: String[] Parameter Sets: ByTargetPortalAddress -Aliases: +Aliases: Required: True Position: 0 @@ -173,13 +189,14 @@ Accept wildcard characters: False ``` ### -TargetPortalPortNumber + Specifies the TCP/IP port number for the target portal. -By default, the port number is 3260. +By default, the port number is `3260`. ```yaml Type: UInt16 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -189,14 +206,16 @@ Accept wildcard characters: False ``` ### -ThrottleLimit + Specifies the maximum number of concurrent operations that can be established to run the cmdlet. -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. +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. The throttle limit applies only to the current cmdlet, not to the session or to the computer. ```yaml Type: Int32 Parameter Sets: (All) -Aliases: +Aliases: Required: False Position: Named @@ -206,11 +225,13 @@ Accept wildcard characters: False ``` ### CommonParameters + 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). ## INPUTS ### Microsoft.Management.Infrastructure.CimInstance#MSFT_IscsiTargetPortal + The `Microsoft.Management.Infrastructure.CimInstance` object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (`#`) provides the namespace and class name for the underlying WMI object. @@ -227,4 +248,3 @@ The path after the pound sign (`#`) provides the namespace and class name for th [Storage on TechNet](https://go.microsoft.com/fwlink/?linkid=191356) [Get-IscsiTargetPortal](./Get-IscsiTargetPortal.md) - diff --git a/docset/winserver2022-ps/netqos/New-NetQosPolicy.md b/docset/winserver2022-ps/netqos/New-NetQosPolicy.md index de302c47a0..d6504977be 100644 --- a/docset/winserver2022-ps/netqos/New-NetQosPolicy.md +++ b/docset/winserver2022-ps/netqos/New-NetQosPolicy.md @@ -149,7 +149,7 @@ Owner : PowerShell / WMI NetworkProfile : All Precedence : 127 AppPathName : ftp.exe -ThrottleRate : 1 MBytes/sec +ThrottleRate : 1.049 MBits/sec ``` This command creates a QoS policy named FTP that matches an application path at ftp.exe and throttles the traffic at 8,000,000 bits per second. @@ -180,7 +180,7 @@ NetworkProfile : All Precedence : 127 IPProtocol : TCP IPPort : 80 -ThrottleRate : 10 MBytes/sec +ThrottleRate : 10.486 MBits/sec ``` This command creates a QoS policy that matches TCP traffic sent to port 80 and rate-limits it at 80,000,000 bits per second. @@ -207,7 +207,7 @@ NetworkProfile : Domain Precedence : 127 URI : http://training/ URIRecursive : False -ThrottleRate : 500 KBytes/sec +ThrottleRate : 516.096 KBits/sec ``` This command creates a QoS policy named IIS that matches return traffic from an HTTP server application with the specified URI and rate limit the return traffic at 4,000,000 bits per second.