I am trying to import citrix policies, in an automated setup, using the SDK's
The script is working fine, when run manually on the DDC, but when i run it from AzureDevOps with the Invoke-VMScript, it failes, due to missing the psdrive i assume.
I am guessing there is some session issue, being the problem.
The script is run with domain admin credentials, on the VM.
Question
Janus Stampe
I am trying to import citrix policies, in an automated setup, using the SDK's
The script is working fine, when run manually on the DDC, but when i run it from AzureDevOps with the Invoke-VMScript, it failes, due to missing the psdrive i assume.
I am guessing there is some session issue, being the problem.
The script is run with domain admin credentials, on the VM.
and its pretty simple:
The invoke script, run from the agent vm, has the credentials.
The output i am getting is:
Link to comment
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now