Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

vCAC 5.2 Workflow - Powershell issue

$
0
0

Hi,

 

I've been testing vCAC 5.2 for quite a while now. I'm currently testing the workflows. I modified the workflow WFStubBuildingMachine to lauch a script to "pre-stage" the AD components(computer accounts,security groups and GPO) of the to-be created VM on our AD.

 

The issue that I'm having is that when I import my "AD Prestage" powershell script to the Designer using cloudutil file-import. I get this error below when requesting a new VM:

Workflow "WFStubBuildingMachine" failed with the following exception: The term '��' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

 

But if I use a basic script that create the computer account only using the same Name when I import the file using cloud-util and the workflow works fine and run my script.

 

What is really odd, is that from the server hosting vcac, I can run my powershell script and it run fine. But for whatever reason it doesnt run thru the workflow. I know that it is related to that perticular script but still odd that it run fine within the same server hosting vcac.

 

What other log can I look into ?

Any clues for me ?

 

Thank you

Alex


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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