![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Powershell v2 remoting not working? Get-process -computerName Returns this error: Get-Process : A parameter cannot be found that matches parameter name 'computerName'. Same thing when using the -ComputerName parameter with get-service. Is this a known issue? |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | RE: Powershell v2 remoting not working? You have to use Invoke-Expression Invoke-Expression -computername xxxxxx {Get-Process} you need PowerShell V2 on both machines and win-rm installed and configured on both -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "XXX" wrote:
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #3 (permalink) | ||||||||||||
| Guest | Re: Powershell v2 remoting not working? XXX wrote:
help file as the -computerName parameter is not valid. You can also check: get-command get-process|format-list Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com | ||||||||||||
My System Specs![]() | |||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||
| Guest | Re: Powershell v2 remoting not working? Apologizes for that. On that one, the documentation reflects our desires not our code. :-) We have this working in the code now so the next release will have it. jps -- Jeffrey P. Snover[MSFT] Partner Architect, Windows Server Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights. "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:OMs7BsfWIHA.5348@xxxxxx
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: Powershell v2 remoting not working? Thanks for the update Jeffrey! I'm really looking forward to this ability. Of course I won't get near as much exercise and it's all your fault! haha Regards... -Fred. "Jeffrey Snover[MSFT]" <jsnover@xxxxxx> wrote in message news:7503E0A4-3D8B-472B-A838-7F08E559BD2B@xxxxxx
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #6 (permalink) | ||||||||||||
| Guest | Re: Powershell v2 remoting not working? XXX wrote:
other means. One method is WMI. If RPC is an issue and that's why you don't currently use WMI, you should be able to tunnel your WMI requests via WinRM (so it uses HTTP or HTTPS). I'm trying out another option also... I'll provide examples maybe by tomorrow. Marco | ||||||||||||
My System Specs![]() | |||||||||||||
| | #7 (permalink) | ||||||||||||||||||||||||
| Guest | Re: Powershell v2 remoting not working? It's been a while since I was playing with V2 but isn't -computerName a parameter for the invoke-expression cmdlet ? So it would be something like invoke-expression -computername ServerA "Get-Process" Andy Schneider http://www.get-powershell.com "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:OixHHzSXIHA.1168@xxxxxx
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| powershell -sta not working | Doug | PowerShell | 3 | 06-02-2008 08:59 AM |
| Powershell 2.0 with remoting : ok what is Remoting ? | IT Staff | PowerShell | 4 | 12-07-2007 01:20 AM |
| Powershell 2.0 and remoting | Nex6 | PowerShell | 5 | 11-30-2007 03:46 AM |
| Powershell scripts not working with Vista powershell | Ben | PowerShell | 20 | 10-10-2007 04:43 PM |