Scripting

Tunnel a PowerShell script to a remote machine and invoke via WMI

In blog post „Invoke a remote command without WinRM, psexec or similar – Access administrative shares even if they have been removed“ I demonstrated how to use WMI to execute a command on a remote computer. The task was pretty simplistic as I only had to create a share. However …

Scripting

Invoke a remote command without WinRM, psexec or similar – Access administrative shares even if they have been removed

Recently I ran into a situation, where I had to check a few log files on some remote computers and also needed to execute some commands to fix an issue. However, due to reasons I’m not going to enlarge on, all administrative shares had been removed. So by this, no …