Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Powershell remoting with V1

Do you know of any good remoting solutions using powershell V1 (I know the V2 stuff is awesome, but my organization doesn't like using pre-release software). I don't need anything spectactular, just a way to kick off powershell script on another box and get the results back when they're done. I'm considering using sysinternals PSEXEC and export-csv/import-csv and just making something that works. I'd rather have someone else do the work, though.

like image 422
Mike Shepard Avatar asked Nov 26 '08 19:11

Mike Shepard


2 Answers

I think PrimalScript's Remote Script Execution Engine would do what you're after. It does require a small service to be installed on remote computers, but you get unlimited licenses for that when you buy PrimalScript (Enterprise edition).

There's also a PSHRemoting project someone did.

N Software's NetCmdlets also come with a "PowerShell Server" (http://nsoftware.com/powershell/) which enables remoting.

like image 122
Don Jones Avatar answered Sep 20 '22 13:09

Don Jones


There is a great article up on the PowerShell team blog that describes how to get some basic remoting working in V1.

Basically, PS V2 uses Windows Remote Management (WinRM) under the hood. Winrs is the command line tool used to work remotely with machines.

This tactic that Jeffrey talks about uses WinRS and some PowerShell trickery to get remoting working in V1. Its not as slick as V2, but you can definitely get some basic stuff working with it.

like image 26
Andy Schneider Avatar answered Sep 19 '22 13:09

Andy Schneider