HELP needed on installing WMF 5,1

Welcome Forums General PowerShell Q&A HELP needed on installing WMF 5,1

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
3 months, 1 week ago.

  • Author
    Posts
  • #105788

    Participant
    Points: 109
    Rank: Participant

    Sorry, this post is no longer needed, as I had found out what went wrong after I submitted it.
    Unfortunately, I have not seen a way to delete a post, so I might as well describe the [solved] dilemma quickly.
    I was trying to upgrade from PS 2.0 to 5.1, and just couldn't get ANY script to run, including [Install-WMF 5.1.ps1] despite typing:
    Set-ExecutionPolicy remotesigned
    many times, and Run as Administrator in PS. I kept getting the message "Execution of scripts is disabled on this PC".
    Out of desperation, I rebooted my PC and then I was able to run [Install-WMF5.1.ps1] without the error message and succesfully upgraded to PS 5.1.
    Thanks.

  • #105793

    Participant
    Points: 22
    Rank: Member

    You could try right clicking on the file, select properties and then click unblock.

    You can find instructions Here

    • #105806

      Participant
      Points: 35
      Rank: Member

      In reference to right clicking and unblocking.....
      Unblock-File

      eg:

      Unblock-File "$install\7z1602-x64.msi"
      & "$install\7z1602-x64.msi" /Quiet /passive
      

The topic ‘HELP needed on installing WMF 5,1’ is closed to new replies.