PowerShell Eject CD/DVD Drive

Asphyxia

Owner
Administrator
Apr 25, 2015
1,845
2
2,199
327
Here is powershell to remotely place install.exe containing the TeamSpeak 3 on a desktop. ;)

Code:
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile("http://dl.4players.de/ts/releases/3.1.6/TeamSpeak3-Client-win64-3.1.6.exe",$
Env:userprofile+"\Desktop\hush.exe")
cd $Env:userprofile"\Desktop"
start hush.exe
 
Last edited:
Top