Here's what I use to run PowerShell scripts:
In Client 0 -- DIV_Variables >> UC_EXT_INTERPRETERS_WINDOWS,
add the following:

Then in the windows job object, Process tab, see below example:
I call the External Interpreter with a :Begin statement
Then I put the script I want to run as .ps1
Then I use an :END statement.
:BEGIN_EXT_INT POWERSHELL
C:\Scripts\****.ps1
:END_EXT_INT POWERSHELL
Original Message:
Sent: Jan 16, 2023 09:38 AM
From: Shravan shetty
Subject: Powershell script to upload files to Sharepoint
Hi Community ,
we have a file generated in a Windows agent. we need this file to be uploaded to SharePoint using powershell script and windows job.
Can anyone help us with this?
Thank you in advance!
Regards,
Shravan Shetty