Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Executing PowerShell code at the API level
#3
Thank you for sharing.

Using the SDK requires downloading a large number of files, and the execution speed hasn't improved.

I put the PowerShdll source code into the LA and only referenced the System.Management.Automation.dll from the PowerShell 7 installation folder. This allowed me to execute PowerShell code without any additional dependencies, and the execution speed improved significantly.


Messages In This Thread
RE: Executing PowerShell code at the API level - by Davider - 03-18-2024, 12:58 PM

Forum Jump:


Users browsing this thread: 18 Guest(s)