Function GetSiteName { | |
Param([string]$hostname, [string]$port) | |
return $("{0}{1}" -f $hostname, $port); | |
} | |
Function GetSiteUrl { | |
Param([string]$hostname, [string]$port) | |
return ("http://{0}:{1}" -f $hostname, $port); | |
} | |
Function ParseResponse { | |
Param([object]$response) | |
return ($response.Content.Substring($response.Content.IndexOf("{")) | ConvertFrom-Json) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment