Solved

A script to Create 60 vmdk drives in VCD or vCenter 5.0

Posted on 2014-03-20
7
366 Views
Last Modified: 2014-03-26
I need to attach more than 60 vmdk disk to a newly created VM in vCenter 5.0.  Is there a script available to help me accomplish this task?

liptotech
0
Comment
Question by:lipotech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 

Author Comment

by:lipotech
ID: 39943665
I just discovered two vmware tools called VM Player and Virtual Disk Manager.  Would these tools be helpful in providing a solution to this problem.

lipotech
0
 
LVL 62

Expert Comment

by:gheist
ID: 39943865
You can not attach more than 60 disks to a single VM (see "configuration maximums" document for your release of vmware)
0
 

Author Comment

by:lipotech
ID: 39950195
Is there a known script that I can use to create 60 disks?   Do you have any experience with  VM Player and Virtual Disk Manager?

lipotech
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 62

Expert Comment

by:gheist
ID: 39950495
it is powercli comand New-HardDisk
0
 

Author Comment

by:lipotech
ID: 39951153
gheist,

Okay thanks.  I can write a script from scratch, but if there is a canned example or functionable script that is available, I could save some time developing a new script for this solution.

lipotech
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 39951183
Something like "basic loop with counter in powershell" ?
0
 

Author Closing Comment

by:lipotech
ID: 39956929
Excellent feeedback.  Thank you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question