Tuesday, August 9, 2016

How to install software with command prompt

Connect to internet
open command prompt with admin privileged and run below command as it is...

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

To install software

choco install chrome


choco install winrar


choco search java

choco update <package name>

To uninstall software with command

wmic product get name

wmic product where name="product name" call uninstall /nointeractive

or

for msi package

msiexec /q /x <product name>

msiexec /uninstall Application.msi /quiet

happy downloading brows


No comments:

Post a Comment