<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
<h1><span style="font-family: Segoe UI Light; font-size: large;">The Story</span></h1>
<p><span style="font-family: Segoe UI Light; font-size: large;">Windows 10 has arrived finally and with it came lot of new features, and one of my favorite new features is that you can finally install applications through powershell just like Linux OS’s terminal window command (apt-get install).</span></p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2524 " id="quads-ad2524" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2531 " id="quads-ad2531" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2529 " id="quads-ad2529" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p><span style="font-family: Segoe UI Light; font-size: large;">Although the command is still pretty new and lack many repositories where you can find and install applications from.</span></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">There’s already some people who are working on adding sources of applications which you can test initially before Microsoft asks product companies to start making their own repositories so Powershell can trust these sites and applications.</span></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">One of the sites that are working on providing Windows 10 with repositories is </span><a href="https://chocolatey.org/"><span style="font-family: Segoe UI Light; font-size: large;">https://chocolatey.org/</span></a><span style="font-family: Segoe UI Light; font-size: large;"> which provides hundreds of softwares that can be installed through PS.</span></p>
<h1><span style="font-family: Segoe UI Light; font-size: large;">To install Chocolately repository simply do the following</span></h1>
<p><span style="font-family: Segoe UI Light; font-size: large;">Open powershell as an administrator and paste the following cmdlet</span></p>
<p><span style="font-family: Segoe UI Light; font-size: large;"> @powershell -NoProfile -ExecutionPolicy Bypass -Command &#8220;iex ((new-object net.webclient).DownloadString(&#8216;https://chocolatey.org/install.ps1&#8217;))&#8221; &;&; SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin</span></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image001.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image001" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image001_thumb.png" alt="clip_image001" width="980" height="180" border="0" /></span></a> 

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2527 " id="quads-ad2527" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
 
</p>
<h1><span style="font-family: Segoe UI Light; font-size: large;">Then this</span></h1>
<p><span style="font-family: Segoe UI Light; font-size: large;">iex ((new-object net.webclient).DownloadString(&#8216;https://chocolatey.org/install.ps1&#8217;))</span></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image002.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image002" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image002_thumb.png" alt="clip_image002" width="988" height="120" border="0" /></span></a></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">From</span></p>
<p><a href="https://chocolatey.org/"><span style="font-family: Segoe UI Light; font-size: large;">https://chocolatey.org/</span></a></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">As soon as you have installed chocolately, you will get a new huge list of applications that can be installed with a very simple and short cmdlet as in the below screenshots.</span></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">The good things about these cmdlets is it can be used to deploy an app for a huge number of clients by simply running the script through GPO or batch file.</span></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">I am going to install VLC and Google drive on my computer using these cmdlet … </span></p>
<h3><span style="font-family: Segoe UI Light; font-size: large;">Find-Package</span></h3>
<p><span style="font-family: Segoe UI Light; font-size: large;">Find-package -Name VLC</span></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image003.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image003" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image003_thumb.png" alt="clip_image003" width="797" height="23" border="0" /></span></a></p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2530 " id="quads-ad2530" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image004.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image004" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image004_thumb.png" alt="clip_image004" width="636" height="84" border="0" /></span></a></p>
<h3><span style="font-family: Segoe UI Light; font-size: large;">Install-package</span></h3>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image005.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image005" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image005_thumb.png" alt="clip_image005" width="845" height="227" border="0" /></span></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image006.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image006" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image006_thumb.png" alt="clip_image006" width="780" height="255" border="0" /></span></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image007.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image007" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image007_thumb.png" alt="clip_image007" width="831" height="93" border="0" /></span></a></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">Checking if the app is really installed or not?</span></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image008.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image008" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image008_thumb.png" alt="clip_image008" width="381" height="232" border="0" /></span></a></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></p>
<h3><span style="font-family: Segoe UI Light; font-size: large;">Find and install google drive package</span></h3>
<p><span style="font-family: Segoe UI Light; font-size: large;">Downloading </span></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image009.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image009" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image009_thumb.png" alt="clip_image009" width="841" height="361" border="0" /></span></a></p>
<h3><span style="font-family: Segoe UI Light; font-size: large;">Installing</span></h3>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image010.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image010" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image010_thumb.png" alt="clip_image010" width="854" height="371" border="0" /></span></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image011.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image011" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image011_thumb.png" alt="clip_image011" width="400" height="141" border="0" /></span></a></p>
<h3><span style="font-family: Segoe UI Light; font-size: large;">If an application doesn&#8217;t install, how to troubleshoot it? </span></h3>
<p><span style="font-family: Segoe UI Light; font-size: large;">If for instance you were trying to install a package or app and that doesn&#8217;t work or get stuck then you can navigate to the Chocolately directory and delete any package that you tried to install but were suspended for any reason.</span></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">c:\Chocolately\lib\</span></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image012.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image012" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image012_thumb.png" alt="clip_image012" width="542" height="151" border="0" /></span></a></p>
<p><span style="font-family: Segoe UI Light; font-size: large;">You can simply delete the whole directory or the file that ends with extension .nupkg and try again to install… </span></p>
<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2526 " id="quads-ad2526" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image013.png"><span style="font-family: Segoe UI Light; font-size: large;"><img style="display: inline; background-image: none;" title="clip_image013" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image013_thumb.png" alt="clip_image013" width="568" height="136" border="0" /></span></a></p>

<!-- WP QUADS Content Ad Plugin v. 2.0.93 -->
<div class="quads-location quads-ad2523 " id="quads-ad2523" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>


Reset and manage your Active Directory users' Passwords Active Directory is one of the most…
Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…
If you're using a Proxy server in your firewall or in your network and have…
Story:I got some clients that have reported some of their users being locked out and…
Delegate Permissions This is a code that I have wrote recently to check if an…
Story: I got a request from a client who constantly gets CVs and have to…