summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaul Durivage <pauldurivage@gmail.com>2014-06-19 11:40:17 -0500
committerMatt Martz <matt@sivel.net>2014-06-19 14:26:10 -0500
commit7e055ec6cc2539bcb55f7cfe414d6347b94cca4b (patch)
treebf6a421c4c8049ba5a19bef4864b8e3ccf5b65d0 /examples
parent43a7a5a990febdc11381376f10e5a22eb271b3d4 (diff)
downloadansible-7e055ec6cc2539bcb55f7cfe414d6347b94cca4b.tar.gz
Remove unnecessary obj
Diffstat (limited to 'examples')
-rw-r--r--examples/scripts/upgrade_to_ps3.ps15
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/scripts/upgrade_to_ps3.ps1 b/examples/scripts/upgrade_to_ps3.ps1
index a75b158a34..794da55bd5 100644
--- a/examples/scripts/upgrade_to_ps3.ps1
+++ b/examples/scripts/upgrade_to_ps3.ps1
@@ -17,6 +17,7 @@
# 6.2 is 2012
# 6.3 is 2012 R2
+Start-Transcript "C:\powershell\scriptlog.txt"
if ($PSVersionTable.psversion.Major -ge 3)
{
@@ -77,5 +78,5 @@ else
$FileName = $DownLoadUrl.Split('/')[-1]
download-file $downloadurl "$powershellpath\$filename"
-
-."$powershellpath\$filename" /quiet
+Stop-Transcript
+."$powershellpath\$filename" /quiet /log "C:\powershell\install.log"