![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | winrm in powershell vs. in cmd.exe Hi, I have a winrm command that works perfectly when I run it in cmd.exe, but when I try to run the same command in Powershell (V2 CTP2) I get the following error: Error: Invalid use of command line. Type "winrm -?" for help. It seems that whenever I try to use the @{key="value"} pairs as parameters I get this error. Has anybody else seen this issue, and possibly know a way around it? Thanks, Simon |
| | #2 (permalink) | ||||||||||||
| Guest | Re: winrm in powershell vs. in cmd.exe Simon wrote:
PSH> winrm set winrm/config/client `@`{TrustedHosts=`"`*`"`} Everything but the text and the equal sign in this case... Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com | ||||||||||||
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WinRM DS_user DS_userparameters | kburgoyne | PowerShell | 5 | 05-13-2008 12:03 PM |
| help translating winrm authendication to powershell | mandankid | PowerShell | 2 | 04-16-2008 12:49 PM |
| Help configuring WinRM | ssg31415926 | PowerShell | 20 | 03-06-2008 09:03 AM |
| WinRM | Pablo | Vista installation & setup | 0 | 12-03-2007 03:31 PM |
| WinRM from PowerShell | Chris Warwick | PowerShell | 2 | 11-06-2007 02:19 PM |