Mds.PowerShell.DynamicPortManager.dll-Help.xml
|
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-MdsServerDynamicPort</command:name> <command:verb>Get</command:verb> <command:noun>MdsServerDynamicPort</command:noun> <maml:description> <maml:para>Gets the configured dynamic port range from MDS servers.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Queries the Internet TCP setting on one or more remote computers and returns the configured dynamic port range. When `-Name` is omitted, enabled computer objects are discovered from Active Directory over LDAP.</maml:para> <maml:para>`PortRangeEnd` follows the Windows boundary convention of `Start + NumberOfPorts`. The last valid TCP/UDP port is one less when the value is `65536`.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-MdsServerDynamicPort</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ShowWindow</maml:name> <maml:description> <maml:para>Shows the results in Out-GridView and returns selected rows.</maml:para> </maml:description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ShowWindow</maml:name> <maml:description> <maml:para>Shows the results in Out-GridView and returns selected rows.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Mds.PowerShell.DynamicPortManager.MdsServer</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert /> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -Name mds-ldc1-app1</dev:code> <dev:remarks> <maml:para>Gets dynamic port settings from one server.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- Example 2 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -ShowWindow</dev:code> <dev:remarks> <maml:para>Shows discovered server results in Out-GridView and writes selected rows back to the pipeline.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Set-MdsServerDynamicPort</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-MdsServerDynamicPortFirewallRule</command:name> <command:verb>Get</command:verb> <command:noun>MdsServerDynamicPortFirewallRule</command:noun> <maml:description> <maml:para>Gets MDS dynamic port firewall rules.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Gets the fixed TCP and UDP inbound firewall rules for the configured dynamic port range.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Mds.PowerShell.DynamicPortManager.MdsServerDynamicPortFirewallRule</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert /> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -Name mds-ldc1-app1 | Get-MdsServerDynamicPortFirewallRule</dev:code> <dev:remarks> <maml:para>Gets the TCP and UDP MDS Winsock firewall rules.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-MdsServerDynamicPortFirewallRule</command:name> <command:verb>New</command:verb> <command:noun>MdsServerDynamicPortFirewallRule</command:noun> <maml:description> <maml:para>Creates MDS dynamic port firewall rules.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Creates the fixed TCP and UDP inbound allow rules for the configured dynamic port range. The rule names are `multi-data-services-winsock-tcp-in` and `multi-data-services-winsock-udp-in`.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Mds.PowerShell.DynamicPortManager.MdsServerDynamicPortFirewallRule</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert /> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -Name mds-ldc1-app1 | New-MdsServerDynamicPortFirewallRule</dev:code> <dev:remarks> <maml:para>Creates both firewall rules.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Reset-MdsServerDynamicPortFirewallRule</command:name> <command:verb>Reset</command:verb> <command:noun>MdsServerDynamicPortFirewallRule</command:noun> <maml:description> <maml:para>Recreates MDS dynamic port firewall rules.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Removes existing fixed TCP and UDP inbound rules if present, then recreates them to match the configured dynamic port range.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Reset-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Reset-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Mds.PowerShell.DynamicPortManager.MdsServerDynamicPortFirewallRule</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert /> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -Name mds-ldc1-app1 | Reset-MdsServerDynamicPortFirewallRule</dev:code> <dev:remarks> <maml:para>Recreates both firewall rules.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-MdsServerDynamicPort</command:name> <command:verb>Set</command:verb> <command:noun>MdsServerDynamicPort</command:noun> <maml:description> <maml:para>Sets the configured dynamic port range on MDS servers.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Updates the Internet TCP dynamic port range using `Set-NetTCPSetting` over a CIM session.</maml:para> <maml:para>You can specify either the number of ports or an end boundary. The end boundary syntax calculates `NumberOfPorts = EndPort - StartPort`, matching the Windows dynamic port boundary convention.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-MdsServerDynamicPort</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="PortRangeStart"> <maml:name>DynamicPortRangeStartPort</maml:name> <maml:description> <maml:para>Start boundary for the dynamic port range.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>49152</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="PortRangeTotal"> <maml:name>DynamicPortRangeNumberOfPorts</maml:name> <maml:description> <maml:para>Number of dynamic ports.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>16384</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PassThru</maml:name> <maml:description> <maml:para>Returns the updated dynamic port object.</maml:para> </maml:description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-MdsServerDynamicPort</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="PortRangeStart"> <maml:name>DynamicPortRangeStartPort</maml:name> <maml:description> <maml:para>Start boundary for the dynamic port range.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>49152</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="PortRangeEnd"> <maml:name>DynamicPortRangeEndPort</maml:name> <maml:description> <maml:para>End boundary used to calculate the number of ports.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PassThru</maml:name> <maml:description> <maml:para>Returns the updated dynamic port object.</maml:para> </maml:description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-MdsServerDynamicPort</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="PortRangeStart"> <maml:name>DynamicPortRangeStartPort</maml:name> <maml:description> <maml:para>Start boundary for the dynamic port range.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>49152</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="PortRangeTotal"> <maml:name>DynamicPortRangeNumberOfPorts</maml:name> <maml:description> <maml:para>Number of dynamic ports.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>16384</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PassThru</maml:name> <maml:description> <maml:para>Returns the updated dynamic port object.</maml:para> </maml:description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-MdsServerDynamicPort</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="PortRangeStart"> <maml:name>DynamicPortRangeStartPort</maml:name> <maml:description> <maml:para>Start boundary for the dynamic port range.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>49152</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="PortRangeEnd"> <maml:name>DynamicPortRangeEndPort</maml:name> <maml:description> <maml:para>End boundary used to calculate the number of ports.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PassThru</maml:name> <maml:description> <maml:para>Returns the updated dynamic port object.</maml:para> </maml:description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="PortRangeStart"> <maml:name>DynamicPortRangeStartPort</maml:name> <maml:description> <maml:para>Start boundary for the dynamic port range.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>49152</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="PortRangeTotal"> <maml:name>DynamicPortRangeNumberOfPorts</maml:name> <maml:description> <maml:para>Number of dynamic ports.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>16384</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="2" aliases="PortRangeEnd"> <maml:name>DynamicPortRangeEndPort</maml:name> <maml:description> <maml:para>End boundary used to calculate the number of ports.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>PassThru</maml:name> <maml:description> <maml:para>Returns the updated dynamic port object.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Mds.PowerShell.DynamicPortManager.MdsServer</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert /> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>Set-MdsServerDynamicPort -Name mds-ldc1-app1 -DynamicPortRangeStartPort 32768 -DynamicPortRangeEndPort 65535 -PassThru</dev:code> <dev:remarks> <maml:para>Sets the range using a start and end boundary.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- Example 2 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -Name mds-ldc1-app1 | Set-MdsServerDynamicPort -DynamicPortRangeStartPort 32768 -DynamicPortRangeEndPort 65535</dev:code> <dev:remarks> <maml:para>Pipes dynamic port objects into the setter.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Get-MdsServerDynamicPort</maml:linkText> <maml:uri></maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-MdsServerDynamicPortFirewallRule</command:name> <command:verb>Set</command:verb> <command:noun>MdsServerDynamicPortFirewallRule</command:noun> <maml:description> <maml:para>Updates MDS dynamic port firewall rules.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Updates existing fixed TCP and UDP inbound allow rules so their local port ranges match the configured dynamic port range.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-MdsServerDynamicPortFirewallRule</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Mds.PowerShell.DynamicPortManager.MdsServerDynamicPortFirewallRule</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert /> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -Name mds-ldc1-app1 | Set-MdsServerDynamicPortFirewallRule</dev:code> <dev:remarks> <maml:para>Updates both firewall rules.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Test-MdsServerDynamicPort</command:name> <command:verb>Test</command:verb> <command:noun>MdsServerDynamicPort</command:noun> <maml:description> <maml:para>Tests MDS dynamic port and firewall rule configuration.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Tests whether the server has fixed TCP and UDP inbound firewall rules that allow the configured dynamic port range.</maml:para> <maml:para>This cmdlet validates firewall rule coverage. It does not test every dynamic port for an active listener because those ports are allocated on demand.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Test-MdsServerDynamicPort</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Test-MdsServerDynamicPort</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>Name</maml:name> <maml:description> <maml:para>One or more computer names.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByValue)" position="0" aliases="none"> <maml:name>InputObject</maml:name> <maml:description> <maml:para>Dynamic port object returned by `Get-MdsServerDynamicPort`.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">MdsServer</command:parameterValue> <dev:type> <maml:name>MdsServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Mds.PowerShell.DynamicPortManager.MdsServerDynamicPortTestResult</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert /> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>Get-MdsServerDynamicPort -Name mds-ldc1-app1 | Test-MdsServerDynamicPort</dev:code> <dev:remarks> <maml:para>Tests dynamic port firewall coverage.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks /> </command:command> </helpItems> |