Windows-pe: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
 
Powershell | WGet in WinPE via SCCM TS
 
Powershell | WGet in WinPE via SCCM TS
  
*powershell.exe -command (($DL = New-Object System.Net.WebClient).DownloadFile(\"http://doom.xinux.org/download/startup.cmd\",\"c:\startup.cmd\"))
+
type c:\start.cmd
 
+
del c:\startup.cmd
 +
powershell.exe -command (($DL = New-Object System.Net.WebClient).DownloadFile(\"http://doom.xinux.org/download/startup.cmd\",\"c:\startup.cmd\"))  
 +
c:\startup.cmd
  
 
*https://social.technet.microsoft.com/Forums/en-US/e8a91085-a4a3-4c64-beab-2b61fea50e75/powershell-wget-in-winpe-via-sccm-ts
 
*https://social.technet.microsoft.com/Forums/en-US/e8a91085-a4a3-4c64-beab-2b61fea50e75/powershell-wget-in-winpe-via-sccm-ts

Version vom 10. Dezember 2015, 17:25 Uhr

Include a Custom Script in a Windows PE Image

Beispieldateien für die unbeaufsichtigte Installation

Powershell | WGet in WinPE via SCCM TS

type c:\start.cmd

del c:\startup.cmd
powershell.exe -command (($DL = New-Object System.Net.WebClient).DownloadFile(\"http://doom.xinux.org/download/startup.cmd\",\"c:\startup.cmd\")) 
c:\startup.cmd