header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
executing a power shell script from SSh
Last Post 03 Aug 2010 12:18 PM by George Howarth. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
firestarUser is Offline
New Member
New Member
Posts:2
Avatar

--
03 Aug 2010 11:08 AM
    I am able to execute a script in powershell. But when i try to execute the same script by doing ssh into the machine it is giving weird errors like 1)ConvertTo-SecureString : Key not valid for use in specified state. 2)New-Object : Exception calling ".ctor" with "2" argument(s): "Cannot process argument because the value of argument "password" is null. Change the value of argument "password" to a non-null value." somebody please help me...... thanks in advance Firestar
    George HowarthUser is Offline
    Basic Member
    Basic Member
    Posts:360
    Avatar

    --
    03 Aug 2010 12:18 PM
    You need to post your script. Sounds like you need to use a different encryption key when running the script with SSH.
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer