![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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
Posts: n/a
| winrm nested key=value pairs Hi, Is there a way to nest key-value pairs when using winrm. For example, I know this works @{key="value";key2="value2"} and produces something along these lines: <p:key>value</p:key> <p:key2>value2</p:key2> But what if I wanted something along these lines: <p:key> <p:key2>value2</p:key2> </p:key> Is there a way to do this using the winrm command? Thanks, Simon |
| | #2 (permalink) | ||||||||||||
| Guest
Posts: n/a
| RE: winrm nested key=value pairs I was just wondering, in CTP V2, have you try using the PS> Invoke-Expression -runspace $rs1 -Command YourcommandHere ... To see if you get the same result. ? ![]() -- "To go where no scripter has gone before..." "Simon" wrote:
| ||||||||||||
| | #5 (permalink) | ||||||||||||
| Guest
Posts: n/a
| Re: winrm nested key=value pairs
"Cannot be achieved by providing the key, value pairs on the command line. The only way to do this is using the -File option..." Marco | ||||||||||||
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| winrm in powershell vs. in cmd.exe | Simon | PowerShell | 2 | 05-08-2008 10:21 AM |
| Converting String Pairs to IDictionary? | coconet | .NET General | 3 | 04-30-2008 04:58 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 |