Is there a way to pull the VDI name from Orchestrator?

Our design council would like a status email that includes the name of the VDI that is hosting the Robot. The VDIs are assigned dynamically, so I can’t simply hard-code it into the email.

Can I somehow retrieve the VDI name from Orchestrator?

Hi @james.harvey

wherever your trying to insert the host name of the VDI Use this :
Environment.UserDomainName

1 Like

Hi

You can use either
Environment.MachineName or Environment.UserName

Cheers @james.harvey

Just FYI, Orchestrator is irrelevant. The Job is running on a server separate from Orchestrator, Orchestrator only triggers the Job. Palaniyappan’s answer is correct.

Thanks for all of the help!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.