Explorar el Código

fixing windows

afeiszli hace 3 años
padre
commit
ba99943926
Se han modificado 1 ficheros con 1 adiciones y 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) {