Windows 10: PowerShell PackageManagement (OneGet) - Install Apps from Command Line  

Page 2 of 14 FirstFirst 123412 ... LastLast
  1. Kari's Avatar
    Posts : 10,567
    Windows 10 Pro
       09 Jan 2015 #10

    For those interested:

      My System SpecsSystem Spec

  2. Kari's Avatar
    Posts : 10,567
    Windows 10 Pro
       04 Feb 2015 #11

    Tutorial now fully updated as the Build 9926 gave OneGet a "facelift", there's no need to install an experimental build of OneGet anymore, it will now work in PowerShell Out-of-the-Box.

    An introduction video added at the beginning of the tutorial:



    Kari
      My System SpecsSystem Spec

  3.    04 Feb 2015 #12

    Great work Kari
      My System SpecsSystem Spec

  4. Kari's Avatar
    Posts : 10,567
    Windows 10 Pro
       04 Feb 2015 #13

    Thanks John .
      My System SpecsSystem Spec

  5. Dude's Avatar
    Posts : 8,071
    Windows 10 Pro X64
       04 Feb 2015 #14

    Great job on the tutorial Kari, one of the best ones I have seen
      My System SpecsSystem Spec

  6. Kari's Avatar
    Posts : 10,567
    Windows 10 Pro
       04 Feb 2015 #15

    Thanks Dude.

    I wholeheartedly recommend to find an hour free time and check out the PS OneGet. I ran a test install yesterday to create a master image to deploy to my machines instead of installing. OneGet is a dot over the I which makes it not only fast but also quite interesting .

    What I did:
    • On the reference computer, install Windows 10 Build 9926
    • When installation reaches the final Create User account phase, press CTRL + SHIFT + F3 instead of creating the initial user account, to reboot to Audit Mode
    • In Audit Mode, customize the desktop, set colors, icon positions and spacing, folder options, IE favorites and stuff to be copied to Default User Profile
    • Run OneGet in PowerShell to install all software with one command, silently in the background, without repeated "Next" and "Would you also like this and that" dialogs and unnecessary clicks
    • Sysprep with Generalize switch (makes hardware independent image which can be restored to any physical or virtual machine) and COPYPROFILE=TRUE in answer file
    • Capture the image
    • Use the image whenever you need to install, to get a highly customized and personalized virgin system with no user accounts but all software installed

    Instead of the usual 20 to 30 minutes install time I needed about 70 minutes but it's worth of it.
      My System SpecsSystem Spec

  7. Kari's Avatar
    Posts : 10,567
    Windows 10 Pro
       13 Feb 2015 #16

    If you are interested in the development of the PS OneGet, join today the PS OneGet usual Friday online meeting. Starting at 10 AM PST, 7 PM (19:00) CET.

    Check @PSOneGet about 10 minutes before the meeting for the link to join.

      My System SpecsSystem Spec

  8. Kari's Avatar
    Posts : 10,567
    Windows 10 Pro
       13 Feb 2015 #17

    OK, here's the meeting link:

      My System SpecsSystem Spec


  9. Posts : 804
    10 Pro Preview x64
       25 Feb 2015 #18

    Kari said: View Post
    Please let me know about each and every typo you'll find.
    Well you did ask and I like copy-paste Should be a "y" not a ":"
    Kari said:
    3.2) With unrestricted rights to run scripts we can now add the Chocolatey repository with command Get-Packageprovider Chocolate:
    Section 3.3 extra \
    Kari said:
    Code:
    Find-Package | Export-CliXML \D:\Test.xml
    I was wondering if you had tried updates also. I'm not in a position to (as I only started playing with this today so there aren't any) but this looks like a problem How to automatically keep all locally installed Chocolatey Packages up to date? - Stack Overflow

    I tried uninstalling and hit an issue. Uninstall-Package works (says it does) but in the example of Adobe Reader it doesn't actually uninstall the program. According to here https://github.com/chocolatey/chocol...mandsUninstall among other things uninstall
    Requires a chocolateyUninstall.ps1 in the package itself, of which many of the currently available packages do not have.
    It might be worth noting in the tutorial (unless I've made an error) that Uninstall-Package might not actually uninstall a package in all cases. Hopefully this will improve in time. At the moment it is a pretty excellent way of installing stuff after a clean install though, thanks. I'm going to use it.

    Attachment 13275
    Last edited by adamf; 25 Feb 2015 at 14:09.
      My System SpecsSystem Spec

  10. Kari's Avatar
    Posts : 10,567
    Windows 10 Pro
       25 Feb 2015 #19

    Thanks @Adam, typos fixed .

    The update cmdlet, will it be included or not, it's still open. Garret, the head of OneGet team at MS asked opinions in last OneGet community meeting Friday two weeks ago, screenshot of the meeting recording shows my opinion:

    Click image for larger version. 

Name:	2015-02-25_21h28_26.png 
Views:	173 
Size:	401.3 KB 
ID:	13280

    The uninstall function will get fixed, it is under development as we speak. I will ask about it on next community meeting day after tomorrow and update tutorial accordingly.

    Kari
      My System SpecsSystem Spec


 
Page 2 of 14 FirstFirst 123412 ... LastLast

Related Threads
Hi all I have several network connections configured. There is one wifi connection which automatically connects to my WLAN, another cable based LAN connection to a NAS which is used for backups and some L2TP connection connections (used...
:really:I have a few PCs connected via a bridge on an ethernet LAN. They communicate with each other, not "the internet". I'd like to rename "Unidentified network" to something more reasonable like "DoNotTreadOnMe" (allegorical.) 76590
How do I open windows store apps like Hulu from the command prompt?
For some unknown reason I cannot any more navigate to Update panel from "Einstellungen" - it is blocked. I have to cancel the "Einstellungen" window by the task manager ! So in this moment I cant go forward nor backward any more: cant...
in win7, after installation and setting the correct file associations, the correct program would start upon double clicking in win10 however, it popups wanting you to set a ?default app?. ive seen this happen for klite codec pack, firefox,...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:24.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums