开发者

Scripting using powerCLI Scripts

开发者 https://www.devze.com 2023-03-05 11:31 出处:网络
Is it possible to do scripting using powerCLI scripts to automate VM creation using notepad? or any powerCLI developing tool?

Is it possible to do scripting using powerCLI scripts to automate VM creation using notepad? or any powerCLI developing tool?

How to g开发者_开发百科o about studying PowerCLI scripting from scratch to automate VM creation?


More or less two months ago, I started learning powershell because the needing of using PowerCLI :). PowerCLI is the best choice for scripting vmware vsphere automation.

When you start PowerCLI command line tool you can work there exactly as you were inside the powershell. Furthermore, you can use all the included cmdlets (more than 200) for vmware vsphere automation.

Scripting with PowerCLI is exactly the same as scripting with Powershell. Try it!

To get started:

  • Getting Started
  • PowerCLI home
  • Community Discussions
  • Online Reference

NOTE You won't find here at stackoverflow a lot of answerers about PowerCLI (I think and, anyway, unless me and someone other). The fact that @JPBlanc as created a new tag about it is a proof. If you really want support in your scripting questions go directly to the vmware community, you will find everything there.


NOTE ABOUT NOTEPAD

DO NOT USE NOTEPAD. Use something like Powershell ISE or VIM or Notepad++.


@JPBlanc I use PowerGUI Script Editor and it works great. Make sure to add it to your sendto folder so you can just drop highlighted scripts right into the editor.

0

精彩评论

暂无评论...
验证码 换一张
取 消