diff options
author | Paul Durivage <pauldurivage@gmail.com> | 2014-06-19 11:40:17 -0500 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2014-06-19 14:26:10 -0500 |
commit | 7e055ec6cc2539bcb55f7cfe414d6347b94cca4b (patch) | |
tree | bf6a421c4c8049ba5a19bef4864b8e3ccf5b65d0 /examples | |
parent | 43a7a5a990febdc11381376f10e5a22eb271b3d4 (diff) | |
download | ansible-7e055ec6cc2539bcb55f7cfe414d6347b94cca4b.tar.gz |
Remove unnecessary obj
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scripts/upgrade_to_ps3.ps1 | 5 |
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" |