So, in PowerCLI to add an NFS mount to a host, you would use the following code:
However, you would need PowerShell, PowerCLI and the permissions to perform the action. Not only that, but you would also need the knowledge of how to execute PowerShell code, and be able to determine what vCenter server the host your trying to work with is connected too.
Let's automate this! So in vOrchestrator, get a new workflow going.
Add a scriptable task, I used the following code block:
Add the following inputs:
Set up your bindings:

Validate and add your end point:

And execute your workflow!

Done!
From here, you can add permissions to your operations or lower-level administration teams for execution.





