Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

I can see the Icon. But when i click it the web page is not going further. #176

Open
tharunkumarholiga opened this issue Mar 16, 2017 · 3 comments

Comments

@tharunkumarholiga
Copy link

This command will help us in pulling Portgroup VLAN details on cluster. Cluster-vROPS <script>vROPS\vropscluster</script>

The above is the one which I added in _def.xml file in powershell folder. I see the Icon and when I click it it doesnt take me to next page to provide input. I also changed the permission on the file still I see the same Issue.

Do i need to do anything else.

@9whirls
Copy link
Contributor

9whirls commented Mar 16, 2017

You don't need to edit _def.xml by yourself. Once you put your scipt into webcommander/powershell/any_sub_folder/, just click "generate command definition" on home page. It will parse your powershell script and add a new command section into _def.xml automatically.

@tharunkumarholiga
Copy link
Author

Everything worked fine. But apart from the inbuilt Scripts none of the others scripts are displaying the results. even though the code is 4488. do i need to any changes. or can I export the result.

@9whirls
Copy link
Contributor

9whirls commented Mar 17, 2017

The result depends on script output. If keyword "Fail -" shows in output, it's compared to known errors to get a specific error code. If no "Fail -" is found in output, it's considered as a success, hence given code 4488.
Please refer to builtin scripts about how to use output functions, such as writeCustomizedMsg and writeStdErr.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants