vRA Build 6.2.2-2754020
vRO 6.0.1
Via the vRA GUI I can create Business Groups with the same names in different Tenants as follows:
Tenant1: BusGroup1, BusGroup2, BusGroup3
Tenant2: BusGroup1, BusGroup2, BusGroup3
However, creating the Business Groups with the same names in different Tenants via the vRO plugin, specifically the workflow Library / vCloud Automation Center / Administration / Business Groups / Create a Business Group, fails in the second tenant with the below error:
Querying vRO workflows using the vRO REST API is relatively straightforward task. Use the below URL with a GET request and specify a condition to search for them, e.g. to find one by it’s name use:
https://vroserver.domain.local:8281/vco/api/workflows?conditions=name=test01
You should get a response similar to the following if a workflow of that name exists:
[javascript]
{ “link”: [ { “attributes”: [ { “value”: “https://vroserver.domain.local:8281/vco/api/workflows/cb9264b1-c832-4ee3-b95a-db73f7a2fedf/", “name”: “itemHref” }, { “value”: “cb9264b1-c832-4ee3-b95a-db73f7a2fedf”, “name”: “id” }, { “value”: “Test”, “name”: “categoryName” }, { “value”: “true”, “name”: “canExecute” }, { “value”: “https://vroserver.
I needed to setup a Minecraft server so that one of my kids could play online against a friend who had moved to another continent and they wanted a few different ways to stay in touch. Since one half of the friendship doesn’t have Xbox Live, but both have the PC / Mac version I figured I could sort out a hosted server for them to play on. There are plenty of places around that will host one for you for a small fee, but since I had some monthly Windows Azure credits via my MSDN subscription I figured I’d have a go setting up my own one and see how that went.
The original Project Onyx (also here) was a VMware Fling which intercepted calls between the C# vSphere client and vCenter and could translate things you did in the GUI client to code in your choice of languages; SOAP, C#, PowerCLI, and JavaScript. This was really useful if say a thing you needed to do was not yet covered by a PowerCLI cmdlet, or you wanted to try and make it faster by using Get-View, or you didn’t know how to code it in JavaScript for vRO.
Update 18/01/2021: See this post for details on an updated version of this module, parts of the below may now be out of date.
Brickset.com is one of my favourite sites for finding info about Lego sets and keeping up-to-date with Lego news. I noticed recently that they had an API so I thought I would check it out. I posted a while back on how to do some similar stuff with other websites, but some of the functionality on those websites is no longer available.
I didn’t realise until yesterday that the default value of a variable using the [int] type had a default value of 0, e.g
\[Int\]$a So what’s the big deal? Say you have a function as follows:
function Test-DefaultInt { Param ( \[Int\]$a, \[Int\]$b, \[Int\]$c ) "a is $a" "b is $b" "c is $c" } and run it like so
Test-DefaultInt -a 5 -b 6 -c 7 Test-DefaultInt -a 5 -b 6 You get the following results:
While attempting to clone a Git based repository in Stash via the SourceTree client, I received the following error:
fatal: unable to access ‘http://
[email protected]:443/repo.git/': Failed connect to company.local:443; No error
No error obviously doesn’t give many clues, however this post suggested something to do with proxy settings.
My web browsers were configured to use an internal web proxy via an automatic configuration script and I could successfully navigate to the repository via a web browser.
If you have the mis good fortune to work with the vCloud / vRA Automation Center Designer, which can still be used / is required for some elements of automation within vCAC / vRA then you may experience issues even installing it.
While attempting to install the Designer client on two different management servers (Windows 2008 R2 and 2012 R2), I received the same error:
vCloud Automation Center Designer: Setup was Interrupted
I was looking to make use of a PowerShell feature which prevents a script from running without the required elements. Detailed here (about_Requires) there are examples for requiring specific versions of PowerShell, snap-ins and modules, and administrative rights.
In particular I was looking at the modules example given in the documentation:
#Requires -Modules PSWorkflow, @{ModuleName="PSScheduledJob";ModuleVersion=1.0.0.0} Unfortunately, using this example as is given generates an error Argument must be constant:
C:\\Scripts\\Scratch> .
There is an excellent post over at Automate-IT.today which details how to create a vRA IaaS Blueprint from vRO. Once you have used the workflow from that site to create a Blueprint it still needs to be published before it can be used as a vRA Catalog Item, added to a Service etc.
Note that even updating Christiaan Roeleveld’s code to set the property IsPublished to true, doesn’t actually publish the Blueprint.