Microsoft.PowerShell.Commands.TestConnectionCommand+TcpPortStatus當您使用 Detailed 參數時,這個 Cmdlet 會 傳回TestConnectionCommand+TcpPortStatus 物件,此物件會顯示 TCP 連線的狀態。備註在Linux 上,使用 BufferSize 參數或搭配 MtuSize 參數的任何參數組合,若導致緩衝區大小變為非預設值32個字節,可能需要 sudo。
[System.Runtime.CompilerServices.Nullable(0)] public class TestConnectionCommand.TcpPortStatus Inheritance Object TestConnectionCommand.TcpPortStatus Attributes NullableAttribute Properties 展開資料表 Connected Gets or sets the result of the test. Id Gets and sets the count of the test. Late...
TheReceive-Jobcommand is instructed to-Waituntil the job is completed, and then gets the results and stores them in the$Resultsvariable. Example 5: Create a session only if a connection test succeeds This example creates a session on the Server01 computer only if at least one of the pings...
(ParameterSetName="RepeatPing")] [System.Management.Automation.Parameter(ParameterSetName="TraceRoute")] [System.Management.Automation.Parameter(ParameterSetName="MtuSizeDetect")] [System.Management.Automation.Parameter(ParameterSetName="TcpPort")] public System.Management.Automation.SwitchParameter IPv6 {...
Trace-Command cmdlet 配置并启动指定表达式或命令的跟踪。 它的工作方式类似于 Set-TraceSource,只是它仅适用于指定的命令。
The LightMode switch tells the command to perform only a test logon to the server by using the POP3 protocol. You don't need to specify a value with this switch. If you don't use this switch, the command also tests receiving a message using the POP3 protocol. ...
Convert powershell/PowerShell-CI-macos to GitHub Actions (#24954) Convert powershell/PowerShell-CI-linux to GitHub Actions (#24946) Convert powershell/PowerShell-Windows-CI to GitHub Actions (#24931) PMC parse state correctly from update command's response (#24859) Add EV2 support for publ...
PowerShell is a task-based command-line shell and scripting language built on the .NET Framework to help IT professionals control and automate the administration of the Windows, and now Linux, operating systems and the applications that run on them.) I’m going to share a bit more about our...
The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding. Destructive cmdlets (for example, Remove-* cmdlets) have a built-in pause that forces you to acknowledge the command ...
Convert powershell/PowerShell-CI-macos to GitHub Actions (#24954) Convert powershell/PowerShell-CI-linux to GitHub Actions (#24946) Convert powershell/PowerShell-Windows-CI to GitHub Actions (#24931) PMC parse state correctly from update command's response (#24859) Add EV2 support for publ...