Session variables return inconsistent results - by Kris Ganjam

Status : 

 


1
0
Sign in
to vote
ID 778933 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 2/11/2013 2:48:11 AM
Access Restriction Public

Description

When using a numeric session variable $v, $v.Length returns inconsistent results across remote machines.

Might have to do with different versions?

02:46:05 AM D:\KrisGan\xcgdev> icm -session $s -scriptblock {  $env:computername; $psversiontable }
DMX-13

Name                           Value
----                           -----
PSRemotingProtocolVersion      2.1
BuildVersion                   6.1.7601.17514
PSCompatibleVersions           {1.0, 2.0}
PSVersion                      2.0
CLRVersion                     2.0.50727.5456
WSManStackVersion              2.0
SerializationVersion           1.1.0.1
DMX-26
PSRemotingProtocolVersion      2.2
BuildVersion                   6.2.9200.16398
PSCompatibleVersions           {1.0, 2.0, 3.0}
PSVersion                      3.0
CLRVersion                     4.0.30319.17929
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
Sign in to post a comment.