Execute PowerShell Script from Scheduled Task with GMSA

Chetan Dev 26 Reputation points

Hello Everyone,

We have number of PowerShell scripts running with scheduled task in our environment and these tasks are running with different service as per required Privilegs.

We want to take the advantage of GMSA accounts to execute these scheduled task and good news, scheduled tasks are configured with GMSA account and tasks are being launched by GMSA account.

Here comes the issue, BUT GMSA credentials are not being delegated to the PowerShell script, we have Invoke-command and Get-WMI Object command in Powershell Script.

Thanks in advance... Happy Weekend...Be Safe


"it always seems impossible until it is done"

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,727 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Suman Bhowmik 76 Reputation points

    You need to make sure that the gMSA account has sufficient permission on the destination to execute required commands.

    0 comments No comments