VMware Cloud Community
rsgqjj
Contributor
Contributor
Jump to solution

Requests for functions

Rescan HBAs.

Get settings in VMX config file. (MAC Address, vmxnet, etc..)

Check if Snapshots exist for vmguest

Reply
0 Kudos
1 Solution

Accepted Solutions
halr9000
Commander
Commander
Jump to solution

I'd like to be able to remove uneccessary serial\parallel\usb ports and correct the SCSI Controller otherwise we have to do it manually in a DR situation)

I'd had the same idea (http://halr9000.com/article/464#comment-6470) but have not looked at /how/ yet. I bet LucD has, he seems to get pretty deep into the SDK. Smiley Happy

Hal Rottenberg

Co-Host, PowerScripting Podcast (http://powerscripting.net)

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000

View solution in original post

Reply
0 Kudos
9 Replies
hugopeeters
Hot Shot
Hot Shot
Jump to solution

Checking for snapshots can be done by the Get-Snapshot cmdlet.

Reply
0 Kudos
rsgqjj
Contributor
Contributor
Jump to solution

Thanks,

I guess I could use that since it just doesn't return any output if none exists.

In addition to the others listed , I noticed another real nice need.

  • If I need to change settings of vmguests in a Resource Pool from NORMAL to LOW or HIGH or set a CUSTOM share level it would be good to code that instead of going into each one at a time

Reply
0 Kudos
halr9000
Commander
Commander
Jump to solution

I haven't messed with it yet, but you should be able to do this with New-ResourcePool to create the reservations. Then you would use Move-VM to place your VMs into that pool. Maybe VMware or someone else can verify this.

Hal Rottenberg

Co-Host, PowerScripting Podcast (http://powerscripting.net)

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000
Reply
0 Kudos
AndyShine
Enthusiast
Enthusiast
Jump to solution

How about "New-SerialPort" "Remove-SerialPort", ditto Parallel port, ditto USB Controller (particularly the remove!) ?

Also "Set-SCSIController" to change the type between BusLogic and LSI

(I'm using a powershell script using the VI toolkit and P2VTOOL.exe to hot clone production servers to a DR Cluster. I'd like to be able to remove uneccessary serial\parallel\usb ports and correct the SCSI Controller otherwise we have to do it manually in a DR situation)

Thanks

Andrew

halr9000
Commander
Commander
Jump to solution

I'd like to be able to remove uneccessary serial\parallel\usb ports and correct the SCSI Controller otherwise we have to do it manually in a DR situation)

I'd had the same idea (http://halr9000.com/article/464#comment-6470) but have not looked at /how/ yet. I bet LucD has, he seems to get pretty deep into the SDK. Smiley Happy

Hal Rottenberg

Co-Host, PowerScripting Podcast (http://powerscripting.net)

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000
Reply
0 Kudos
rsgqjj
Contributor
Contributor
Jump to solution

That is only helpful when creating new Resource pools. If I have an existing resource pool and many guests are set to CUSTOM or another share level that i would like to change on that individual guest then that is a one guest at a time change via the VI client and it sure would be good to do multiple at a time or better yet automate it here from VI Toolkit.

The other guys making points on changing devices is kinda what I meant by changing the VMX config file settings , where any change can be automated via Tookit, sure would be great.

thanks

Reply
0 Kudos
halr9000
Commander
Commander
Jump to solution

Guys, I just realized this is bad forum etiquette and I've only been enabling it. Smiley Happy

Please open a new thread for each individual request/problem/discussion, that way others can find it later, and people following "all new posts" will see your post, instead of it being hidden behind this generic thread title.

Now, I myself made a similar thread titled "", but the ANSWERS are not discussed in that thread.

(If I were a moderator here, I might close this thread.)

Just saying...

thanks

Hal Rottenberg

Co-Host, PowerScripting Podcast (http://powerscripting.net)

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000
Reply
0 Kudos
EverGreen_28
Contributor
Contributor
Jump to solution

Hi guys, i don't idea if i'm in the right place.

Like Subject said. I place a request here for us to add a function.

Function is like :

priority.grabbed = "host_controlled"  
priority.ungrabbed = "host_controlled"

 

Is very frustrating all time i grab / ungrab to / from a virtual machine go to taskmanager on the host OS to set vmware-vmx.exe priority to high or whatever higher than normal.

If i set priority to high and ungrab from vmware, priority process goes lower to normal.

Pleaseeeee add this "host_controlled" option to priority.grabbed & priority.ungrabbed settings

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

These are VMware Workstation undocumented VMX settings afaik.
I suggest opening a new thread in the Workstation community.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos