ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ninite Alternative

    IT Discussion
    chocolatey pdq deploy ninite
    11
    54
    21.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @Dashrender
      last edited by

      @Dashrender said:

      That being said if I can't get management to give me the $300/yr I would want to use Chocolately at the full network level - it seems that it's more geared toward the end user use. So scripts will be needed to PSExec Chocolately on the machines and get reports.

      Actually the opposite. It is geared towards enterprise UNIX admins and away from end users. It is effectively a Windows version of how the entire rest of the industry has handled software for decades and lacking it has been one of the key "mocking points" about how archaic and cumbersome Windows is.

      Ninite with a GUI on the clients is end user focused. Chocolatey moves back to the command line so that you can install with interrupting the user, without a heavyweight network connection, etc.

      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        I'm a complete scripting NOOB... so a little help in what is needed would be cool.

        ? scottalanmillerS 2 Replies Last reply Reply Quote 0
        • ?
          A Former User @Dashrender
          last edited by

          @Dashrender https://github.com/chocolatey/chocolatey/wiki/CommandsReference

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Dashrender
            last edited by

            @Dashrender said:

            I'm a complete scripting NOOB... so a little help in what is needed would be cool.

            What do you want to accomplish? I provided install and update examples above.

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @scottalanmiller
              last edited by

              @scottalanmiller said:

              @Dashrender said:

              I'm a complete scripting NOOB... so a little help in what is needed would be cool.

              What do you want to accomplish? I provided install and update examples above.

              for a single workstation, what do you do with that for the entire network?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Dashrender
                last edited by

                @Dashrender said:

                @scottalanmiller said:

                @Dashrender said:

                I'm a complete scripting NOOB... so a little help in what is needed would be cool.

                What do you want to accomplish? I provided install and update examples above.

                for a single workstation, what do you do with that for the entire network?

                The most likely thing that you would do is put in a scheduled job for updates so that each machine updates itself weekly or so. That's the super easy way. Takes no special skills.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by scottalanmiller

                  A really simple script approach would be like this:

                  for %i in (desktop1 desktop2 desktop3) do PsExec.exe \%i cup all

                  That one line is all that you need. Just fill in the list of machines that you want to update in the paranthesis and you are good to go. You can make it more advanced by filling in that portion from a text file or whatever. But the basics are very simple. It's not really scripting, just a single statement that does everything. This command is the "cup all" which is the universal update command. All packages would be updated on every system.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by scottalanmiller

                    Similarly if you wanted to install the Java Runtime (JRE) on every machine you would do this command:

                    for %i in (desktop1 desktop2 desktop3) do PsExec.exe \%i cinst javaruntime

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender
                      last edited by

                      I presume you have to provide credentials assuming your user is not a local admin.?

                      Ive never used psexecute before.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Dashrender
                        last edited by

                        @Dashrender said:

                        I presume you have to provide credentials assuming your user is not a local admin.?

                        Ive never used psexecute before.

                        psexec is awesome. If you are on a domain it, just works.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          I made an article about Chocolatey too: http://www.scottalanmiller.com/windows/2014/03/15/open-source-command-line-package-management-tool/

                          1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            And I wrote a guide to automating Chocolatey with PsExec: http://www.scottalanmiller.com/windows/2014/03/15/automating-chocolatey-with-psexec/

                            1 Reply Last reply Reply Quote 1
                            • JustRobJ
                              JustRob
                              last edited by

                              Can you use chocolaty in a workgroup environment where there is a standard local user & common password?

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • JustRobJ
                                JustRob
                                last edited by

                                Can you set the chocolatey program to use a specific network share for the repository, instead of connecting to the same website on every machine? This would be really useful on networks behind firewalls with no internet access or really poor internet connectivity.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • JustRobJ
                                  JustRob
                                  last edited by

                                  Would it be possible to get Chocolatey to output it's results to a log file or somehow report on the progress / result of the update / install? It would be good to know for sure what programs got updated, or more importantly if any of the updates failed.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @JustRob
                                    last edited by

                                    @JustRob said:

                                    Can you use chocolaty in a workgroup environment where there is a standard local user & common password?

                                    Chocolatey doesn't use AD. It just needs local admin privileges. Any admin account can be used.

                                    JustRobJ 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @JustRob
                                      last edited by

                                      @JustRob said:

                                      Can you set the chocolatey program to use a specific network share for the repository, instead of connecting to the same website on every machine? This would be really useful on networks behind firewalls with no internet access or really poor internet connectivity.

                                      That's something that I would have to research. But I would be surprised if you can't. Although you can definitely use a proxy to do that.

                                      JustRobJ 1 Reply Last reply Reply Quote 0
                                      • JustRobJ
                                        JustRob @scottalanmiller
                                        last edited by

                                        @scottalanmiller said:

                                        @JustRob said:

                                        Can you use chocolaty in a workgroup environment where there is a standard local user & common password?

                                        Chocolatey doesn't use AD. It just needs local admin privileges. Any admin account can be used.

                                        So do you have to be logged in with the same account on the machine you are pushing the updates from / running the remote command from (source) as is used on the machine you are updating (target)? Or can you specify in the update command on your source machine what credentials to use on the target machine(s)?

                                        1 Reply Last reply Reply Quote 0
                                        • JustRobJ
                                          JustRob @scottalanmiller
                                          last edited by

                                          @scottalanmiller said:

                                          @JustRob said:

                                          Can you set the chocolatey program to use a specific network share for the repository, instead of connecting to the same website on every machine? This would be really useful on networks behind firewalls with no internet access or really poor internet connectivity.

                                          That's something that I would have to research. But I would be surprised if you can't. Although you can definitely use a proxy to do that.

                                          You can set up a proxy to take requests for files from a website and pull them from a file share instead?

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @JustRob
                                            last edited by

                                            @JustRob said:

                                            @scottalanmiller said:

                                            @JustRob said:

                                            Can you set the chocolatey program to use a specific network share for the repository, instead of connecting to the same website on every machine? This would be really useful on networks behind firewalls with no internet access or really poor internet connectivity.

                                            That's something that I would have to research. But I would be surprised if you can't. Although you can definitely use a proxy to do that.

                                            You can set up a proxy to take requests for files from a website and pull them from a file share instead?

                                            The proxy itself would be the file share in that case. A proxy like squid would allow that, yes.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post