M
M
makar7232014-12-16 12:39:47
PowerShell
makar723, 2014-12-16 12:39:47

What permissions are needed to execute the invoke-command cmdlet in powershell?

Hello!
There is the following task: it is necessary to execute a cmdlet (not under the local administrator) on a remote machine (specifically Get-WBSummary and Get-WBJob). Execution through Invoke-Command comes to mind, but the user under which the cmdlets are planned to be executed does not have local or domain administrator rights. However, you can run these cmdlets locally (the user is a member of the Backup Operators group).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Bandersnatch, 2014-12-16
@Bandersnatch

Try to execute
and set the required permissions.

M
makar723, 2014-12-17
@makar723

Set-PSSessionConfiguration -Name Microsoft.PowerShell -showSecurityDescriptorUI

to execute it on each remote server under the user under which it is planned to execute a cmdlet?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question