Running a full powershell script from inside Access

The Rev

Registered User.
Local time
Today, 14:18
Joined
Jan 15, 2003
Messages
119
I have a lengthy Powershell script that I need to be able to run from work. Trellix is blocking any PS1 file from even being created, much less executed. Is there a way to integrate all of the script into Access and call it from a module or something? Instead of "shell file.ps1" calling it from outside the DB?
 
If your IT dept will not allow you to create and run it from PowerShell ISE, then you will not be able to run it from Access or and other application. I have a similar problem, but I can create the Script and then I create a Desktop shortcut and run it with the "execution bypass" command:

C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "Fullpath\to\your\PowerShellScript.ps1"
 

Users who are viewing this thread

Back
Top Bottom