Explorar o código

fixing windows

afeiszli %!s(int64=3) %!d(string=hai) anos
pai
achega
ba99943926
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/netclient-install.ps1

+ 1 - 1
scripts/netclient-install.ps1

@@ -52,7 +52,7 @@ new-module -name netclient-install -scriptblock {
     echo "outpath: $outpath"
     $NetArgs = @("join","-t",$token)
     echo "netargs: $NetArgs"
-    Start-Process -Filepath $outpath -ArgumentList $NetArgs -wait -NoNewWindow
+    Start-Process -Filepath $outpath -ArgumentList $NetArgs -Wait
     Add-MpPreference -ExclusionPath "C:\ProgramData\Netclient"
 
     if ((Get-Command "netclient.exe" -ErrorAction SilentlyContinue) -eq $null) {