How can I run a remote EXE with a variable path and arguments?
I need to install an executable on remote computers with Invoke-Command. The command works when I put the full executable path and switches directly inside the script block,…
I need to install an executable on remote computers with Invoke-Command. The command works when I put the full executable path and switches directly inside the script block,…
I'm working on a function for auditing that uses parameter sets with switch parameters like `-Update`, `-Verify`, and `-Revoke`. The function works fine locally and in a PSSession,…
I'm having trouble installing the pswindowsupdate module on my Windows 2016 server using Invoke-Command. The installation works fine when I'm directly on the server console, but when I…
I'm working on installing the pswindowsupdate module on a Windows 2016 server and running into some issues. When I try to install the module directly from the server…
I'm trying to install an MSI using a PowerShell script, and it works fine when I run it locally (via Start-Process with the appropriate parameters). However, when I…
Hey everyone! I'm trying to figure out how nested scriptblocks work within the Start-Job cmdlet in PowerShell. I've got a parent scriptblock called JobScript that starts a job,…
Hey everyone, I'm trying to run a script that copies a large file from one remote server to another without having the file go through the local server…