Hi,
You can use Invoke-Command
to run a script block as a specific user. This requires the user credentials:
Store User Credentials:
$username = "DOMAIN\User"
$password = ConvertTo-SecureString "password" -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential($username, $password)
Invoke Command as User:
Invoke-Command -ScriptBlock { & "C:\Path\To\YourScript.ps1" } -Credential $credential