Scott Sutherland published a great blog article covering the little hints and tricks when using PowerShell Remote Execution functionality. 

I have become a big fan of PowerShell Remoting. I find my self using it for both penetration testing and standard management tasks. In this blog I’ll share a basic PowerShell Remoting cheatsheet so you can too. 

PowerShell Remoting is essentially a native Windows remote command execution feature that’s build on top of the Windows Remote Management (WinRM) protocol.  Based on my super Google results, WinRM is supported by Windows Vista with Service Pack 1 or later, Windows 7, Windows Server 2008, and Windows Server 2012.

PowerShell Remoting

Photo courtesy of espensorvik(CC Attribution)

Scott Sutherland, PowerShell Remoting Cheatsheet

He covers all topics from Enabling to Executing PowerShell commands on remote computers. PowerShell offers with Remoting one of the most powerful features of the Microsoft PowerShell. 

Scott wraps up with the essential commands:

  • Use "Invoke-Command" if you’re only going to run one command against a system
  • Use "Enter-PSSession" if you want to interact with a single system
  • Use PowerShell sessions when you’re going to run multiple commands on multiple systems

This is a must read for every PowerShell Fan and gives you a great guideline to start Remote control your systems with powerful PowerShell scripts. Of course you can also combine it with remote control functions for VMware virtual machine using PowerCLI  (invoke-vmscript).

Metrics and Logs

(formerly, Opvizor Performance Analyzer)

VMware vSphere & Cloud

Monitor and Analyze Performance and Log files:
Performance monitoring for your systems and applications with log analysis (tamperproof using immudb) and license compliance (RedHat, Oracle, SAP and more) in one virtual appliance!

Subscribe to Our Newsletter

Get the latest product updates, company news, and special offers delivered right to your inbox.
Share on twitter
Share on linkedin
Share on facebook
Share on email

Subscribe to our newsletter

White Paper — Registration

We will send you the research paper via email.

CodeNotary — Webinar

White Paper — Registration

Please let us know who you are, so we can send you the CodeNotary Trusted Software Supply Chain white paper.

Become a partner

Start Your Trial

Please enter contact information to receive an email with the virtual appliance download instructions.

Start Free Trial

Please enter contact information to receive an email with the free trial details.