Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Browsing index pages (13334 articles)

Export all vCloud Edge Gateway rules to CSV file

Hi, For documenation purposes, I need to make a list of all vCloud firewall rules. Specifically, I am looking for Edge name, Rule ID, name, source, source port, destination, destination port, protocol,...

View Article


External Networks

Does anyone know of a way to create external networks with PowerCLI?

View Article


All vCloud VMs in a provider vDC

Trying to get all VMs use a provider. The issue is making the call from the provider to then get all the vApps - it cannot be made this way  Does anyone have a clean way of perfroming this action? ( A...

View Article

Image may be NSFW.
Clik here to view.

hi everyone!, there is a way to change bios.uuid from a vm in a vcloud vapp...

i have a problem , in vcloud director i create vapp templates , and the vms that i create from the template have the same uuid that the original vm. Many people will use those templates so, the option...

View Article

Image may be NSFW.
Clik here to view.

Create and Revert Snapshot

Hi  Could someone please give  a professional touch to this script so that I could Revert snapshot with results and then take a snapshot againI would really appreciate your response.Thanks      if (...

View Article


Argument 'uriTemplate' must not be null. Parameter name: uriTemplate

We are working on some scripts to automate vCloud Director tasks, a few of the functions within the script do not work and we receive an error:Exception calling "UpdateServerData" with "0" argument(s):...

View Article

New-CIVApp failed to create vApp from vAppTemplate in vCloud

Hello: I tried to create a vApp from a vAppTemplate using the command:New-CIVApp -Name $vAppName -Description "This vApp is created from PowerCLI" -OrgVdc $orgVDC -VAppTemplate $vAppTempl The problem...

View Article

VM Snapshot with Power shell cli

Hello All  I do not have much knowledge of Powershell but I'm trying to create a snapshot in vcloud.link-connect.com with below script but I'm getting an error as term "Connect-CIServer is not...

View Article


vcloud director 5.1 deploy a vapp with custom cpu, memory, disk and network

Hi there,  I'm trying to automate vapp deployments but customizing cpu, memory root disk and network The New-CIVM  looks limited to  vapp deployments from the template After the deployment I've been...

View Article


How to delete vCloud Director SHADOW-VM using PowerCLI

Does anyone know how to delete a shadow-vm using PowerCLI? After creating a vApp Template, we copy it across to other datastores (this step is scripted already). However, doing the copy, creates shadow...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Script to move VM's between vCloud vApps

Hi, I am looking to build a powershell script which will allow me to move/migrate the VM's from vApp in a Org vDC to another vApp in another Org vDC in the same organization. I was Import-CIVApp...

View Article

How to remove the network adaptor of a VM from VCloud

For removing the network adaptor on VCloud, i am trying below commands.$nic0 = Get-CIVM -Org "ID14434-*" | Get-CINetworkAdapterRemove-NetworkAdapter -NetworkAdapter $nic0 -Confirm:$false But it fails...

View Article

How to change catalog default storage policy?

I am trying to change the default storage policy on a organizations catalogOrganization -> Catalogs -> Org Catalog -> Properties -> Storage -> Pre-provision on on specific storage...

View Article


vCloud VM Monthly report vCpu|RAM|Storage

Hello , I am looking for script which will provide   Monthly report of  vCpu/ RAM & Storage  utilization by each  Individual vCloud  Director   Virtual Machine If the vCloud Director script is not...

View Article

Appending Firewall Rules to vShield Edge with PowerCLI Script

Hi, I have a script which enables us to upload 4k worth of firewall rules, but every time it executes, all existing rules are over written. Is this something to do with the API or just a scripting...

View Article


Set Mac address of vCloud VM

Hi For a customer I need to regularly clone a production VM into vCloud for a test-environment. The VM needs to have an identical Mac Address because of some old-fashioned licenses. After cloning, the...

View Article

Obtain next available external network IP

Hello, I am trying to automate the rollout of nested environments that will require external network connections. I'm looking for a way to determine the next available free IP from a given external...

View Article


vCloud: vShield Edge FW Rules

Hi all I'm looking for a way to get and set firewall rules on a vShield Edge firewall in a vCloud environment.  My final target is to write two scripts; one that will export the firewall rules from a...

View Article

Image may be NSFW.
Clik here to view.

VMware.VimAutomation.Logging.SoapInterceptor not found

Hi, I'm trying to reboot a VM with PowerCli and then wait until the vm is running. I user this command for this: Get-CIVM -VApp $VCloudVappName -Name $VCloudVmName | Restart-CIVMGuest -Confirm:$false...

View Article

Can I set CIVM name, CIVM computername or other parameters via PowerCLI

Hello!The main question in topic. I tried this one example:$VM = get-civm 'centos_template'($VM.ExtensionData.Section | where {$_ -is...

View Article
Browsing index pages (13334 articles)


Latest Images