Connect-QADService - Local

Hi Guys. 

I have a Workflow which when executed kicks off a powershell script. Within the script i have a connection to ARS

Is there a way at all that rather than hard coding the AR Server that it uses the AR server that it is being executed on? Any work around? 

$ARServer = "AR-Server-FQDN"

#Connect to Active Roles
Connect-QADService -Service $ARServer -Proxy

Parents Reply Children
No Data