Comments (4)
Hi, I am also getting this error and not sure how to proceed. Thanks!
-Sam
from optimize-wsusserver.
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.
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.
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.
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)
- Doesn't work with PS7 HOT 2
- Link Broken HOT 1
- Get-WsusIISLocalizedNamespacePath doesn't exist HOT 2
- feature request - decline updates by title HOT 2
- Email output of Weekly and Daily Tasks HOT 2
- Permissions on ClientWebService\web.config HOT 3
- Windows Server 2019 Errors on -FirstRun HOT 1
- Get-WsusIISLocalizedNamespacePath returns empty path HOT 1
- WSUS DB Optimization Fails HOT 1
- Windows 2012 R2 - PS compatibility HOT 4
- First run Error HOT 1
- IIS path referenced is not localized HOT 2
- Some Error Messages HOT 1
- SQL server not supported HOT 5
- Issue with deepclean & suggestions HOT 8
- IIS Administration module is also a prerequisite HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optimize-wsusserver.