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

    Ninite Alternative

    Scheduled Pinned Locked Moved IT Discussion
    chocolateypdq deployninite
    54 Posts 11 Posters 22.2k Views
    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:

      @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
                                  • RoguePacketR
                                    RoguePacket
                                    last edited by

                                    @scottalanmiller @dashrender @justrob Russinovich pushed out an update to psexec last week—

                                    • http://technet.microsoft.com/en-us/sysinternals/bb897553

                                    As usual, he doesn't say much about it (or even announce it). Assumption is it smooths interoperability up to Win8.1

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

                                      Awesome. I was using PsExec in 8.1 today without issue.

                                      1 Reply Last reply Reply Quote 0
                                      • AmbarishrhA
                                        Ambarishrh @Minion Queen
                                        last edited by

                                        @Minion-Queen Have you tried http://www.adminarsenal.com/pdq-deploy

                                        1 Reply Last reply Reply Quote 0
                                        • Lost_Signal773L
                                          Lost_Signal773 @Minion Queen
                                          last edited by

                                          @Minion-Queen N-Able has package management, but for SMB stuff Chocolatey is likely a better fit (N-Able can run a caching server which is nice in T1 hell holes).

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @Minion Queen
                                            last edited by

                                            So lets say I have a computer all setup with Java installed. Will chocolately see Java and update it when I do cup all or do I have to install Java with choc, then it will be able to update it?

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