PowerShell script exchange
Post Reply
cedric.bourgeois
Novice
Posts: 5
Liked: 1 time
Joined: Jan 27, 2014 11:05 am
Full Name: Cedric
Contact:

OS credentials

Post by cedric.bourgeois »

Hello,
I try to set credentials for different VM with windows OS included in a job with VSS option activated.
I can't find de powershell command.
I find how to create or manage credentials, how to add Job default credentials but nothing about OS credententions.

In the GUI it's simple => job Edit => Guest Processing => "Custumize guest OS credentials for individual VMs and operating systems" Credentials => selct OS and click Add...

How can I do it with command lines ?

thanks very much for your help
regards

Cédric
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: OS credentials

Post by veremin »

In order to achieve what you're after you should use Set-VBRJobObjectVSSOptions and its -Credentials parameter. Thanks.
cedric.bourgeois
Novice
Posts: 5
Liked: 1 time
Joined: Jan 27, 2014 11:05 am
Full Name: Cedric
Contact:

Re: OS credentials

Post by cedric.bourgeois » 1 person likes this post

thank you very much, as simple as that ;)
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: OS credentials

Post by veremin »

You're welcome.

And don't forget to check corresponding section of our Help Center. It's always recommended to start from there whenever you're looking for some commandlet or not sure about appropriate syntax, etc.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests