Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Unexpected token '' in expression or statement.

$
0
0

Hi,

  with my PS script got following error relate to this code?

 

$Results=@{"Output"=$Results|Sort-Object-PropertyDisplayName;"Errors"=$ResultsErr}$Results

Unexpected token '' in expression or statement. 
At C:\scripts\uni.ps1:67 char:11 
+ $Results <<<< 
+ CategoryInfo : ParserError: (:String) [], ParentContainsErrorRecordException 
+ FullyQualifiedErrorId : UnexpectedToken

Pls help?

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles