55 [parameter (Mandatory = $false )] [ValidateSet (1 , 2 )] [int ] $HnsSchemaVersion = 2
66)
77
8- $GithubSDNRepository = ' Microsoft/SDN '
8+ $GithubSDNRepository = ' Microsoft/wcnscripts '
99if ((Test-Path env:GITHUB_SDN_REPOSITORY) -and ($env: GITHUB_SDN_REPOSITORY -ne ' ' ))
1010{
1111 $GithubSDNRepository = $env: GITHUB_SDN_REPOSITORY
@@ -17,18 +17,15 @@ md $BaseDir -ErrorAction Ignore
1717$helper = " $BaseDir \helper.psm1"
1818if (! (Test-Path $helper ))
1919{
20- Invoke-WebRequest - UseBasicParsing " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows /helper.psm1" - OutFile $BaseDir \helper.psm1
20+ Invoke-WebRequest - UseBasicParsing " https://raw.githubusercontent.com/$GithubSDNRepository /master/scripts/helper /helper.psm1" - OutFile $BaseDir \helper.psm1
2121}
2222ipmo $helper - Function DownloadFile
2323
24- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/debug/dumpVfpPolicies.ps1" - Destination $BaseDir \dumpVfpPolicies.ps1
25- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/hns.v2.psm1" - Destination $BaseDir \hns.v2.psm1
26- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/debug/starthnstrace.cmd" - Destination $BaseDir \starthnstrace.cmd
27- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/debug/starthnstrace.ps1" - Destination $BaseDir \starthnstrace.ps1
28- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/debug/startpacketcapture.cmd" - Destination $BaseDir \startpacketcapture.cmd
29- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/debug/startpacketcapture.ps1" - Destination $BaseDir \startpacketcapture.ps1
30- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/debug/stoppacketcapture.cmd" - Destination $BaseDir \stoppacketcapture.cmd
31- DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/windows/debug/portReservationTest.ps1" - Destination $BaseDir \portReservationTest.ps1
24+ DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/scripts/helper/dumpVfpPolicies.ps1" - Destination $BaseDir \dumpVfpPolicies.ps1
25+ DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/scripts/helper/hns.v2.psm1" - Destination $BaseDir \hns.v2.psm1
26+ DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/scripts/starthnstrace/starthnstrace.ps1" - Destination $BaseDir \starthnstrace.ps1
27+ DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/scripts/startpacketcapture/startpacketcapture.ps1" - Destination $BaseDir \startpacketcapture.ps1
28+ DownloadFile - Url " https://raw.githubusercontent.com/$GithubSDNRepository /master/Kubernetes/scripts/portReservationTest/portReservationTest.ps1" - Destination $BaseDir \portReservationTest.ps1
3229
3330ipmo $BaseDir \hns.v2.psm1 - Force
3431
0 commit comments