parsec-cloud / Parsec-Cloud-Preparation-Tool

Launch Parsec enabled cloud computers via your own cloud provider account.
932 stars 172 forks source link

PostInstall lines 396/397: [System.Boolean] does not contain a method named 'trim'. #99

Closed Boston-of-Gilead closed 2 years ago

Boston-of-Gilead commented 2 years ago
Method invocation failed because [System.Boolean] does not contain a method named 'trim'.
At C:\Users\Administrator\Desktop\parsectemp\PostInstall\PostInstall.ps1:396 char:9
+         [int]$i = $gpoversion.trim("Version=")
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound

Method invocation failed because [System.Boolean] does not contain a method named 'trim'.
At C:\Users\Administrator\Desktop\parsectemp\PostInstall\PostInstall.ps1:397 char:9
+         [int]$n = $gpoversion.trim("Version=")
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound
Boston-of-Gilead commented 2 years ago

Just to note, this isn't a fatal error.