header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Fragment Blob Error
Last Post 27 Mar 2008 03:11 PM by marco.shaw. 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
RabbitzUser is Offline
New Member
New Member
Posts:2

--
22 Feb 2008 02:16 AM  

Using the 2.0 CTP

Command:

Invoke-Expression -ComputerName MyMachine -Command Get-Service

Returns:

Invoke-Expression : Fragment blob length is out of range: 1814058546

At line:1 Char:10

+ Invoke-Expression <<<< -ComputerName MyMachine -Command Get-Service

 

I have tried this with a remote machine name and also the local machine name.

I have also tried with various commands.

All with the same result.

 

If I omit the -ComputerName then it returns correctly. 

What have I missed?

 

Colin W

marco.shawUser is Offline
Co-Community Director
Basic Member
Basic Member
Posts:181

--
03 Mar 2008 12:36 PM  
What OS? Using invoke-expression, especially on a a remote machine will try to open a temporary runspace on the remote machine. There's some kind of problem though.

The PSH v2 install should have required winrm 1.1, so you should be good there, but I'd want to verify the winrm and winrs commands are running. From PSH or DOS: winrm -? or winrs -?.

Try a few remote commands to make sure the remoting layer is working OK.
RabbitzUser is Offline
New Member
New Member
Posts:2

--
25 Mar 2008 11:54 PM  

Sorry in the delay getting back to this.

 

OS's are XPSP2, 2k3.  winrm appears to be running, but regardless no joy.

 

There were some DCOM errors being generated.  Apparently due to permissions.  However if it is using DCOM I am not interested (once bitten...)

I will put this on hold until the full release.

 

Colin W

marco.shawUser is Offline
Co-Community Director
Basic Member
Basic Member
Posts:181

--
27 Mar 2008 03:11 PM  
invoke-expression (**even locally**) depends on the remoting layer, so winrm must be working properly. The winrm client is written in VBScript and uses COM to interface with winHTTP.dll.
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer