Page 4 of 14 FirstFirst ... 23456 ... LastLast
  1.    26 Mar 2015 #30
    Join Date : Oct 2014
    Posts : 1,552
    W7 32 bit, Linux Mint Xfce 18 64 bit

    Quote Originally Posted by adamf View Post
    did you try it?
    Nope

    Which powershell do I use?
    Windows Powershell
    Windows Powershell ISE
    Windows Powershell (x86)
    Windows Powershell Modules.
      My ComputerSystem Spec
  2.    26 Mar 2015 #31
    Join Date : Jan 2014
    Oak Ridge TN, USA
    Posts : 24,523
    Windows 10 Pro x64

    Quote Originally Posted by groze View Post
    Nope

    Which powershell do I use?
    Windows Powershell
    Windows Powershell ISE
    Windows Powershell (x86)
    Windows Powershell Modules.
    Have you tried to use the instructions in the first post??
      My ComputerSystem Spec
  3.    26 Mar 2015 #32
    Join Date : Dec 2013
    Cheshire, England
    Posts : 1,424
    Windows 10 Pro x64

    Either

    • Windows Powershell
    • Windows Powershell (x86)
    • Windows Powershell ISE


    Should work

    However if you are not familiar with Powershell maybe give the tutorial a walk through.
      My ComputerSystem Spec
  4.    26 Mar 2015 #33
    Join Date : Nov 2013
    Posts : 804
    10 Pro Preview x64

    Quote Originally Posted by groze View Post
    Nope
    If you don't want to try it then why don't you.....reconsider if 10 is your thing.
      My ComputerSystem Spec
  5.    26 Mar 2015 #34
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,661
    Windows 10 Pro
    Thread Starter

    OneGet needs the Windows Management Framework version 5 which is native in Windows 10 and can be downloaded and installed on earlier versions of Windows here: Download Windows Management Framework 5.0 Preview February 2015 from Official Microsoft Download Center.

    A quote from the above mentioned site:
    Supported Operating Systems

    • Windows 8.1, Windows Server 2012, Windows Server 2012 R2
    • Windows Server 2012 R2
    • Windows 8.1 Pro
    • Windows 8.1 Enterprise
    • Windows Server 2012
    However, Garret Sercak (head of OneGet team at Microsoft) has had a habit to publish OneGet experimental builds as the project evolves. You can check @PSOneGet on Twitter for download links for the latest build. I have only tested these experimental builds in Windows 10 but can't see any reasons why they wouldn't run in Windows 7 PowerShell.

    Latest experimental build was released only three days ago:

      My ComputerSystem Spec
  6.    26 Mar 2015 #35
    Join Date : Oct 2014
    Posts : 1,552
    W7 32 bit, Linux Mint Xfce 18 64 bit

    BunnyJ,

    I am actually considering sticking with windows 7 and my current dual boot. I am not really sure I like Zdnet reporting of microsoft windows 10 lifecycle policy. It even changes the future if I even buy a computer that has windows as a service. I also thought the current version of the windows 10 had spartan in it, from what I read it doesn't.

    I even updated to the 3.0 powershell and even an unofficial script to install one-get beta nothing worked.

    However, Choco works though.
      My ComputerSystem Spec
  7.    26 Mar 2015 #36
    Join Date : Oct 2014
    Posts : 1,552
    W7 32 bit, Linux Mint Xfce 18 64 bit

    Quote Originally Posted by Kari View Post
    OneGet needs the Windows Management Framework version 5 which is native in Windows 10 and can be downloaded and installed on earlier versions of Windows here: Download Windows Management Framework 5.0 Preview February 2015 from Official Microsoft Download Center.

    A quote from the above mentioned site:

    However, Garret Sercak (head of OneGet team at Microsoft) has had a habit to publish OneGet experimental builds as the project evolves. You can check @PSOneGet on Twitter for download links for the latest build. I have only tested these experimental builds in Windows 10 but can't see any reasons why they wouldn't run in Windows 7 PowerShell.

    Latest experimental build was released only three days ago:

    @Kari
    I will try that Kari. I didn't notice your post sorry.

    Edit,
    Still didn't work, I will try one more after I restore from backup, in case I messed something up.
      My ComputerSystem Spec
  8.    26 Mar 2015 #37
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,661
    Windows 10 Pro
    Thread Starter

    I got interested, installed Seven on a vm, now upgrading it's Management Framework to v.3 in order to be able to upgrade PowerShell to v.3, after that the experimental build should run. I'll post the results of this test.
      My ComputerSystem Spec
  9.    26 Mar 2015 #38
    Join Date : Oct 2014
    Posts : 1,552
    W7 32 bit, Linux Mint Xfce 18 64 bit

    PS C:\Users\User Name> ipmo oneget-edge
    ipmo : The specified module 'oneget-edge' was not loaded because no valid module file was found in any module
    directory.
    At line:1 char:1
    + ipmo oneget-edge
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : ResourceUnavailable: (oneget-edge:String) [Import-Module], FileNotFoundExceptio
    n
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand


    I read Windows 7 may be missing a netframework file. I am gong to try and install that and repeat this.


    Nevermind, netframework already installed. I read something about a path. I am trying to figure out how to add a path.

    Here is the path and found the module to load.
    C:\Program Files (x86)\Outercurve Foundation\OneGet\1.15.82.35272
      My ComputerSystem Spec
  10.    26 Mar 2015 #39
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,661
    Windows 10 Pro
    Thread Starter

    @groze, Oneget experimental build seems to work just fine in Windows 7, although needing a minute or two to set it up.

    Here's what you need to do:

    To ugrade PowerShell v. 2 in Windows 7 to v.3, you need to install Dot NET Framework 4 or later. I installed the latest 4.5 from here: Download Microsoft .NET Framework 4.5 from Official Microsoft Download Center

    Next, the Windows Management Framework v.3 or later must be installed. For Windows 7 get the v.3 here: Download Windows Management Framework 3.0 from Official Microsoft Download Center. Be sure to select the correct Management Framework, in screenshot below the Windows 7 x64 highlighted with yellow, the x86 with green:

    Click image for larger version. 

