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

Page 12 of 14 FirstFirst ... 21011121314 LastLast

  1. Posts : 5,089
    Windows 10 Pro X64 15063.138
       03 Jul 2016 #110

    Can I go off topic for a bit? How do you get the PS window to open in my user directory c:\users\rrkurtz instead of c:\windows\system32 when running as Administrator. I notice in your screen shot that's how yours is.

    I was able to get the normal Command Prompt to do this by adding /s /k cd %UserProfile% to the end of the Shortcut target in properties.
      My ComputersSystem Spec


  2. Posts : 265
    Windows 10 & Windows 10 Insider Program, Linux Mint 18, feren OS, MX16, Xubuntu
       03 Jul 2016 #111

    Ztruker said: View Post
    A normal install of IrfanView X64 from the IrfanView web site installs and runs okay. Any way to tell if the IrfanView package on Chocolaty is 32 or 64 bit? Seems like either should install.
    Using this command in Powershell ISE: "choco install irfanview" (w/o quotes) I got this:
    Click image for larger version. 

Name:	Irvanfiew.PNG 
Views:	28 
Size:	14.2 KB 
ID:	88204

    Rich
      My ComputerSystem Spec


  3. Posts : 11,855
    Windows 10 Pro
    Thread Starter
       03 Jul 2016 #112

    Ztruker said: View Post
    Can I go off topic for a bit? How do you get the PS window to open in my user directory c:\users\rrkurtz instead of c:\windows\system32 when running as Administrator. I notice in your screen shot that's how yours is.

    I was able to get the normal Command Prompt to do this by adding /s /k cd %UserProfile% to the end of the Shortcut target in properties.
    I don't run it elevated, just normal user mode. You can use PS PackageManagement in normal user mode, too, using
    -Scope CurrentUser switch with Set-Executionpolicy Unrestricted (or AllSigned / RemoteSigned) cmdlet (tut step 3.1):

    Click image for larger version. 

Name:	2016_07_03_21_59_021.png 
Views:	22 
Size:	42.0 KB 
ID:	88206

    This means that I can run PS in normal user mode for PS PackageManagement.
      My ComputerSystem Spec


  4. Posts : 5,089
    Windows 10 Pro X64 15063.138
       04 Jul 2016 #113

    Thanks Kari, that works great though I don't see how that is any better than running elevated.
      My ComputersSystem Spec


  5. Posts : 11,855
    Windows 10 Pro
    Thread Starter
       04 Jul 2016 #114

    Ztruker said: View Post
    Thanks Kari, that works great though I don't see how that is any better than running elevated.
    I am editing and finishing a video at this very moment, thanks to your previous post and an idea it gave to me. Please give me two hours or so until I have finished this project and posted the video

    Sneak peek:
    Click image for larger version. 

Name:	2016_07_04_17_02_101.png 
Views:	28 
Size:	275.3 KB 
ID:	88310
      My ComputerSystem Spec


  6. Posts : 15,699
    Windows 10 Insider Preview Build 16241
       04 Jul 2016 #115

    Waiting . . . you have one hour and 11 minutes to go!

    Seriously, thanks, Kari. I will most definitely watch this one and bookmark it.
      My ComputerSystem Spec


  7. Posts : 11,855
    Windows 10 Pro
    Thread Starter
       04 Jul 2016 #116

    Wynona, you now me. One hour my time is 2 to 4 hours your time...
      My ComputerSystem Spec


  8. Posts : 15,699
    Windows 10 Insider Preview Build 16241
       04 Jul 2016 #117

    Kari said: View Post
    Wynona, you now me. One hour my time is 2 to 4 hours your time...
    I can wait, Kari. And yeah, if you say something's gonna be done, we know that the gremlins known as Murphy's Law will somehow reach out and grab you.

    I'm sending StarFerret to take care of your infestation. Just be sure to send her home when she finishes, please.
      My ComputerSystem Spec

  9.   My ComputerSystem Spec


  10. Posts : 5,089
    Windows 10 Pro X64 15063.138
       05 Jul 2016 #119

    Looking at it now. Hard to read most of the time. Great when you zoom in though.

    I don't get the same results with normal and elevated ISE though.

    Normal
    Name:  PSISEProfNorm.jpg
Views: 136
Size:  66.9 KB

    Elevated

    Name:  PSISEProfElev.jpg
Views: 135
Size:  63.3 KB
      My ComputersSystem Spec


 
Page 12 of 14 FirstFirst ... 21011121314 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 17:50.
Find Us