PowerUp icon indicating copy to clipboard operation
PowerUp copied to clipboard

Error when importing the module

Open KurtDeGreeff opened this issue 10 years ago • 1 comments

PS C:\Windows\system32> Import-Module powerup At C:\Users\Kurt\Documents\WindowsPowerShell\Modules\powerup\PowerUp.ps1:372 char:64

  • ... Binary for service '$ServiceName' to create user '$UserName:$Passwor ...
  •                                                    ~~~~~~~~~~
    
    Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name.
    • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    • FullyQualifiedErrorId : InvalidVariableReferenceWithDrive

KurtDeGreeff avatar Sep 26 '14 09:09 KurtDeGreeff

What version of PowerShell are you using?

HarmJ0y avatar Dec 02 '14 03:12 HarmJ0y