PSD icon indicating copy to clipboard operation
PSD copied to clipboard

deployment share with different port

Open stefanweilguni-oss opened this issue 2 months ago • 0 comments

I have the deployment share at port 8443 because of 443 allready used. (https://mdtps.domain.something:8443/MDTPS

So I have to change "Test-PSDNetCon" function in "PSDUtility.psm1" module somehow like this:

hostname delivered to this function is "mdtps.domain.something:8443" in PSDStart.ps1 (# Validate network route to $deployRoot) Powershell

    if ($Hostname -match ":") {
        $Port = $Hostname.Split(":")[1]
        $Hostname = $Hostname.Split(":")[0]
    }
    else {
        switch ($Protocol) {
            SMB {
                $Port = 445
            }
            HTTP {
                $Port = 80
            }
            HTTPS {
                $Port = 443
            }
            WINRM {
                $Port = 5985
            }
            Default {
                exit
            }
        }
    }

stefanweilguni-oss avatar Nov 10 '25 09:11 stefanweilguni-oss