PowerShell Eject CD/DVD Drive

Asphyxia

Server Monkey
Administrator
Joined
Apr 25, 2015
Messages
1,044
Points
237
Age
25
Location
North America
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