summaryrefslogtreecommitdiff
path: root/examples/scripts
diff options
context:
space:
mode:
authorChris Church <chris@ninemoreminutes.com>2014-06-19 12:25:44 -0500
committerMatt Martz <matt@sivel.net>2014-06-19 14:26:42 -0500
commit5b85252043ec16271989dad90a54861360ed3fd4 (patch)
tree7312713e1aecb3b5edf532f4e918e5fe75309e77 /examples/scripts
parentbceaf96fd610fb6f9755cbd46e6de509ca6552e6 (diff)
downloadansible-5b85252043ec16271989dad90a54861360ed3fd4.tar.gz
Add tests for windows setup module.
Diffstat (limited to 'examples/scripts')
-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"