Skip to content
  • Privacy Policy
  • Sample Page

Nick's Container on the cloud ;)

A self hosted blog

Month: November 2017

BASH: Script to register all VMX from a specific datastore path

Posted on November 26, 2017June 27, 2019 by Nithin Titta

Change the datastore_name to the name of the datastore on your setup

cd /vmfs/volumes/<DATASTORE_NAME>
find ./ -name *.vmx |while read in; do echo $in | sed 's:.:'`pwd`':'; done | while read full; do echo "Attempting to register " $full; vim-cmd solo/registervm $full; done

Categories

  • Database (1)
    • Mssql (1)
  • kubernetes (1)
  • Linux (2)
  • misc (5)
  • postgres (5)
  • Power CLI (3)
  • Uncategorized (25)
  • usage meter (5)
  • vCenter (36)
    • API (2)
    • DB (2)
    • esxi (11)
    • SRM (1)
    • vSphere replication (7)
  • vRA (7)
    • vRA8 (2)
  • vrbc (3)
  • vRO (1)

Recent Posts

  • vRA Deployments Fail with IPAM Provider Error: {“code”:3000,”message”:”The extensible attributes for search are not specified. (Dynamic Script Module name : findFixedAddressesByEA#27)”} (Dynamic Script Module name : throwIpamError#28)
  • cannot verify certificate chain. when attempting to add vCenter to usage meter 4.x
  • vRA 8.x GitLab Integration
  • HomeLab Storage Upgrade!!
  • vRA 7.6 HP upgrade fails RPM already installed

Recent Comments

  • Wojciech Marusiak on ubuntu 18.04 getting VMware guest customization to work
  • Thankful on Replacing vmdir certificates on vCenter 6.0
  • JT on Unlock /reset vSphere replication appliance root password.
  • Alex on web client service crashes java.lang.OutOfMemoryError: PermGen space and java.lang.OutOfMemoryError
  • Martin Pika on joining Esxi to domain fails with LW_ERROR_INVALID_MESSAGE [code 0x00009c46]

Archives

  • December 2020 (2)
  • November 2020 (3)
  • September 2020 (2)
  • August 2020 (2)
  • July 2020 (1)
  • June 2020 (4)
  • April 2020 (2)
  • March 2020 (3)
  • February 2020 (6)
  • January 2020 (3)
  • November 2019 (4)
  • October 2019 (1)
  • September 2019 (1)
  • August 2019 (2)
  • July 2019 (2)
  • June 2019 (4)
  • May 2019 (4)
  • April 2019 (6)
  • March 2019 (30)
  • October 2018 (1)
  • April 2018 (1)
  • March 2018 (1)
  • January 2018 (2)
  • November 2017 (1)
  • May 2017 (1)
  • April 2017 (1)
  • March 2017 (1)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

top
© 2021 Nick's Container on the cloud ;)
Theme: Techieblog by WP Crumbs