jamesstringerparsec/Easy-GPU-PV

Update-VMGpuPartitionDriver.ps1 error

jojie85 opened this issue · 2 comments

Tried running Update-VMGpuPartitionDriver.ps1 in Windows PowerShell and PowerShell7 both non-admin and admin mode and got this error. I`ve enabled Execution Policy to run RemoteSigned scripts.

At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:41 char:60

  • ... script type="application/json" id="client-env">{"locale":"en","featur ...
  •                                                         ~~~~~
    

Unexpected token ':"en"' in expression or statement.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:41 char:65

  • ... cript type="application/json" id="client-env">{"locale":"en","feature ...
  •                                                             ~
    

Missing argument in parameter list.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:41 char:688

  • ... tions","custom_inp","remove_child_patch","kb_source_repos"]}</script>
  •                                                             ~
    

The '<' operator is reserved for future use.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:241 char:84

  • ... tion/json" data-target="react-partial.embeddedData">{"props":{"docsUr ...
  •                                                             ~
    

Unexpected token ':' in expression or statement.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:241 char:95

Unexpected token ':"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"' in expression or statement.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:241 char:168

  • ... s.github.com/get-started/accessibility/keyboard-shortcuts"}}</script>
  •                                                             ~
    

The '<' operator is reserved for future use.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:280 char:205

  • ... ink Button--medium Button d-lg-none color-fg-inherit p-1"> <span cla ...
  •                                                             ~
    

The '<' operator is reserved for future use.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:303 char:45

  •         <ul class="list-style-none f5" >
    
  •                                         ~
    

Missing file specification after redirection operator.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:501 char:13

  •   CI/CD &amp; Automation
    
  •         ~
    

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At V:\Hyper-V\Update-VMGpuPartitionDriver.ps1:576 char:45

  •         <ul class="list-style-none f5" >
    
  •                                         ~
    

Missing file specification after redirection operator.
Not all parse errors were reported. Correct the reported errors and try again.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : UnexpectedToken

I`ve also tried it on Windows PowerShell ISE as admin and had the same results.

Did you found the solution ?