ChiefIntegrator / Steam-GetOnTop

This is a suite of PowerShell scripts to get on top of the burden of managing an unwieldy Steam library.
100 stars 45 forks source link

Error: You must provide a value expression on the right-hand side of the '-' operator. #4

Closed jacobmix closed 5 years ago

jacobmix commented 5 years ago

Can't run .\Publish-SteamAppManifests.ps1 Error:

You must provide a value expression on the right-hand side of the '-' operator.
At C:\scripts\Steam-GetOnTop-master\Publish-SteamAppManifests.ps1:419 char:
79
+                 $libraryIDs += $xmlLibrary.gamesList.games.game.appID | Where
-Object {$_ - <<<< notin $libraryIDs}
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : ExpectedValueExpression
jacobmix commented 5 years ago

After updating Windows Management Framework to 5.1 from here: https://www.microsoft.com/en-us/download/details.aspx?id=54616 It seems to work now.