-
- Influencer
- Posts: 22
- Liked: 2 times
- Joined: Mar 21, 2014 11:41 am
- Full Name: Gareth
- Contact:
Find VSS Credentials WindowsUsername from VSSOptions object.
Hi,
I'm having some problem getting the VSSOptions Win Creds Username from a job.
What I need to do is find a job then workout which credentials are used by the job for VSS operations.
Currently, this seems impossible. What am I missing? I can find an ID but I can't see individual creds ID's so that doesn't help.
Does anyone have any ideas.
Regards,
Gareth
I'm having some problem getting the VSSOptions Win Creds Username from a job.
What I need to do is find a job then workout which credentials are used by the job for VSS operations.
Currently, this seems impossible. What am I missing? I can find an ID but I can't see individual creds ID's so that doesn't help.
Does anyone have any ideas.
Regards,
Gareth
-
- Veeam Software
- Posts: 643
- Liked: 162 times
- Joined: Dec 10, 2012 8:44 am
- Full Name: Nikita Efes
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
You may use this ID to filter output of Get-VBRCredentials command, something like that:
Code: Select all
Get-VBRCredentials | ?{$_.id -eq $job.VSSoptions.WinCredsId}
-
- Influencer
- Posts: 22
- Liked: 2 times
- Joined: Mar 21, 2014 11:41 am
- Full Name: Gareth
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
Are you sure? Veeam.Backup.Common.CCredentials doesn't seem to expose an ID attribute/method.
-
- Product Manager
- Posts: 20284
- Liked: 2258 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
What product version you are currently at?
-
- Influencer
- Posts: 22
- Liked: 2 times
- Joined: Mar 21, 2014 11:41 am
- Full Name: Gareth
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
Thanks for the reply,
8.0.0.2084
8.0.0.2084
-
- Product Manager
- Posts: 20284
- Liked: 2258 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
You might want to update to version 9 and make use of ID parameter that has been added to VBR PS Credentials. Thanks.
-
- Influencer
- Posts: 22
- Liked: 2 times
- Joined: Mar 21, 2014 11:41 am
- Full Name: Gareth
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
Grumble.
OK thanks. We are moving to v9 shortly. I think I have a workaround anyway.
Regards,
Gareth
OK thanks. We are moving to v9 shortly. I think I have a workaround anyway.
Regards,
Gareth
-
- Product Manager
- Posts: 20284
- Liked: 2258 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
If upgrade is not applicable solution at that point of time, you can leverage this script that I've created previously; should answer your requirements. Thanks.
-
- Influencer
- Posts: 22
- Liked: 2 times
- Joined: Mar 21, 2014 11:41 am
- Full Name: Gareth
- Contact:
Re: Find VSS Credentials WindowsUsername from VSSOptions obj
OK. That looks good. I'll give it a go.
Thanks everyone for the help.
Regards,
Gareth
Thanks everyone for the help.
Regards,
Gareth
Who is online
Users browsing this forum: No registered users and 13 guests