<?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>powershell gallery Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/powershell-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 29 Mar 2021 00:07:03 +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>What is the PowerShell Gallery?</title>
		<link>https://www.osradar.com/what-is-the-powershell-gallery/</link>
					<comments>https://www.osradar.com/what-is-the-powershell-gallery/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Wed, 31 Mar 2021 21:04:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[powershell gallery]]></category>
		<category><![CDATA[windows console]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29302</guid>

					<description><![CDATA[<p>Hello! It is well known that Node.js project developers have a package repository. In addition, these repositories have code snippets. For example, NPM. Likewise, .NET developers have NuGet. Consequently, developers of PowerShell scripts and modules have their own repository. We are talking about PowerShell Gallery. A service managed by Microsoft. There are useful modules with [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-powershell-gallery/">What is the PowerShell Gallery?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! It is well known that Node.js project developers have a package repository. In addition, these repositories have code snippets. For example, NPM. Likewise, .NET developers have NuGet. Consequently, developers of <a href="https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.1" target="_blank" rel="noreferrer noopener">PowerShell </a>scripts and modules have their own repository. We are talking about PowerShell Gallery. A service managed by Microsoft. There are useful modules with PowerShell commands. In addition to scripts that define a set of tasks and the sequencing of these tasks. In the following lines, we will define what the PowerShell Gallery is.</p>



<h2>What are the most downloaded PowerShell Gallery packages?</h2>



<p>This gallery currently has 66,367 packages. They have almost 3.2 billion downloads. Some of these packages have been developed by <a href="https://www.osradar.com/category/windows/" target="_blank" rel="noreferrer noopener">Microsoft</a> itself. However, others have been created by the PowerShell user community. Below we will take a look at the most popular package types.</p>



<ul><li>NetworkingDsc: DSC resources to configure aspects related to networks.</li><li>PSWindowsUpdate: This module contains cmdlets to manage the Windows Update client.</li><li>Az.Accounts: Module with cmdlets to manage user accounts in Azure Resource Manager.</li><li>PackageManagement: A package manager for accessing software over the Internet.</li><li>Computer ManagementDsc: DSC resources related to aspects of computer administration such as task scheduling, virtual memory management, power settings, etc.</li></ul>



<h2>Basic aspects of the mode of use</h2>



<p>PowerShellGet is a very useful module. It allows any user to use the gallery to load, detect and download all kinds of packages. However, it is first necessary to install the latest version of NuGet. With this in mind, you have to use the following command:</p>



<pre class="wp-block-preformatted">Install-PackageProvider -Name NuGet -Force</pre>



<p>If we do not do this and try to use it, then PowerShell itself will offer to install it. To search for modules related to Active Directory, then the system will display the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="193" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/03/sh-1024x193.png" alt="" class="wp-image-29304" srcset="https://www.osradar.com/wp-content/uploads/2021/03/sh-1024x193.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/sh-300x57.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/sh-768x145.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/sh-696x131.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/sh-1068x201.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/sh.png 1210w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After installation, it is possible to start searching for the package:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="495" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/03/sh2-1-1024x495.jpg" alt="" class="wp-image-29312" srcset="https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-1024x495.jpg 1024w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-300x145.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-768x371.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-696x336.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-1068x516.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1.jpg 1225w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once the package is located, it can be installed. To do so, just run <em>Install-Module.</em> So the syntax would be as follows:</p>



<pre class="wp-block-preformatted">Install-Module -Name PowerShellGet</pre>



<p>We have discussed the possibility of installing scripts. For this purpose, just add <em>Install-Script </em>followed by the name of the script. On the other hand, it is also possible to update the installed modules and scripts. With this in mind, we will use the <em>Update-Module</em> or <em>Update-Script</em> commands. Finally, it is also possible to check what is installed from the PowerShell Gallery. Just use the <em>Get-InstalledModule </em>and <em>Get-InstalledScript </em>commands. Ultimately we have seen what the PowerShell Gallery is. So you have at hand this package manager nurtured by Microsoft. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-powershell-gallery/">What is the PowerShell Gallery?</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/what-is-the-powershell-gallery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
