使用PowerShell为新创建的VM分配IP [英] Assign IP to newly created VM using powershell
本文介绍了使用PowerShell为新创建的VM分配IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在hyperv中创建了一个新的虚拟机,并添加了一个全新的Windows服务器2012 VHD。
I have created a new VM in hyperv and added a fresh Windows server 2012 VHD.
现在我需要使用PowerShell为新VM分配IP。
Now I need to assign IP to the new VM using powershell.
问候,
Suganya。
推荐答案
嗨Suganya,
Hi Suganya,
查看命令 Set-VMNetworkAdapter
check out the command Set-VMNetworkAdapter
C heers,
Fred
Cheers,
Fred
这篇关于使用PowerShell为新创建的VM分配IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文