Top "Invoke-command" questions

Invoke-Command is a powershell cmdlet that runs commands on local and remote computers.

Passing array to another script with Invoke-Command

I'm stuck trying to figure this out. I've seen the other articles and have tried everything, but I'm not getting …

arrays powershell invoke-command
Running a Setup.exe from a network share, via Invoke-Command in Powershell

PSEXEC started to give me some trouble, and I decided to recode in PowerShell. This batch command used to work …

powershell installation psexec invoke-command
Powershell Invoke RestMethod error 415 Unsupported Media Type

I'm trying to execute Azure Table Storage API using Powershell Invoke-RestMethod but it returns 415 error. Here's Powershell code: $accessKey = "accesskey" $…

powershell azure azure-table-storage invoke-command
Remotely zipping files with PowerShell start-process and invoke-command

I want to be able to remote into a system and zip or unzip files there and have the process …

powershell invoke-command start-process
How to run multiple commands via Invoke-Command on remote server

In the below example, only the Get-Process in my scriptblock is being executed. "deh" does not print for some reason …

powershell powershell-remoting invoke-command