Giter VIP home page Giter VIP logo

Comments (4)

awarre avatar awarre commented on August 19, 2024

Interesting, I'm surprised this never came up before.

You could try replacing Get-IISSite with Get-Website. For the purposes of this script they should operate identically.

Please let me know if that works. In my testing on a 2019 server both commands returned the correct results.

I don't have a 2012R2 server to test on, so there may be additional functionality broken beyond just Get-IISSite.

from optimize-wsusserver.

LordDeimos666 avatar LordDeimos666 commented on August 19, 2024

I'll let you know when I have time to do it on my homelab first :)

from optimize-wsusserver.

LordDeimos666 avatar LordDeimos666 commented on August 19, 2024

Long story short. I couldnt' wait (patience over 9000) for it and had some spare time.
Resolved the Get-IISSite problem installing the nuget package: https://www.powershellgallery.com/packages/IISAdministration/1.1.0.0 this seem fixed. (you can state on the readme.md about it imo)

Everything working fine, just one problem I saw, but not really expert on PS scripting side tbh, here i'm running a localized WSUS (italian) and the: IIS:\Sites\WSUS Administration\ClientWebService harcoded is not the same as on the italian side, instead it is IIS:\Sites\Amministrazione di Windows Server Update Services\ClientWebService maybe it's possible to retrieve the name for it using a cmdlet for the IIS.

Regards

from optimize-wsusserver.

awarre avatar awarre commented on August 19, 2024

@LordDeimos666 Thanks for the solution. I'm going to close this as it didn't need any sort of changes to the script.

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.