< # .SYNOPSIS This script strips out a port and protocol number from a URL .DESCRIPTION This script creates a regular expression reged then uses it to match against the URL to get the protocol and port. This is a re-write of the MSDN sample. .NOTES ...