Giter VIP home page Giter VIP logo

Comments (4)

exel2000 avatar exel2000 commented on August 19, 2024

Hi, I am also getting this error and not sure how to proceed. Thanks!
-Sam

from optimize-wsusserver.

awarre avatar awarre commented on August 19, 2024

Hey @jgcracknell1 and @exel2000,

How are you downloading the script? You can either download the ZIP file from the releases page, or click the Raw button on the PS1 file page.

image

It appears you've download the GitHub page for the script and are trying to run an HTML file as a PowerShell script.

details-target btn-link d-lg-none mt-1 color-fg-inherit">

This string referenced in the error message has nothing to do with the WSUS script, but is part of the GitHub page.

from optimize-wsusserver.

exel2000 avatar exel2000 commented on August 19, 2024

That's weird, I don't understand how that's possible when I am running a powershell script? Anyway, I downloaded it again using your links and I think I am closer now. Now I get the following error message:

.\Optimize-WsusServer.ps1 : The script 'Optimize-WsusServer.ps1' cannot be run because the following modules that are
specified by the "#requires" statements of the script are missing: SqlServer.
At line:1 char:1

  • .\Optimize-WsusServer.ps1 -FirstRun
  •   + CategoryInfo          : ResourceUnavailable: (Optimize-WsusServer.ps1:String) [], ScriptRequiresException
      + FullyQualifiedErrorId : ScriptRequiresMissingModules
    

from optimize-wsusserver.

exel2000 avatar exel2000 commented on August 19, 2024

Ok, I think at least part of my issue here is that I'm trying this on PS 5.1 and PS 7. I guess I need version 6? It ran partially in PS 7 after I installed the sql module but I got all kinds of red text complaining about all kinds of things. I do start getting prompts asking me if I want to perform certain functions but most of them seem to fail. I am 100% it's me doing something wrong, but still struggling to get this working. Is there a reliable link where i can get PS 6? everything seems to want me to use version 7. Thanks for the help!

from optimize-wsusserver.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.