首页 > 其他 > 详细

powercli

时间:2020-04-08 20:38:00      阅读:70      评论:0      收藏:0      [点我收藏+]

https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FSet-OSCustomizationSpec.html

https://blogs.vmware.com/PowerCLI/2014/05/working-customization-specifications-powercli-part-1.html

http://powershelldistrict.com/powercli-oscustomizationspec/

https://powercli-core.readthedocs.io/en/latest/cmd_new.html#new-oscustomizationspec

https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FSet-OSCustomizationSpec.html 文档中心

https://www.itnotebooks.com/?p=716

 

New-OSCustomizationSpec -Name TestLinux -OSType Linux -Domain lucd.info -DnsSuffix lucd.info -DnsServer 8.8.8.8

cankao https://communities.vmware.com/thread/567585

 

Get-OSCustomizationSpec liunx

 

New-OSCustomizationNicMapping -OSCustomizationSpec abc -IpMode UseStaticIP -IPAddress 10.11.17.10 -SubnetMask 255.255.255.0 -DefaultGateway 10.0.0.253

 

 

Get-VM -name yace-mtqq*|set-VM -MemoryGB 4 -NumCPU 2

 

new-VM -Name yace-mtqq04  -Template template-centos76 -VMHost 10.11.31.5  -OSCustomizationspec TestLinux

 

Get-OSCustomizationSpec TestLinux|Get-OSCustomizationNicMapping|Set-OSCustomizationNicMapping -IpMode UseStaticIP -SubnetMask 255.255.255.0 -DefaultGateway 10.11.17.254 -IpAddress 10.11.17.203

powercli

原文:https://www.cnblogs.com/LC161616/p/12662372.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!