sp00n / corecycler

Script to test single core stability, e.g. for PBO & Curve Optimizer on AMD Ryzen or overclocking/undervolting on Intel processors
Other
663 stars 30 forks source link

Unable to Run Corecycler Script #39

Closed bensam123 closed 1 year ago

bensam123 commented 1 year ago

Hello, getting a bunch of these errors when attempting to run corecycler

Get-Date : The 'Get-Date' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not be
loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Users\\Desktop\CoreCycler-v0.9.3.0\script-corecycler.ps1:21 char:31
+ $startDate                  = Get-Date
+                               ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-Date:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

I updated windows and tried PS v7, which is incompatible as well, no idea how fix this.

sp00n commented 1 year ago

Yes, PowerShell v7 is not compatible, it is a complete rewrite with missing features. You need PowerShell 5.1, e.g. from here: https://www.microsoft.com/en-us/download/details.aspx?id=54616