Jump to content

Help with batch/powershell deployment


tlbell
 Share

Recommended Posts

  • Moderators

I didn't get to dig in to this but one thing I wonder is if these scripts possibly break due to FileWave running them in 32bit PowerShell. In the KB https://fwkb.atlassian.net/wiki/spaces/KB/pages/4331036/Script+Best+Practices there is info in that article about using SysNative. 90% of the time when something works outside of FileWave, but then someone reports a problem running it via FileWave it's that. The other maybe 9% of the time it's that it runs fine on Windows as the current user, but perhaps behaves differently when SYSTEM runs it. That testing can be done using PsExec to launch PowerShell.exe or CMD to do testing as SYSTEM. You can get PsExec here https://learn.microsoft.com/en-us/sysinternals/downloads/psexec If you haven't used PsExec it can run things as a particular user or as SYSTEM. It's great for testing and is free. 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...