This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Register-ArgumentCompleter -CommandName @( | |
| 'Set-OneShellUserProfileSystem' | |
| 'Get-OneShellUserProfileSystem' | |
| ) -ParameterName 'Identity' -ScriptBlock { | |
| param($commandName, $parameterName, $WordToComplete, $commandAst, $fakeBoundParameter) | |
| $OrgProfilePath = if ($null -eq $fakeBoundParameter.OrgProfilePath) {$script:OneShellOrgProfilePath} else {$fakeBoundParameter.OrgProfilePath} | |
| $Path = if ($null -eq $fakeBoundParameter.Path) {$Script:OneShellUserProfilePath} else {$fakeBoundParameter.Path} | |
| $GetOneShellUserProfileSystemParams = @{ | |
| Path = $Path | |
| OrgProfilePath = $OrgProfilePath |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Test-TCPConnection | |
| { | |
| <# | |
| .SYNOPSIS | |
| Tests a TCP Connection to each port specified for each ComputerName specified. | |
| .DESCRIPTION | |
| Tests a TCP Connection to each port specified for each ComputerName specified and, | |
| if specified, can return details for each requested ComputerName and port. | |
NewerOlder