<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>how to install powershell on linux ubuntu Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-powershell-on-linux-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 03 Jan 2020 09:58:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How To Install PowerShell Core on Ubuntu 18.04 LTS</title>
		<link>https://www.osradar.com/how-to-install-powershell-core-on-ubuntu-18-04-lts/</link>
					<comments>https://www.osradar.com/how-to-install-powershell-core-on-ubuntu-18-04-lts/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 03 Jan 2020 09:58:31 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install powershell on linux ubuntu]]></category>
		<category><![CDATA[how to install powershell on ubuntu 18.04]]></category>
		<category><![CDATA[install powershell on linux]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17070</guid>

					<description><![CDATA[<p>Introduction: PowerShell is a scripting language tool built on the .NET Framework. It allows you to perform task automation and configuration management. PowerShell can be accessed easily on Windows but it is not available on Linux systems. In this guide, we will cover the process of Installing PowerShell on our Ubuntu 18.04 LTS. Follow the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-powershell-core-on-ubuntu-18-04-lts/">How To Install PowerShell Core on Ubuntu 18.04 LTS</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3><strong>Introduction:</strong></h3>



<p>PowerShell is a scripting language tool built on the .NET Framework. It allows you to perform task automation and configuration management. PowerShell can be accessed easily on Windows but it is not available on Linux systems. In this guide, we will cover the process of Installing PowerShell on our Ubuntu 18.04 LTS. Follow the below steps to get started.</p>



<p>Run the given command to add the repository to your Ubuntu 18.04 system.</p>



<pre class="wp-block-verse">sudo apt-get update &amp;&amp; sudo apt -y install wget<br>wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb<br>sudo dpkg -i packages-microsoft-prod.deb</pre>



<p>You will see similar output upon successful installation.</p>



<pre class="wp-block-verse">Selecting previously unselected package packages-microsoft-prod.<br> (Reading database … 105206 files and directories currently installed.)<br> Preparing to unpack packages-microsoft-prod.deb …<br> Unpacking packages-microsoft-prod (1.0-ubuntu18.04.1) …<br> Setting up packages-microsoft-prod (1.0-ubuntu18.04.1) …</pre>



<p>After it update package index list and Install PowerShell by typing</p>



<pre class="wp-block-verse">sudo apt update<br>sudo apt -y install powershell</pre>



<h3><strong>Testing PowerShell</strong></h3>



<p>To test powershell on your Ubuntu 18.04, try the following command</p>



<pre class="wp-block-verse">pwsh<br>PowerShell 6.1.1<br>https://aka.ms/pscore6-docs<br>Type 'help' to get help.<br>PS /home/vagrant&gt;</pre>



<p>Test Command Execution by running</p>



<pre class="wp-block-verse">PS /home/vagrant&gt; Get-ChildItem / <br> <code>Directory: /</code><br> Mode                LastWriteTime         Length Name<br> ----                -------------         ------ ----<br> 1 d-----         10/29/18  11:19 PM                bin<br> 2 d-----         10/29/18  11:27 PM                boot<br> 3 d-----         12/18/18   1:25 PM                dev<br> 4 d-----         12/18/18   1:39 PM                etc<br> 5 d-----         10/29/18  11:17 PM                home<br> 6 d-----         10/29/18  11:21 PM                lib<br> 7 d-----         10/29/18  11:12 PM                lib64<br> 8 d-----         10/29/18  11:12 PM                lost+found<br> 9 d-----         10/29/18  11:12 PM                media<br> 10 d-----          7/24/18   7:51 PM                mnt<br> 11 d-----         12/18/18   1:39 PM                opt<br> 12 d-r---         12/18/18   1:25 PM                proc<br> 13 d-----         12/18/18   1:40 PM                root<br> 14 d-----         12/18/18   1:40 PM                run<br> 15 d-----         10/29/18  11:21 PM                sbin<br> 16 d-----         10/29/18  11:18 PM                snap<br> 17 d-----          7/24/18   7:51 PM                srv<br> 18 d-r---         12/18/18   1:25 PM                sys<br> 19 d-----         12/18/18   1:40 PM                tmp<br> 20 d-----         12/29/18  11:12 PM                usr<br> 21 d-----         12/29/18  11:15 PM                var<br>22 -----l         12/29/18  11:21 PM             33 initrd.img<br>23 -----l         12/29/18  11:13 PM             33 initrd.img.old<br>24 -----l         12/29/18  11:21 PM             30 vmlinuz<br>25 -----l         12/27/19  11:13 PM             30 vmlinuz.old<br> PS /home/vagrant&gt; dir<br> <code>Directory: /home/vagrant</code><br> Mode                LastWriteTime         Length Name<br> ----                -------------         ------ ----<br> --r---           5/8/18   3:11 PM           2644 packages-microsoft-prod.deb<br> PS /home/vagrant&gt;</pre>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-powershell-core-on-ubuntu-18-04-lts/">How To Install PowerShell Core on Ubuntu 18.04 LTS</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-powershell-core-on-ubuntu-18-04-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
