summaryrefslogtreecommitdiff
path: root/examples/scripts/upgrade_to_ps3.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scripts/upgrade_to_ps3.ps1')
-rw-r--r--examples/scripts/upgrade_to_ps3.ps15
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/scripts/upgrade_to_ps3.ps1 b/examples/scripts/upgrade_to_ps3.ps1
index c9096b22f4..567dc7ba87 100644
--- a/examples/scripts/upgrade_to_ps3.ps1
+++ b/examples/scripts/upgrade_to_ps3.ps1
@@ -28,7 +28,6 @@ $powershellpath = "C:\powershell"
function download-file
{
- Get-Process | Out-File c:\powershell\whatisrunningrightnow.txt
param ([string]$path, [string]$local)
$client = new-object system.net.WebClient
$client.Headers.Add("user-agent", "PowerShell")
@@ -78,6 +77,6 @@ else
}
$FileName = $DownLoadUrl.Split('/')[-1]
-# download-file $downloadurl "$powershellpath\$filename"
-
+download-file $downloadurl "$powershellpath\$filename"
+write-host "$powershellpath\$filename"
."$powershellpath\$filename" /quiet /log "C:\powershell\install.log"