Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Browsing all 9071 articles
Browse latest View live

Uploading Snip-its

While I was at Vmworld I head there was a URL that you could trade code/examples.Plus I want a powercli t-shirt

View Article


Image may be NSFW.
Clik here to view.

VCSA disk utilization report

Hello All, Recently we had boot drive full issue on one of the VCSA 6.0. After this issue, we have decided to set some monitoring for all disk usage. what are the ways get this done.we have vROPS in...

View Article


Get List of VMs, Datastores and Folder name per Cluster

Hello!!  I'm hoping someone can assist me with a PowerCLI script that can pull the subject info into a txt or csv file.  In an effort to get our environment cleaned up before our next DR exercise with...

View Article

New-CDDrive -contentlibraryiso issue

Hi All, I'm trying to add a cd drive with a mounted iso from the content library. I'm trying the following: PS D:\Users\z8qno> $test = Get-ContentLibraryItem -Name "TinyCore-current.iso"PS...

View Article

vCLI Host Backups (minimum permissions)

I've been going onto each of my ESX hosts and creating a new account called "backup" that I then use in a --config file to backup that host using the vicfg-cfgbackup.pl script.  Just to get it to work...

View Article


Need Powershell script for VM inventory

Hi, Need a powershell script to collect the below given info from virtual center. vmname | ESX Name | memory(GB) | vCPU count | vNIC Count | IP address(all) | vmdk(s) size(GB) | Total vmdk size(GB) |...

View Article

Image may be NSFW.
Clik here to view.

PowerCLi

Guys, Any help would be appreciated.... I have a SATA Controller and I am trying to add HD's via powercli, keep asking for SCSI controller type. The option I see for -controller is not "SATA...

View Article

Image may be NSFW.
Clik here to view.

get-esxcli error

getting this error when adding $esxcli to the script any idea? 

View Article


Help Needed for Snapshot creation and Deletion

Hello, I am using this Powershell GUI based script made by one of Microsoft engineer to create snapshot and also report using email. I have enhanced it further and also added delete snapshot. Now what...

View Article


Image may be NSFW.
Clik here to view.

invoke-vmscript vmwarte tools upgrade on linux

trying to get an automated way to patch linux guests $cmd1 = get-vm testlinux | Mount-Toolsstart-sleep 5$script1 = "mkdir -p /mnt/cdrom && mount /dev/cdrom /mnt/cdrom && cp -f...

View Article

Need help with RDM script to set them to Perennially Reserved

So I found this script to set the RDMs to Perennially Reserved, however, we have probably 15-20 VMs with RDMs so doing this manually can be tough.  I'd like to be able to have PowerCLI build a list of...

View Article

SRM - How to keep Recovery Status in a powershell script when Recovery Plan...

I need to automate scripts for storage tasks (NetApp) that are not managed by SRM. To automate scripts with SRM I have created steps in the Recovery Plan that invoke Powershell scripts.I have the...

View Article

Image may be NSFW.
Clik here to view.

Assistance with scrip to bulk set Perennially Reservations using Get-ESXCLi

I was hoping for a little help here. Ive written a script that Should set a lun to "Perennially Reserved" using Powercli & Get-ESXICli, however when I run the following command locally on a host to...

View Article


vSphere 6.5 – Automate VCSA Backup (Lost)

Hi guys, Hoping you can help a CLI noob. I'm trying to get this to work as per Brian's article (https://www.brianjgraf.com/2016/11/18/vsphere-6-5-automate-vcsa-backup) and failing hopelessly. I'm just...

View Article

PowerCLI Core - Update or Roadmap

Hi, I'm looking at increasing the automation of our platform with Ansible. As such, I'm looking at ways to run PowerCLI on the Ansible host. The PowerCLI Docker container is one option, however with...

View Article


Invoke-VMScript to disable Remote Desktop Network Level Authentication

Hi comrades!I need a liitle help)I have thisInvoke-VMScript -vm $vm -GuestUser Administrator -GuestPassword NewYork2017! -ScriptType Powershell -Scripttext "(Get-WmiObject -class...

View Article

Image may be NSFW.
Clik here to view.

vCheck halts at "snapshot information.ps1" with vSphere 6.5

Hello, vCheck used to work perfectly with vSphere 6.5, but it started to face issues in step 64, nothing as changed in the environment, and it doesn't also ask for the credentials, I've created the...

View Article


Help Migrating VMs

A little history.  I'm trying to migrate some VMs from a cluster running vSphere 5.1 to a new vSphere 6.0 vSAN Cluster.  Via the web client, if I do a migrate both Compute & Storage option, and...

View Article

Trying to list Datastores that are not in a list of folders.

I am stuck, What I would like to do is exclude datastores within a list of datastore folders when getting a list of datastores. if I do a get-folder, I get the following (which is expected): Name...

View Article

Image may be NSFW.
Clik here to view.

PowerCLI script to get HP Onboard Administrator IP

Hi All,I'm in a difficult situation. I have 4 HP C7000 Chassis' that I have no IP information (OA and VCM). The Blades in the chassis are BL460 G7's (16 per Chassis total of 64 Hosts in 4 Farms). The...

View Article
Browsing all 9071 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>