分类: 系统运维
2013-12-16 10:20:42
其中最常见的问题,我在今年的VMworld大会是“需要什么样的学习PowerCLI的”,很多人已经看到了奇妙的事情,你可以做的,它绘制的基础设施到Visio或检查您的 PowerCLI的环境潜在的问题。
我总是告诉人们,如果我能学到PowerCLI的,那么任何人都可以PowerCLI和PowerShell中的巨大优势之一是,它是针对系统管理员,写的人谁需要把工作做好,把它做快速移动接下来的事情。
With that in mind it is not only easy to understand what something like New-VM does but also very easy to learn as all the information you need is often very easy to read, easy to work out what’s going on and also right there in the PowerCLI console.
One of my favorite learning resources is the help built in to PowerCLI.
From within the console you can easily access not only the full help for each cmdlet but also examples of how you might use this cmdlet, these are great because they not only show examples of how to use the cmdlets but also cover some of the top use cases for that cmdlet. A great deal of thought goes into the help files and these examples to make them relevant and useful.
To access the help and the examples for a cmdlet there are multiple ways, firstly you can see the help as part of the online documentation for PowerCLI here, secondly you can run the Get-Help cmdlet and also use the –examples parameter to gain more information, see below for an example: