parsec-cloud / Parsec-Cloud-Preparation-Tool

Launch Parsec enabled cloud computers via your own cloud provider account.
925 stars 168 forks source link

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

Closed Boston-of-Gilead closed 1 year ago

Boston-of-Gilead commented 1 year 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 1 year ago

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