Name:	2015-03-26_23h35_54.png 
Views:	236 
Size:	11.9 KB 
ID:	15491
    Now install the latest OneGet experimental build. When done run PowerShell, it is now upgraded to v.3 showing Copyright notice from 2012 (v.2, the Windows 7 default PowerShell shows 2009) and you can run OneGet.

    Here's how I tested OneGet in Windows 7, list item numbers refer to corresponding numbers in the screenshot after the list:
    1. The Chocolatey package provider where most of the installers come from needs the PS script execution policy to be unrestricted. To change the policy give the following command
      Code:
      set-executionpolicy unrestricted
      The above command applies if you run PS elevated. If not, you need to add parameter -scope with value currentuser to command:
      Code:
      set-executionpolicy unrestricted -scope currentuser
    2. Next you need to import the OneGet experimental module you installed to the PowerShell. Command is:
      Code:
      ipmo "C:\Program Files (x86)\Outercurve Foundation\OneGet\1.15.82.35272\OneGet-Edge"
      (In x86 systems in C:\Program Files\...) Notice that the installer of the module says the command is ipmo oneget-edge but this is wrong, the import module command ipmo needs the full path.
    3. By default the package provider Chocolatey is not installed. Get it simply with this command:
      Code:
      get-packageprovider Chocolatey
    4. In my test just now I didn't bother to do anything else, I just went directly to install apps. I gave a OneGet command to install VLC Player, Adobe Reader, Chrome, Screenpresso and WinRAR with command:
      Code:
      install-package VLC, AdobeReader, GoogleChrome, Screenpresso, WinRAR
    5. and 6. VLC, Adobe Reader and Chrome installed OK, Screenpresso and WinRAR which both install OK with OneGet in Windows 10 didn't install. I suspect this is because my test vm was just an x86 system and OneGet retrieved x64 installers for these two apps

    Click image for larger version. 

Name:	2015-03-26_23h03_29.png 
Views:	3560 
Size:	350.3 KB 
ID:	15490

    Seems to work in Windows 7 . Notice that as this is an experimental build and not meant to be used in Windows 7, you need to import the OneGet module and get the Chocolatey provider each time you relaunch PS, list items 2 & 3 on the list above.

    Kari
      My ComputerSystem Spec

 
Page 4 of 14 FirstFirst ... 23456 ... LastLast


Similar Threads
Tutorial Category
How to connect/disconnect to a VPN using the command line?
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...
Network and Sharing
What powershell command will let me rename my network?
: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
Network and Sharing
Opening windows store apps from command line
How do I open windows store apps like Hulu from the command prompt?
Software and Apps
Can restore of Win 7 be started from command line ?
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...
Installation and Upgrade
setting default apps from command line?
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,...
Software and Apps
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 06:02.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums