tlbell Posted December 9, 2022 Posted December 9, 2022 Description I am having problems with deploying some batches. The batches run fine by themselves but went I put them in FileWave it doesn’t work at all. This is was I have so far. batch deployment.zip
Moderators Josh Levitsky Posted December 13, 2022 Moderators Posted December 13, 2022 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now