Copy and execute a script to vmware center server

This post was originally published on this site

I need to run a script in my VMware vcenter server. The Instructions are:

 

  1. Download and extract the scripts from the attached 80227_cleanup_unsupported_metadata_files.zip.
  2. Copy and execute cleanup_patch_store.sh script on your vCenter Server.
  3. Run Sync Updates.

 

I downloaded the WMware CLI in powershell 7 using: Install-Module -Name VMware.PowerCLI -RequiredVersion 6.5.4.7155375

 

 

I connected to my vSphere server using the command Connect-VIServer -Server -My server name-

 

How would I run the script files from my windows PC in this CLI shell? I turned on BASH shell in my appliance.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.