diff options
author | Michael DeHaan <michael.dehaan@gmail.com> | 2014-06-18 16:37:20 -0500 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2014-06-19 14:25:46 -0500 |
commit | 7309b2ad2a3ed06e7f6f600cb2c6d9001ffc65f3 (patch) | |
tree | d4772e09ca81184dc54088dc409438ad833bb4b0 /examples | |
parent | 61c236be9e24d0046db901df764fac4517b014c4 (diff) | |
download | ansible-7309b2ad2a3ed06e7f6f600cb2c6d9001ffc65f3.tar.gz |
Add explanation of windows upgrade details.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scripts/UpgradeToPS3.ps1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/examples/scripts/UpgradeToPS3.ps1 b/examples/scripts/UpgradeToPS3.ps1 index 83cc222b6e..1c938d64f1 100644 --- a/examples/scripts/UpgradeToPS3.ps1 +++ b/examples/scripts/UpgradeToPS3.ps1 @@ -1,4 +1,13 @@ -# Upgrade to PowerShell 3.0 + +# Powershell script to upgrade a PowerShell 2.0 system to PowerShell 3.0 +# +# some Ansible modules that may use Powershell 3 features, so systems may need +# to be upgraded. This may be used by a sample playbook. Refer to the windows +# documentation on docs.ansible.com for details. +# +# - hosts: windows +# tasks: +# - script: upgrade_to_ps3.ps1 # Get version of OS @@ -68,4 +77,4 @@ else $FileName = $DownLoadUrl.Split('/')[-1] download-file $downloadurl "$powershellpath\$filename" -."$powershellpath\$filename" /quiet /log "C:\powershell\install.log"
\ No newline at end of file +."$powershellpath\$filename" /quiet |