Hi,
I was wondering if there is a way to determine which backup job a user account is a member of using PowerShell. I can get a list of backup items for each job and search for the user, but I wanted to do it the other way around.
Regards,
Hugh McDaid
-
- Novice
- Posts: 5
- Liked: 1 time
- Joined: Mar 20, 2020 6:41 pm
- Full Name: Hugh McDaid
- Contact:
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Determine which job a user account is included in
I’m not sure what you mean exactly. If you want to find in which job a user is listed, you just have to loop through the jobs and match for the value of the user.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Novice
- Posts: 5
- Liked: 1 time
- Joined: Mar 20, 2020 6:41 pm
- Full Name: Hugh McDaid
- Contact:
Re: Determine which job a user account is included in
Niels,
I was assuming your answer was going to be the way to do it. We will have multiple jobs which a user may be in, I was wondering what the easiest way would be to determine which of these multiple jobs a specific user is in.
I was assuming your answer was going to be the way to do it. We will have multiple jobs which a user may be in, I was wondering what the easiest way would be to determine which of these multiple jobs a specific user is in.
-
- Product Manager
- Posts: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Determine which job a user account is included in
Got it. Yes, a loop is the only way for now I can think of.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
Who is online
Users browsing this forum: No registered users and 19 guests