PowerShell script exchange
Post Reply
teltrop
Novice
Posts: 7
Liked: never
Joined: Sep 04, 2019 1:56 pm
Contact:

Veeam Powershell Service Accounts

Post by teltrop »

Hello everyone,

my question is how to determind which of your Service Accounts / Windows Accounts in general are responsible for executing specific task / service. I know I can get the all my Service Accounts with Get-VBRCredentials but how do I determind which is responsible for which Backup Jobs / Tape Jobs / Copy Jobs / Backup Proxys / Tape and Backup Server in general ?

I already found out which account is responsible for executing my SQL Database with the following code:

Code: Select all

$SQLVersion = (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server').InstalledInstances

$SQLAgent = (Get-WmiObject Win32_service | Where-Object {$_.name -like "*SQLAgent*"} | Select-Object -ExpandProperty startname)

$SQLInfo = $SQLVersion + " - service performed by " + $SQLAgent

Write-Host $SQLInfo
Am I on the right track with my SQL attempt or is it completly off?

Thanks in advance for every response
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Veeam Powershell Service Accounts

Post by veremin »

Check Windows services (ones that start with Veeam prefix). The description provided there explains it all. Thanks!
teltrop
Novice
Posts: 7
Liked: never
Joined: Sep 04, 2019 1:56 pm
Contact:

Re: Veeam Powershell Service Accounts

Post by teltrop »

Thanks for the reply.

Your suggestion helped alot to find the information I wanted.

My question now is the VeeamBackupSvc also responsible for the Tape Jobs and Copy Jobs?
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Veeam Powershell Service Accounts

Post by veremin »

Don't have a console at hand, but there should be a service named Veeam Tape Service (if I remember correctly). Look for it on a server that runs tape server role. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests