1

Closed

Invoke-Expression Error

description

Invoke-Expression : The variable '$heppej' cannot be retrieved because it has not been set.
At C:\Program Files\PAL\PAL\PAL.ps1:814 char:24
  • $RelogOutput = Invoke-Expression -Command $sCommand
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidOperation: (heppej:String) [Invoke-Expression], RuntimeException
    • FullyQualifiedErrorId : VariableIsUndefined,Microsoft.PowerShell.Commands.InvokeExpressionCommand

file attachments

Closed Oct 3, 2013 at 7:08 PM by ClintH

comments

ClintH wrote Feb 8, 2013 at 6:35 PM

The problem is that your username has a dollar sign ($) in it. The dollar sign is used to indicate a variable and this is messing up PowerShell's processing. Please use PAL with a user account that does not use a dollar sign.