Coder Social home page Coder Social logo

update-allpsmodules's People

Contributors

kieranwalsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

update-allpsmodules's Issues

Congratulations and Improvement (perhaps)

Hi Kieran,
First, congratulation for this module veru useful and beaufiful display.
I appreciated Switch NoPreview, check PSVersion, ExectuionContext, RunasAdmin, and Setting Neet.securityProtocol = TLS1.2 (in reality, this param is already in my profile, but I put it in all my scripts too), and error handling

Question : Why do you use this

$InstalledModules = Get-InstalledModule |
    Where-Object -FilterScript {
    ($_.name -notmatch 'PackageManagement|PowerShellGet|Az\.|AzureRM\.|Azure\.|PSReadline')

Any reason to skip these particular modules ?
Later (line 259), you use UpdateModule ... -Scope "AllUsers". Any reason to do this ? I have some module in my User scope, on other in AllUsers scope. By this, All modules will be updated, and the updated modules will be in AllUsers Scope ... unless I misunderstood how the code works.
Generally, First, i install a new module in my user scope, read the code, tests, and if it could be useful for my teammate, I install it in AllUsers scope. This break my rule. :-) Another way to do this ? In a perfect word, il would like module will be updated in their own scope.

Regards
Olivier

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.