PowerShell PackageManagement (OneGet) - Install Apps from Command Line  

Page 12 of 14 FirstFirst ... 21011121314 LastLast
  1. Ztruker's Avatar
    Posts : 7,037
    Windows 10 Pro X64 1809 17763.134
       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 : 276
    Windows 10 Insider Program, Linux Mint 19, Arcolinux, MX-17
       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:	137 
Size:	14.2 KB 
ID:	88204

    Rich
      My ComputerSystem Spec

  3. Kari's Avatar
    Posts : 15,373
    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:	60 
Size:	42.0 KB 
ID:	88206

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

  4. Ztruker's Avatar
    Posts : 7,037
    Windows 10 Pro X64 1809 17763.134
       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. Kari's Avatar
    Posts : 15,373
    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:	145 
Size:	275.3 KB 
ID:	88310
      My ComputerSystem Spec

  6. Wynona's Avatar
    Posts : 22,358
    Windows 10 Skip Ahead Preview Build 18312
       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. Kari's Avatar
    Posts : 15,373
    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. Wynona's Avatar
    Posts : 22,358
    Windows 10 Skip Ahead Preview Build 18312
       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. Ztruker's Avatar
    Posts : 7,037
    Windows 10 Pro X64 1809 17763.134
       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: 259
Size:  66.9 KB

    Elevated

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


 
Page 12 of 14 FirstFirst ... 21011121314 LastLast

Tutorial Categories

PowerShell PackageManagement (OneGet) - Install Apps from Command Line Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


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 16:31.
Find Us