在玩ansible的过程中,使用win_unzip模块时powershell支持不了,需要安装PSCX对powershell进行扩展,随手记录下安装过程。
Import-Module Pscx –arg C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Pscx\Pscx.UserPreferences.ps1
输入get-help pscx | less就可以看到pscx的帮助文件了,less比原来的more可好用多了。
原文:http://www.cnblogs.com/kingleft/p/6444125.html