
<?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 Articles Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/powershell-articles/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/powershell-articles/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Sun, 16 Jul 2023 00:36:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>PowerShell Articles Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/powershell-articles/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>Create a Child Domain in Server 2022 Using PowerShell</title>
		<link>https://www.technig.com/create-a-child-domain-in-server-2022-using-powershell/</link>
					<comments>https://www.technig.com/create-a-child-domain-in-server-2022-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Danish]]></dc:creator>
		<pubDate>Sun, 16 Jul 2023 00:36:27 +0000</pubDate>
				<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Active Directory Domain Services]]></category>
		<category><![CDATA[Add a Child Domain]]></category>
		<category><![CDATA[Child Domain]]></category>
		<category><![CDATA[Child Domain Configuration]]></category>
		<category><![CDATA[Create a Child Domain]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=18189</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Create a child Domain Using Windows PowerShell" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>In the previous article, we described how to create a child domain using the Server Manager console. In this article, we will show you how to do the same thing using Windows PowerShell. PowerShell is a powerful tool that can be used to automate many tasks in Windows Server. It is also a great way [&#8230;]</p>
<p>The post <a href="https://www.technig.com/create-a-child-domain-in-server-2022-using-powershell/">Create a Child Domain in Server 2022 Using PowerShell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="1221" height="694" src="https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Create a child Domain Using Windows PowerShell" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1.jpg 1221w, https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1-300x171.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1-1024x582.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/05/WinServer2022-1-1-768x437.jpg 768w" sizes="(max-width: 1221px) 100vw, 1221px" /></div>
<p>In the previous article, we described <a href="https://www.technig.com/create-a-child-domain-in-windows-server-2022/" target="_blank" rel="noreferrer noopener nofollow">how to create a child domain</a> using the Server Manager console. In this article, we will show you how to do the same thing using Windows PowerShell. PowerShell is a powerful tool that can be used to automate many tasks in Windows Server. It is also a great way to create child domains, as it can save you time and effort.</p>



<p>To install AD DS and create a forest, you can follow the instructions in the article &#8220;<a href="https://www.technig.com/install-active-directory-on-windows-server-2022-using-powershell/" target="_blank" rel="noreferrer noopener">Install Active Directory On Windows Server 2022 Using PowerShell</a>&#8220;.</p>



<h2 class="wp-block-heading">Steps to Create a Child Domain Using PowerShell</h2>



<p>The creation and configuration of a child domain is part of the post-installation process of Active Directory Domain Services (AD DS). This process also includes promoting the server to a domain controller. First, the AD DS role must be added to the server. Once the role is added, you can create and add a child domain to the parent domain. </p>



<h3 class="wp-block-heading">Add AD DS Role Using Windows PowerShell</h3>



<p>Follow the steps below to add the Active Directory Domain Services (AD DS). </p>



<ol class="wp-block-list">
<li>Open <strong>Windows PowerShell</strong> as administrator.
<ul class="wp-block-list">
<li>If you are working with Windows Server Desktop Experience, right-click on <strong>Windows PowerShell</strong> in the <strong>Start Menu</strong> and select <strong>Run as Administrator</strong>. </li>



<li>If you are working with Windows Server core, run <code>powershell</code> the command in the command prompt. It opens PowerShell. Once the PowerShell is opened, use <code>Start-Process PowerShell -Verb runAs</code> to open it as administrator.</li>
</ul>
</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="801" height="214" src="https://www.technig.com/wp-content/uploads/2022/05/1-7.jpg" alt="Opening PowerShell as Administrator from Command Prompt" class="wp-image-18199" srcset="https://www.technig.com/wp-content/uploads/2022/05/1-7.jpg 801w, https://www.technig.com/wp-content/uploads/2022/05/1-7-300x80.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/1-7-768x205.jpg 768w" sizes="(max-width: 801px) 100vw, 801px" /><figcaption class="wp-element-caption">Opening PowerShell as Administrator from Command Prompt</figcaption></figure></div>


<ol class="wp-block-list" start="2">
<li>Before installing the AD DS role, let&#8217;s first see if it is available. To do so, run <code>Get-WindowsFeature AD-Domain-Services</code>. As shown in the below command, it is not already installed and it is available. </li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="982" height="212" src="https://www.technig.com/wp-content/uploads/2022/05/2-6.jpg" alt="Checking AD DS Role Status Using PowerShell" class="wp-image-18205" srcset="https://www.technig.com/wp-content/uploads/2022/05/2-6.jpg 982w, https://www.technig.com/wp-content/uploads/2022/05/2-6-300x65.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/2-6-768x166.jpg 768w" sizes="(max-width: 982px) 100vw, 982px" /><figcaption class="wp-element-caption">Checking AD DS Role Status Using PowerShell</figcaption></figure></div>


<ol class="wp-block-list" start="3">
<li>To install the AD DS role, run the <code>Install-WindowsFeature AD-Domain-Services -IncludeManagementTools</code> command. Wait for a moment until it finishes the installation, and it will show the result as shown in the picture below. </li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="804" height="216" src="https://www.technig.com/wp-content/uploads/2022/05/3-5.jpg" alt="Installing AD DS Role Using PowerShell" class="wp-image-18208" srcset="https://www.technig.com/wp-content/uploads/2022/05/3-5.jpg 804w, https://www.technig.com/wp-content/uploads/2022/05/3-5-300x81.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/3-5-768x206.jpg 768w" sizes="(max-width: 804px) 100vw, 804px" /><figcaption class="wp-element-caption">Installing AD DS Role Using PowerShell</figcaption></figure></div>


<p>The Active Directory Domain Service role is by now added to our Server. You can verify it using the <code>Get-Windows-Feature AD-Domain-Services</code> command. If it is properly installed, It will not be available for installation anymore. Now, in the second section, let&#8217;s go through the steps to creating and configuring a Child Domain using Windows Powershell in Server 2022. </p>



<h3 class="wp-block-heading">Create a Child Domain Using Windows PowerShell </h3>



<p>Now that we have the AD DS role added, we can create and configure a Child Domain using PowerShell in the AD DS post-installation process. Below are the steps. </p>



<ol class="wp-block-list">
<li>Import AD DS module. To do so, run the <code>Import-Module ADDSDeployment</code> command. </li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="754" height="107" src="https://www.technig.com/wp-content/uploads/2022/05/4-4.jpg" alt="Importing AD DS Deployment Module Using PowerShell" class="wp-image-18211" srcset="https://www.technig.com/wp-content/uploads/2022/05/4-4.jpg 754w, https://www.technig.com/wp-content/uploads/2022/05/4-4-300x43.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/4-4-750x107.jpg 750w" sizes="(max-width: 754px) 100vw, 754px" /><figcaption class="wp-element-caption">Importing AD DS Deployment Module Using PowerShell</figcaption></figure></div>


<ol class="wp-block-list" start="2">
<li>Provide the credential to specify the user name and password of an admin used to accomplish this configuration. Use it only if you are not logged in with administrative privilege. To do so, use the <strong>Get-credential</strong> cmdlet and fill the pop-up window with an administrator&#8217;s username and password.  </li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="895" height="355" src="https://www.technig.com/wp-content/uploads/2022/05/5-2.jpg" alt="Specifying Administrative Credential Using PowerShell" class="wp-image-18214" srcset="https://www.technig.com/wp-content/uploads/2022/05/5-2.jpg 895w, https://www.technig.com/wp-content/uploads/2022/05/5-2-300x119.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/5-2-768x305.jpg 768w" sizes="(max-width: 895px) 100vw, 895px" /><figcaption class="wp-element-caption">Specifying Administrative Credential Using PowerShell</figcaption></figure></div>


<ol class="wp-block-list" start="3">
<li>To create a Child Domain, use the <strong>Install-ADDSDomain</strong> cmdlet followed by the following mandatory arguments and their values.
<ul class="wp-block-list">
<li><strong>-DomainType </strong>followed by the &#8220;<strong>ChildDomain</strong>&#8221; value.</li>



<li><strong>-NewDomainName </strong>followed by the single-labeled (left-most part of a domain) child domain name which is &#8220;<strong>ca</strong>&#8221; in our example.</li>



<li>&#8211;<strong>ParentDomainName</strong> followed by the Fully Qualified Domain Name (FQDN) of the parent which is &#8220;<strong>technig.lab</strong>&#8221; in our example.</li>
</ul>
</li>
</ol>



<p><strong>Note:</strong> the above arguments are the mandatory arguments that we must specify when we create a Child Domain. For more optional parameters click <a href="https://docs.microsoft.com/en-us/powershell/module/addsdeployment/install-addsdomain?view=windowsserver2022-ps" target="_blank" rel="noreferrer noopener nofollow">HERE</a>. </p>



<p>So, considering the cmdlet and the required arguments, our whole line of code becomes: <code>Install-ADDSDomain -DomainType ChildDomain -NewDomainName ca -ParentDomainName technig.lab</code></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="818" height="106" src="https://www.technig.com/wp-content/uploads/2022/05/6-2.jpg" alt="Creating a New Child Domain Using PowerShell" class="wp-image-18216" srcset="https://www.technig.com/wp-content/uploads/2022/05/6-2.jpg 818w, https://www.technig.com/wp-content/uploads/2022/05/6-2-300x39.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/6-2-768x100.jpg 768w" sizes="(max-width: 818px) 100vw, 818px" /><figcaption class="wp-element-caption">Creating a New Child Domain Using PowerShell</figcaption></figure></div>


<ol class="wp-block-list" start="4">
<li>Now, it prompts us to specify the <strong>safe mode administrator password</strong>. Enter the password and confirm it. Then, type down <strong>Y </strong>and press enter. Wait for a while until it finishes the Child Domain installation and configuration process. Once the process completes, it will restart the machine. </li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="988" height="234" src="https://www.technig.com/wp-content/uploads/2022/05/7-1.jpg" alt="Setting DSRM Password and Confirming the Configuration " class="wp-image-18217" srcset="https://www.technig.com/wp-content/uploads/2022/05/7-1.jpg 988w, https://www.technig.com/wp-content/uploads/2022/05/7-1-300x71.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/7-1-768x182.jpg 768w" sizes="(max-width: 988px) 100vw, 988px" /><figcaption class="wp-element-caption">Setting DSRM Password and Confirming the Configuration </figcaption></figure></div>


<p>Once the machine restarts, the Child Domain is created on it. To this end, we are all done with the child domain configuration. </p>



<h2 class="wp-block-heading">Steps on how to create a child domain in Server 2022 using PowerShell:</h2>



<ol class="wp-block-list">
<li>Open PowerShell as an administrator.</li>



<li>Run the following command to install the ADDSDeployment module:</li>
</ol>



<p><code>Install-Module ADDSDeployment</code></p>



<ol class="wp-block-list" start="3">
<li>Create a variable to store the parent domain name and the child domain name. For example:</li>
</ol>



<p><code>$parentDomainName = "technig.com"<br>$childDomainName = "lab.technig.com"</code></p>



<ol class="wp-block-list" start="4">
<li>Run the following command to create the child domain:</li>
</ol>



<p><code>Install-ADDSDomain -NewDomainName $childDomainName -ParentDomainName $parentDomainName</code></p>



<ol class="wp-block-list" start="5">
<li>Enter the SafeModeAdministratorPassword when prompted.</li>



<li>The child domain will be created.</li>
</ol>



<p>Here is an explanation of the command:</p>



<ul class="wp-block-list">
<li><code>Install-ADDSDomain</code>&nbsp;is the PowerShell cmdlet that creates an Active Directory domain.</li>



<li><code>-NewDomainName</code>&nbsp;specifies the name of the child domain.</li>



<li><code>-ParentDomainName</code>&nbsp;specifies the name of the parent domain.</li>



<li><code>-SafeModeAdministratorPassword</code>&nbsp;specifies the password for the Directory Services Restore Mode (DSRM).</li>
</ul>



<p>Here are some additional details that might be helpful for a beginner:</p>



<ul class="wp-block-list">
<li>The child domain name must be a single-label domain name.</li>



<li>The child domain name must not already exist.</li>



<li>The parent domain name must be a valid domain name.</li>



<li>The SafeModeAdministratorPassword must be a strong password.</li>
</ul>



<h2 class="wp-block-heading">Summary</h2>



<p>In this article, we installed the Active Directory Domain Services (AD DS) role on a Windows Server 2022 server using PowerShell. We then created a child domain using PowerShell cmdlets. The steps involved in creating a child domain using PowerShell are as follows:</p>



<ul class="wp-block-list">
<li>Install the ADDSDeployment module.</li>



<li>Create variables to store the parent domain name and the child domain name.</li>



<li>Run the Install-ADDSDomain cmdlet to create the child domain.</li>



<li>Enter the SafeModeAdministratorPassword when prompted.</li>
</ul>



<p>I hope you found this article helpful. Please share your thoughts and queries in the comment section below.</p>
<p>The post <a href="https://www.technig.com/create-a-child-domain-in-server-2022-using-powershell/">Create a Child Domain in Server 2022 Using PowerShell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/create-a-child-domain-in-server-2022-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">18189</post-id>	</item>
		<item>
		<title>How to Set up a PowerShell Remoting Connection</title>
		<link>https://www.technig.com/set-up-a-powershell-remoting-connection/</link>
					<comments>https://www.technig.com/set-up-a-powershell-remoting-connection/#respond</comments>
		
		<dc:creator><![CDATA[Mashallah Haidarzada]]></dc:creator>
		<pubDate>Sat, 24 Jun 2023 01:36:53 +0000</pubDate>
				<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[PowerShell Remoting]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows 11]]></category>
		<category><![CDATA[Windows Server 2019]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<guid isPermaLink="false">https://technig.com/?p=18006</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="866" height="447" src="https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Remote connection" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010.jpg 866w, https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010-300x155.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010-768x396.jpg 768w" sizes="(max-width: 866px) 100vw, 866px" /></div>
<p>PowerShell Remoting allows you to manage a remote computer from your local computer. You type commands on your local computer, and the changes are made on the remote computer. When you set up a PowerShell Remoting connection, you can execute commands remotely, and the changes will be made on the remote computer. The remote computer [&#8230;]</p>
<p>The post <a href="https://www.technig.com/set-up-a-powershell-remoting-connection/">How to Set up a PowerShell Remoting Connection</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="866" height="447" src="https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Remote connection" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010.jpg 866w, https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010-300x155.jpg 300w, https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220514_114010-768x396.jpg 768w" sizes="(max-width: 866px) 100vw, 866px" /></div>
<p>PowerShell Remoting allows you to manage a remote computer from your local computer. You type commands on your local computer, and the changes are made on the remote computer. When you set up a PowerShell Remoting connection, you can execute commands remotely, and the changes will be made on the remote computer. The remote computer is the computer that you want to manage, and your local computer is the computer that you are using to manage the remote computer.</p>



<p>Here are some important points to keep in mind before setting up a PowerShell Remoting connection:</p>



<ol class="wp-block-list">
<li><strong>Both the local and remote computers must be in the same domain or workgroup.</strong>&nbsp;This is because PowerShell Remoting uses Windows Remote Management (WinRM), which is a feature of Active Directory.</li>



<li><strong>Both computers must have PowerShell installed.</strong>&nbsp;PowerShell is a command-line shell and scripting language that is included with Windows.</li>



<li><strong>AD-DS, DHCP, and DNS servers must be configured and running on your network.</strong>&nbsp;These servers are used by WinRM to authenticate users and resolve hostnames.</li>



<li><strong>The IP address configuration on both computers must be correct.</strong>&nbsp;The remote computer&#8217;s IP address must be reachable from the local computer.</li>



<li><strong>The network adapter connection type for all network adapters on both computers must be set to Private.</strong>&nbsp;If any of the network adapters are set to Public, you will receive an error when you try to connect to the remote computer.</li>
</ol>



<h2 class="wp-block-heading">Create PowerShell Remoting Sessions</h2>



<p>Follow the steps below to set up a PowerShell Remoting connection.</p>



<ol class="wp-block-list">
<li><a href="https://www.technig.com/enable-powershell-remoting-in-windows-11/" target="_blank" rel="noreferrer noopener">Enable Powershell remoting</a> on the <strong>remote computer</strong> by running the <code>Enable-PSRemoting</code> command.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="506" height="200" src="https://www.technig.com/wp-content/uploads/2022/05/Enable-PSRemoting.png" alt="Enabling PowerShell Remoting " class="wp-image-18028" srcset="https://www.technig.com/wp-content/uploads/2022/05/Enable-PSRemoting.png 506w, https://www.technig.com/wp-content/uploads/2022/05/Enable-PSRemoting-300x119.png 300w" sizes="(max-width: 506px) 100vw, 506px" /><figcaption class="wp-element-caption">Enabling PowerShell Remoting on the remote computer.</figcaption></figure></div>


<ol class="wp-block-list" start="2">
<li>Set up a remote connection by typing the <code>Enter-PSSession -ComputerName [Name of the computer]</code> command in the local computer. The name of the machine that you are connected to will add at the beginning of commands to show that you are running commands on that particular machine.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="837" height="109" src="https://www.technig.com/wp-content/uploads/2022/05/Enter-PSSession-ComputerName.png" alt="Create PowerShell remote connection Session." class="wp-image-18029" srcset="https://www.technig.com/wp-content/uploads/2022/05/Enter-PSSession-ComputerName.png 837w, https://www.technig.com/wp-content/uploads/2022/05/Enter-PSSession-ComputerName-300x39.png 300w, https://www.technig.com/wp-content/uploads/2022/05/Enter-PSSession-ComputerName-768x100.png 768w" sizes="(max-width: 837px) 100vw, 837px" /><figcaption class="wp-element-caption">Set up PowerShell Remoting connection.</figcaption></figure></div>


<ol class="wp-block-list" start="3">
<li>If you want to create multiple sessions, use the command <code>New-PSSession [Computer Name]</code>. Instead of [Computer Name] use the computer name of your own machine.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="903" height="195" src="https://www.technig.com/wp-content/uploads/2022/05/New-PSSession.png" alt="Set-up PowerShell Remoting Session." class="wp-image-18030" srcset="https://www.technig.com/wp-content/uploads/2022/05/New-PSSession.png 903w, https://www.technig.com/wp-content/uploads/2022/05/New-PSSession-300x65.png 300w, https://www.technig.com/wp-content/uploads/2022/05/New-PSSession-768x166.png 768w" sizes="(max-width: 903px) 100vw, 903px" /><figcaption class="wp-element-caption">Create New PowerShell Remoting Session.</figcaption></figure></div>


<ol class="wp-block-list" start="4">
<li>To see the list of created PowerShell sessions, type the command <code>Get-PSSessions</code>. As you can see, I have one PowerShell session in the list and it is available for connection.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="854" height="156" src="https://www.technig.com/wp-content/uploads/2022/05/Get-PSSession.png" alt="See available PowerShell Remoting Sessions." class="wp-image-18031" srcset="https://www.technig.com/wp-content/uploads/2022/05/Get-PSSession.png 854w, https://www.technig.com/wp-content/uploads/2022/05/Get-PSSession-300x55.png 300w, https://www.technig.com/wp-content/uploads/2022/05/Get-PSSession-768x140.png 768w" sizes="(max-width: 854px) 100vw, 854px" /><figcaption class="wp-element-caption">See the PowerShell Sessions list</figcaption></figure></div>


<ol class="wp-block-list" start="5">
<li>Type the command <code>Get-Command -Noun PSSession</code> to see the list of PowerShell Remoting session commands.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="885" height="263" src="https://www.technig.com/wp-content/uploads/2022/05/Get-Command-Noun-PSSession.png" alt="PowerShell Remoting session commands" class="wp-image-18032" srcset="https://www.technig.com/wp-content/uploads/2022/05/Get-Command-Noun-PSSession.png 885w, https://www.technig.com/wp-content/uploads/2022/05/Get-Command-Noun-PSSession-300x89.png 300w, https://www.technig.com/wp-content/uploads/2022/05/Get-Command-Noun-PSSession-768x228.png 768w" sizes="(max-width: 885px) 100vw, 885px" /><figcaption class="wp-element-caption">List of the PowerShell remoting session commands.</figcaption></figure></div>


<p>You don&#8217;t have to use PowerShell Remoting for commands that have computer name parameters. You can execute commands that have computer name parameters on the target computer without setting up a PowerShell Remoting session.</p>



<p>PowerShell Remoting is much faster than other remoting tools because it uses commands and scripts to manage the target computer. You can create multiple remoting sessions without loading much on the CPU.</p>



<p>Check out this article to know more about <a href="https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/powershell-remoting-faq?view=powershell-7.2" target="_blank" rel="noreferrer noopener">PowerShell Remoting</a>.</p>
<p>The post <a href="https://www.technig.com/set-up-a-powershell-remoting-connection/">How to Set up a PowerShell Remoting Connection</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/set-up-a-powershell-remoting-connection/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">18006</post-id>	</item>
		<item>
		<title>Run PowerShell as Administrator in Windows Server 2022</title>
		<link>https://www.technig.com/run-powershell-as-administrator-in-windows-server-2022/</link>
					<comments>https://www.technig.com/run-powershell-as-administrator-in-windows-server-2022/#respond</comments>
		
		<dc:creator><![CDATA[Mashallah Haidarzada]]></dc:creator>
		<pubDate>Tue, 17 May 2022 09:46:15 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Command Prompt]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Windows 11]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2016]]></category>
		<category><![CDATA[Windows Server 2019]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<guid isPermaLink="false">https://technig.com/?p=17880</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="853" height="510" src="https://www.technig.com/wp-content/uploads/2022/05/Feature-Image.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Run PowerShell as Administrator" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/05/Feature-Image.png 853w, https://www.technig.com/wp-content/uploads/2022/05/Feature-Image-300x179.png 300w, https://www.technig.com/wp-content/uploads/2022/05/Feature-Image-768x459.png 768w" sizes="(max-width: 853px) 100vw, 853px" /></div>
<p>Opening PowerShell as an administrator will give you the ability to execute scripts with administrative rights. To speed up your skills, you have to know how to run PowerShell as an Administrator in different ways, especially if you are using Windows Server 2022. For example, you are running commands in Command Prompt, and you need [&#8230;]</p>
<p>The post <a href="https://www.technig.com/run-powershell-as-administrator-in-windows-server-2022/">Run PowerShell as Administrator in Windows Server 2022</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="853" height="510" src="https://www.technig.com/wp-content/uploads/2022/05/Feature-Image.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Run PowerShell as Administrator" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/05/Feature-Image.png 853w, https://www.technig.com/wp-content/uploads/2022/05/Feature-Image-300x179.png 300w, https://www.technig.com/wp-content/uploads/2022/05/Feature-Image-768x459.png 768w" sizes="(max-width: 853px) 100vw, 853px" /></div>
<p>Opening PowerShell as an administrator will give you the ability to execute scripts with administrative rights. To speed up your skills, you have to know how to run PowerShell as an Administrator in different ways, especially if you are using Windows Server 2022. For example, you are running commands in Command Prompt, and you need to open PowerShell. You should be able to open PowerShell directly from Command Prompt instead of minimizing Command Prompt and opening PowerShell in another way.</p>



<h2 class="wp-block-heading">Run PowerShell as Administrator From Graphical User Interface</h2>



<p>The Windows Server 2022 comes with two major types, Desktop Experience, and Core versions. The Desktop Experience editions will allow you to do tasks in a graphical environment, but using the core versions, you have to run PowerShell, and CMD commands.</p>



<p><strong>Start Menu:</strong> to open PowerShell with administrative capabilities from the start menu, click on the <strong>Windows icon</strong> or press the <strong>Windows key</strong>. Right-click on <strong>Windows PowerShell,</strong> then click on <strong>Run as administrator</strong>.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="706" height="678" src="https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220504_124650-1.png" alt="Run PowerShell as administrator" class="wp-image-17949" srcset="https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220504_124650-1.png 706w, https://www.technig.com/wp-content/uploads/2022/05/screenshot_20220504_124650-1-300x288.png 300w" sizes="(max-width: 706px) 100vw, 706px" /><figcaption>Run PowerShell as administrator from the Start menu.</figcaption></figure></div>



<p><strong>Search Bar:</strong> if for any reason you unpin PowerShell from the Start menu, you can open it from the windows search bar. Type <strong>Windows PowerShell</strong> in the search bar, right-click on it, then click on <strong>Run as administrator</strong>.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="549" height="678" src="https://www.technig.com/wp-content/uploads/2022/05/Run-PowerShell-as-Administrator-from-the-Search-bar.-1.png" alt="Run PowerShell as administrator" class="wp-image-17951" srcset="https://www.technig.com/wp-content/uploads/2022/05/Run-PowerShell-as-Administrator-from-the-Search-bar.-1.png 549w, https://www.technig.com/wp-content/uploads/2022/05/Run-PowerShell-as-Administrator-from-the-Search-bar.-1-243x300.png 243w" sizes="(max-width: 549px) 100vw, 549px" /><figcaption>Run PowerShell as administrator from the Search bar.</figcaption></figure></div>



<p><strong>Windows Run:</strong> press <strong>Win+R</strong> to open the <strong>Run</strong>, type <strong>PowerShell</strong> in it, then press <strong>Ctrl+Shift+Enter</strong>.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/05/Run-PowerShell-as-Administrator-from-Run..png" alt="Run PowerShell as Administrator." class="wp-image-17952" width="526" height="293" srcset="https://www.technig.com/wp-content/uploads/2022/05/Run-PowerShell-as-Administrator-from-Run..png 410w, https://www.technig.com/wp-content/uploads/2022/05/Run-PowerShell-as-Administrator-from-Run.-300x167.png 300w" sizes="(max-width: 526px) 100vw, 526px" /><figcaption>Run PowerShell as administrator from Run.</figcaption></figure></div>



<p>It is easy to run PowerShell using GUI tools, but sometimes you are not in the graphical interface. A good example is Windows Server core editions. You must know how to run PowerShell from the command line interface.</p>



<p>Click on this article to learn <a href="https://technig.com/replace-powershell-with-cmd-window-10/" target="_blank" rel="noreferrer noopener">how to replace PowerShell with cmd in Windows 10?</a></p>



<h2 class="wp-block-heading">Run Powershell as Administrator From Command Line Interface</h2>



<p>In non-GUI windows operating systems, you will have to use Command Prompt and PowerShell to do tasks. There is no Run or Start menu to open PowerShell. You will use Command Prompt.</p>



<p><strong>Command Prompt:</strong> Open Command Prompt, type <strong>PowerShell</strong>, and press Enter key. The<strong> PS</strong> will be added at the beginning of your commands. It means you have opened PowerShell but not as an administrator. Execute the <code>Start-Process PowerShell -Verb runAs</code> command. Enter a username and password with administrative access.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="505" height="165" src="//i0.wp.com/technig.com/wp-content/uploads/2022/05/Start-Process-PowerShell-Verb-RunAs-1.png" alt="" class="wp-image-18040" srcset="https://www.technig.com/wp-content/uploads/2022/05/Start-Process-PowerShell-Verb-RunAs-1.png 505w, https://www.technig.com/wp-content/uploads/2022/05/Start-Process-PowerShell-Verb-RunAs-1-300x98.png 300w" sizes="(max-width: 505px) 100vw, 505px" /><figcaption>Run PowerShell as administrator from the command prompt.</figcaption></figure></div>



<p><strong>PowerShell:</strong> if you opened PowerShell on your computer and want to open it as administrator. Just execute the <code>Start-Process PowerShell -Verb runAs</code> command, then enter the administrator user name and password.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="494" height="120" src="//i0.wp.com/technig.com/wp-content/uploads/2022/05/Start-Process-PowerShell-Verb-RunAs-command-in-PowerShell.png" alt="" class="wp-image-18039" srcset="https://www.technig.com/wp-content/uploads/2022/05/Start-Process-PowerShell-Verb-RunAs-command-in-PowerShell.png 494w, https://www.technig.com/wp-content/uploads/2022/05/Start-Process-PowerShell-Verb-RunAs-command-in-PowerShell-300x73.png 300w" sizes="(max-width: 494px) 100vw, 494px" /><figcaption>Run PowerShell as administrator from the standard PowerShell.</figcaption></figure></div>



<p>The ability to work in both GUI and CLI is important for everyone using Windows Server. I hope that I can cover every detail about how to run PowerShell as an administrator in Windows Server 2022.</p>



<p>Learn more about <a href="https://docs.microsoft.com/en-us/powershell/scripting/learn/ps101/01-getting-started?view=powershell-7.2" target="_blank" rel="noreferrer noopener">PowerShell</a>.</p>
<p>The post <a href="https://www.technig.com/run-powershell-as-administrator-in-windows-server-2022/">Run PowerShell as Administrator in Windows Server 2022</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/run-powershell-as-administrator-in-windows-server-2022/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">17880</post-id>	</item>
		<item>
		<title>How to Join Windows 11 to Domain using PowerShell</title>
		<link>https://www.technig.com/join-windows-11-to-domain-using-powershell/</link>
					<comments>https://www.technig.com/join-windows-11-to-domain-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Habib Sarwari]]></dc:creator>
		<pubDate>Mon, 16 May 2022 07:57:49 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows 11]]></category>
		<category><![CDATA[Windows Configuration]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<category><![CDATA[Windows Settings]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=18045</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="1200" height="630" src="https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Windows 11 Tips" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73.png 1200w, https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73-300x158.png 300w, https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73-1024x538.png 1024w, https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73-768x403.png 768w" sizes="(max-width: 1200px) 100vw, 1200px" /></div>
<p>You can set up a local network with central authentication and join that network to use the shared resources. If you want to join your windows 11 client computer to an active directory domain, and don&#8217;t know where to start, you are in the right place. In these tutorials, you learn how to join the [&#8230;]</p>
<p>The post <a href="https://www.technig.com/join-windows-11-to-domain-using-powershell/">How to Join Windows 11 to Domain using PowerShell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="1200" height="630" src="https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Windows 11 Tips" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73.png 1200w, https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73-300x158.png 300w, https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73-1024x538.png 1024w, https://www.technig.com/wp-content/uploads/2022/05/Screenshot-73-768x403.png 768w" sizes="(max-width: 1200px) 100vw, 1200px" /></div>
<p>You can set up a <a href="https://en.wikipedia.org/wiki/Local_area_network" target="_blank" rel="noreferrer noopener nofollow">local network</a> with central authentication and join that network to use the shared resources. If you want to join your windows 11 client computer to an active directory domain, and don&#8217;t know where to start, you are in the right place.  In these tutorials, you learn how to join the computer running Windows 11 operating system to a domain from PowerShell and computer settings.</p>



<p><strong>Related</strong>: <a href="https://www.technig.com/set-static-ip-address-on-windows-11/" target="_blank" rel="noreferrer noopener nofollow">How to Set Static IP Address on Windows 11</a></p>



<h3 class="wp-block-heading"><strong>Important notes</strong> before joining your computer to a domain!</h3>



<ol class="wp-block-list" type="1"><li>Ensure the network connectivity</li><li>Set a unique name for your client’s computer</li><li>Make sure to have e DNS connection</li><li>Log in as an administrator account</li><li>Know the domain name you want to join</li></ol>



<h2 class="wp-block-heading"><strong>Join Windows 11 computer to a domain from computer settings</strong></h2>



<p>This is a common graphical method to join your computer to the domain environment. To do that, follow the steps below:</p>



<ol class="wp-block-list" type="1"><li>First of all, open the system properties: press <strong>Windows+R</strong> to open the Run and write <strong>sysdm. Cpl </strong>then clicks <strong>ok</strong>.</li><li>Click on the ‘<strong>change</strong>’ button in the system properties dialogue box.</li></ol>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/05/System-Properties.png" alt="How to Join Windows 11 to Domain (PowerShell and Settings)" class="wp-image-18046" width="456" height="527" srcset="https://www.technig.com/wp-content/uploads/2022/05/System-Properties.png 608w, https://www.technig.com/wp-content/uploads/2022/05/System-Properties-259x300.png 259w" sizes="(max-width: 456px) 100vw, 456px" /><figcaption>System Properties Window</figcaption></figure></div>


<ol class="wp-block-list" type="1" start="3"><li>Select the radio button before the domain name and input the domain name in the text box; click <strong>ok</strong>.</li></ol>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/05/Change-the-Domain.png" alt="How to Join Windows 11 to Domain (PowerShell and Settings)" class="wp-image-18047" width="359" height="443" srcset="https://www.technig.com/wp-content/uploads/2022/05/Change-the-Domain.png 479w, https://www.technig.com/wp-content/uploads/2022/05/Change-the-Domain-243x300.png 243w" sizes="(max-width: 359px) 100vw, 359px" /><figcaption>Enter the Domain Name</figcaption></figure></div>


<ol class="wp-block-list" type="1" start="4"><li>A security window pops up asking for the username and password of the domain you want to join. Write them and enter.</li></ol>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/05/Domain-Credential-1.png" alt="How to Join Windows 11 to Domain (PowerShell and Settings)" class="wp-image-18049" width="507" height="430" srcset="https://www.technig.com/wp-content/uploads/2022/05/Domain-Credential-1.png 676w, https://www.technig.com/wp-content/uploads/2022/05/Domain-Credential-1-300x254.png 300w" sizes="(max-width: 507px) 100vw, 507px" /><figcaption>Enter the UserName and Password of the Domain</figcaption></figure></div>


<ol class="wp-block-list" type="1" start="5"><li>A tiny window welcomes you to the domain; click <strong>Ok</strong>.</li><li>A window will prompt you to restart the computer. After the restart, your computer is a member of the network.</li></ol>



<h2 class="wp-block-heading"><strong>How to join your computer to the domain using PowerShell?</strong></h2>



<p>Another easy way to join the Active Directory Domain is through <strong>PowerShell</strong>. You can add your computer to a network using PowerShell with the below steps:</p>



<ol class="wp-block-list" type="1"><li>Search the <strong>Windows PowerShell</strong> in the search box and run it as administrator.</li><li>Write the <strong><code>Add-Computer –DomainName “Domain-Name” –Credential “Domain-UserName”</code></strong> in the PowerShell window and enter.</li></ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="949" height="79" src="https://www.technig.com/wp-content/uploads/2022/05/PowerShell-CMD.png" alt="How to Join Windows 11 to Domain (PowerShell and Settings)" class="wp-image-18051" srcset="https://www.technig.com/wp-content/uploads/2022/05/PowerShell-CMD.png 949w, https://www.technig.com/wp-content/uploads/2022/05/PowerShell-CMD-300x25.png 300w, https://www.technig.com/wp-content/uploads/2022/05/PowerShell-CMD-768x64.png 768w" sizes="(max-width: 949px) 100vw, 949px" /><figcaption>Write the Command on the PowerShell</figcaption></figure></div>


<ol class="wp-block-list" type="1" start="3"><li>A tiny window shows up asking to enter the Domain-Password. Enter the password and enter.</li></ol>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/05/Credential-Request-Window.png" alt="Credential Request Window" class="wp-image-18052" width="360" height="290" srcset="https://www.technig.com/wp-content/uploads/2022/05/Credential-Request-Window.png 480w, https://www.technig.com/wp-content/uploads/2022/05/Credential-Request-Window-300x242.png 300w" sizes="(max-width: 360px) 100vw, 360px" /><figcaption>Credential Request Window</figcaption></figure></div>


<ol class="wp-block-list" type="1" start="4"><li>Restart your computer, and then you are a member of the network.</li></ol>



<h2 class="wp-block-heading"><strong>How to check if your PC is joined to a domain or Workgroup?</strong></h2>



<p>There are multiple ways to check whether your computer is a domain member or a WORKGROUP. The most accessible and most convenient of them is through Command Prompt:</p>



<ol class="wp-block-list" type="1"><li>Open the Command Prompt from the Start Menu.</li><li>Write the <strong><code>Systeminfo |findstr /I “domain”</code></strong> and enter. In the second line, you will see either the domain is a workgroup or a member of a domain.</li></ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="636" height="91" src="https://www.technig.com/wp-content/uploads/2022/05/CMD-Command.png" alt="Command Prompt Window" class="wp-image-18053" srcset="https://www.technig.com/wp-content/uploads/2022/05/CMD-Command.png 636w, https://www.technig.com/wp-content/uploads/2022/05/CMD-Command-300x43.png 300w" sizes="(max-width: 636px) 100vw, 636px" /><figcaption>Write the Code in the CMD and Enter</figcaption></figure></div>


<p>Another way to check if your computer is joined to a domain is through the system properties:</p>



<ol class="wp-block-list" type="1"><li>Go to the <strong>setting</strong> of your computer. Click on the <strong>System</strong>, scroll down, find the <strong>About </strong>option, and click on it.</li><li>Click on the hyperlink “<strong>Domain or Workgroup.</strong>”</li><li>In the system properties dialogue box, click on the change button.</li><li>If the workgroup radio button was selected, you are not a member of any domain. Else, if the domain radio button is selected, you are a member of the domain.</li></ol>



<h3 class="wp-block-heading"><strong>Conclusions</strong></h3>



<p>There are multiple ways to add your computer to a domain. And the easiest and most convenient of them is through PowerShell and computer settings that we talked about. Write your questions in the comment section of this page.</p>
<p>The post <a href="https://www.technig.com/join-windows-11-to-domain-using-powershell/">How to Join Windows 11 to Domain using PowerShell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/join-windows-11-to-domain-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">18045</post-id>	</item>
		<item>
		<title>Enable PowerShell Remoting in Windows 11</title>
		<link>https://www.technig.com/enable-powershell-remoting-in-windows-11/</link>
					<comments>https://www.technig.com/enable-powershell-remoting-in-windows-11/#comments</comments>
		
		<dc:creator><![CDATA[Mashallah Haidarzada]]></dc:creator>
		<pubDate>Sun, 08 May 2022 06:46:35 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Network Adapter Connection Type]]></category>
		<category><![CDATA[Network Connections]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[PowerShell Remoting]]></category>
		<category><![CDATA[Windows 11]]></category>
		<category><![CDATA[Windows 11 Configuration]]></category>
		<guid isPermaLink="false">https://technig.com/?p=17582</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="714" height="419" src="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Enable PowerShell Remoting in Windows 11." decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712.png 714w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712-300x176.png 300w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712-357x210.png 357w" sizes="(max-width: 714px) 100vw, 714px" /></div>
<p>PowerShell offers a quick way to manage computers remotely through scripting and cmdlets. You can enable Windows PowerShell Remoting to manage multiple computers remotely in Windows 11 and other latest windows. While setting up a remote connection between computers, Windows Firewall blocks the request to the remote computer, so you have to allow the firewall [&#8230;]</p>
<p>The post <a href="https://www.technig.com/enable-powershell-remoting-in-windows-11/">Enable PowerShell Remoting in Windows 11</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="714" height="419" src="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Enable PowerShell Remoting in Windows 11." decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712.png 714w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712-300x176.png 300w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_224712-357x210.png 357w" sizes="(max-width: 714px) 100vw, 714px" /></div>
<p>PowerShell offers a quick way to manage computers remotely through scripting and cmdlets. You can enable Windows PowerShell Remoting to manage multiple computers remotely in Windows 11 and other latest windows.</p>



<p>While setting up a remote connection between computers, Windows Firewall blocks the request to the remote computer, so you have to allow the firewall features related to remote management in the Windows Firewall. Go to <strong>Control Panel,</strong> <strong>System and Security</strong>, <strong>Windows Defender Firewall</strong>, and click on <strong>Allow an app or feature through Windows Defender Firewall</strong>.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="879" height="476" src="https://technig.com/wp-content/uploads/2022/04/screenshot_20220422_201359.png" alt="Allow an app or feature through windows defender firewall" class="wp-image-17637" srcset="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_201359.png 879w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_201359-300x162.png 300w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220422_201359-768x416.png 768w" sizes="(max-width: 879px) 100vw, 879px" /><figcaption>Windows Defender Firewall.</figcaption></figure></div>



<p>In order to be able to set up PowerShell remoting in Windows 11, allow the following features in the Windows Defender Firewall.</p>



<ol start="1" class="bs-shortcode-list wp-block-list"><li>Remote Desktop</li><li>Remote Assistance</li><li>Remote Event Log Management</li><li>Remote Event Monitor</li><li>Remote Scheduled Tasks Management</li><li>Remote Service Management</li><li>Remote Shut-down</li><li>Remote Volume Management</li><li>Virtual Machine Monitoring</li><li>Windows Firewall Remote Management</li><li>Windows Management Instrumentation (WMI)</li><li>Windows Remote Management</li><li>Windows Remote Management (Compatibility)</li></ol>



<p>It looks a long way and has a lot of things to configure. The quick way is to enable it through PowerShell. Open PowerShell as administrator and then type <code>Enable-PSRemoting</code>. If this command does not run successfully, then you have to allow the features mentioned above manually.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="653" height="199" src="https://technig.com/wp-content/uploads/2022/04/screenshot_20220421_060844.png" alt="Enable PowerShell Remoting through PowerShell." class="wp-image-17630" srcset="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_060844.png 653w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_060844-300x91.png 300w" sizes="(max-width: 653px) 100vw, 653px" /><figcaption>Enable PowerShell remoting.</figcaption></figure></div>



<p>Sometimes you will receive an error message. If your computer&#8217;s network adapter is set up for a public network, then you have to change the connection type to private.</p>



<p>For more about PowerShell remoting, click <a href="https://docs.microsoft.com/en-us/powershell/scripting/learn/ps101/08-powershell-remoting?msclkid=fdb7480ac25311ec8abb53443385e8b5&amp;view=powershell-7.2" target="_blank" rel="noreferrer noopener">here</a>.</p>



<h2 class="wp-block-heading">Change Network Profile Type Using PowerShell</h2>



<p>To change the network profile type from public network to private network using PowerShell, follow the steps below.</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<ol class="wp-block-list"><li>Run PowerShell as administrator.</li><li>In order to get the interface index number, type the command <code>Get-NetConnectionProfile</code>. As you can see, my computer has one network connection which is <strong>Ethernet 2</strong>. The adapter connection type is <strong>Public</strong>, and <strong>InterfaceIndex</strong> is <strong>15</strong>.</li></ol>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="976" height="408" src="https://technig.com/wp-content/uploads/2022/04/screenshot_20220421_022512.png" alt="How to know network connection type" class="wp-image-17622" srcset="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_022512.png 976w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_022512-300x125.png 300w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_022512-768x321.png 768w" sizes="(max-width: 976px) 100vw, 976px" /><figcaption>Get the network connection specifications.</figcaption></figure></div>
</div></div>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<ol class="wp-block-list" start="3"><li>Now that we got the interface-index number, execute the command <code>Set-NetConnectionProfile -InterfaceIndex 15 -NetworkCategory Private</code> to set <strong>Private</strong> network connection type for interface index 15. Note that the interface index on your device may not be 15, type the interface index of your device.</li></ol>
</div></div>



<div class="wp-block-image"><figure class="alignleft size-full"><img loading="lazy" decoding="async" width="979" height="410" src="https://technig.com/wp-content/uploads/2022/04/screenshot_20220421_023940.png" alt="Set Network connection Type" class="wp-image-17623" srcset="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_023940.png 979w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_023940-300x126.png 300w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_023940-768x322.png 768w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Set network category through PowerShell.</figcaption></figure></div>



<ol class="wp-block-list" start="4"><li>When you type a command in PowerShell, and it runs without any error, then it means that the configuration is successful. To make sure that the Network type changed from Public to Private, type  <code>Get-NetConnectionProfile -InterfaceIndex 15</code>command.</li></ol>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="819" height="262" src="https://technig.com/wp-content/uploads/2022/04/screenshot_20220421_024843.png" alt="Get Network Connection Profile  in PowerShell." class="wp-image-17626" srcset="https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_024843.png 819w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_024843-300x96.png 300w, https://www.technig.com/wp-content/uploads/2022/04/screenshot_20220421_024843-768x246.png 768w" sizes="(max-width: 819px) 100vw, 819px" /><figcaption>Check the network connection profile for a specific ethernet.</figcaption></figure></div>



<p>Now that the connection type changed from public to private try to enable PowerShell remoting.</p>



<p>PowerShell is a great tool to configure windows settings locally or remotely because there is no Graphical User Interface (GUI) involved, and it runs the command quickly. Another advantage of PowerShell is that you can manage multiple remote computers at the same time, and run one command on multiple computers.</p>
<p>The post <a href="https://www.technig.com/enable-powershell-remoting-in-windows-11/">Enable PowerShell Remoting in Windows 11</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/enable-powershell-remoting-in-windows-11/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">17582</post-id>	</item>
		<item>
		<title>Install and Configure DHCP in Windows Server 2022 Using PowerShell</title>
		<link>https://www.technig.com/install-and-configure-dhcp-using-powershell-in-windows-server-2022/</link>
					<comments>https://www.technig.com/install-and-configure-dhcp-using-powershell-in-windows-server-2022/#respond</comments>
		
		<dc:creator><![CDATA[Danish]]></dc:creator>
		<pubDate>Wed, 13 Apr 2022 09:54:04 +0000</pubDate>
				<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[DHCP PowerShell Commands]]></category>
		<category><![CDATA[DHCP Server]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2022]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=17264</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="1103" height="683" src="https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Install and Configure DHCP in Windows Server 2022 using Windows PowerShell" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2.jpg 1103w, https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2-300x186.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2-1024x634.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2-768x476.jpg 768w" sizes="(max-width: 1103px) 100vw, 1103px" /></div>
<p>We have published a step by step guide on how to install and configure DHCP in Server 2022 using Server Manager. This article, in turn, covers an easy and step by step guide on how to install and configure DHCP in Server 2022 using Windows PowerShell. Using PowerShell to perform such technical tasks is always [&#8230;]</p>
<p>The post <a href="https://www.technig.com/install-and-configure-dhcp-using-powershell-in-windows-server-2022/">Install and Configure DHCP in Windows Server 2022 Using PowerShell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="1103" height="683" src="https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Install and Configure DHCP in Windows Server 2022 using Windows PowerShell" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2.jpg 1103w, https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2-300x186.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2-1024x634.jpg 1024w, https://www.technig.com/wp-content/uploads/2022/04/feature-Image-2-768x476.jpg 768w" sizes="(max-width: 1103px) 100vw, 1103px" /></div>
<p>We have published a step by step guide on <a href="https://www.technig.com/install-and-configure-dhcp-in-windows-server-2022-using-server-manager/" target="_blank" rel="noreferrer noopener">how to install and configure DHCP in Server 2022 using Server Manager</a>. This article, in turn, covers an easy and step by step guide on how to install and configure DHCP in Server 2022 using <a href="https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.2" target="_blank" rel="noreferrer noopener">Windows PowerShell</a>. Using PowerShell to perform such technical tasks is always a preferred alternative for IT pros. Besides other benefits, using Powershell takes us less time to complete the tasks. It is, of course, a professional way to accomplish almost any task in Windows Server operating systems. </p>



<h2 class="wp-block-heading">Steps to Install and Configure DHCP Using PowerShell</h2>



<p>Generally, the process of DHCP installation and configuration in Windows Server encompasses three tasks: installing the DHCP capability and its management tools, adding security groups, and authorizing DHCP in Active Directory. Let&#8217;s dive into the steps. </p>



<ul class="wp-block-list"><li>Open the <strong>PowerShell </strong>from the <strong>Start Menu.</strong> See the picture below. You can also open it from <strong>Run </strong>using<code>powershell</code>command in the <strong>Run </strong>dialogue box. </li></ul>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/04/1-1.jpg" alt="Opening PowerShell on Windows Server 2022 | DHCP installation and Configuration using PowerShell" class="wp-image-17324" width="693" height="502" srcset="https://www.technig.com/wp-content/uploads/2022/04/1-1.jpg 725w, https://www.technig.com/wp-content/uploads/2022/04/1-1-300x217.jpg 300w" sizes="(max-width: 693px) 100vw, 693px" /><figcaption>Opening PowerShell on Windows Server 2022</figcaption></figure></div>



<ul class="wp-block-list"><li>Before straightly going to the DHCP installation command, run the<code>Get-WindowsFeature</code>command. This command lists all the features available in Windows Server 2022. It shows the name and installation state of those features. As the picture below shows, we have the <strong>DHCP </strong>feature available to install. </li></ul>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/04/2-2.jpg" alt="Get-WindowsFeatures Windows PowerShell Command and Checking DHCP Feature" class="wp-image-17325" width="719" height="377"/><figcaption>Get-WindowsFeatures Windows PowerShell Command</figcaption></figure></div>



<ul class="wp-block-list"><li>To install DHCP and its management tools, run the command<code>Install-WindowsFeature DHCP -IncludeManagementTools.</code>Wait for a while till it finishes the installation, and you will see the details upon successful installation. </li></ul>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/04/3-2.jpg" alt="DHCP Installation Windows PowerShell Command" class="wp-image-17326" width="738" height="185" srcset="https://www.technig.com/wp-content/uploads/2022/04/3-2.jpg 923w, https://www.technig.com/wp-content/uploads/2022/04/3-2-300x75.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/3-2-768x192.jpg 768w" sizes="(max-width: 738px) 100vw, 738px" /><figcaption>DHCP Installation Windows PowerShell Command</figcaption></figure></div>



<ul class="wp-block-list"><li>Now, run the<code>netsh DHCP add SecurityGroups</code>command to add the DHCP local security groups.</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/04/4-2.jpg" alt="Windows PowerShell Command to Add DHCP Security Group" class="wp-image-17327" width="738" height="174" srcset="https://www.technig.com/wp-content/uploads/2022/04/4-2.jpg 876w, https://www.technig.com/wp-content/uploads/2022/04/4-2-300x71.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/4-2-768x181.jpg 768w" sizes="(max-width: 738px) 100vw, 738px" /><figcaption>Windows PowerShell Command to Add DHCP Security Group</figcaption></figure></div>



<ul class="wp-block-list"><li>The next step is to authorize the DHCP server to the Active Directory. To do so, use the command <code>Add-DhcpServerInDC -DnsName ServerName.DomainName.</code>Use your DHCP server name instead of the <strong>ServerName </strong>and your domain name instead of the <strong>DomainName </strong>in the above command. In my case, <strong>technigDC </strong>is the DHCP server name, and Technig.com is the domain name, as shown in the below picture.</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/04/5-4.jpg" alt="Window PowerShell Command to Authorize DHCP in Active Directory Domain Services on Windows Server 2022" class="wp-image-17328" width="744" height="193" srcset="https://www.technig.com/wp-content/uploads/2022/04/5-4.jpg 871w, https://www.technig.com/wp-content/uploads/2022/04/5-4-300x78.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/5-4-768x200.jpg 768w" sizes="(max-width: 744px) 100vw, 744px" /><figcaption>Window PowerShell Command to Authorize DHCP in Active Directory Domain Services</figcaption></figure></div>



<ul class="wp-block-list"><li>At this point, we are all done with our DHCP installation and configuration. We can view the authorized DHCP servers in Active Directory using<code>Get-DhcpServerInDC</code>command.</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://www.technig.com/wp-content/uploads/2022/04/6-2.jpg" alt="Windows PowerShell Command to Check Authorized DHCP Servers in Active Directory" class="wp-image-17329" width="752" height="200" srcset="https://www.technig.com/wp-content/uploads/2022/04/6-2.jpg 864w, https://www.technig.com/wp-content/uploads/2022/04/6-2-300x80.jpg 300w, https://www.technig.com/wp-content/uploads/2022/04/6-2-768x205.jpg 768w" sizes="(max-width: 752px) 100vw, 752px" /><figcaption>Windows PowerShell Command to Check Authorized DHCP Servers</figcaption></figure></div>



<p>That is all with DHCP installation and configuration using Windows PowerShell. That simple, it is installed and authorized. </p>



<h2 class="wp-block-heading">Summary</h2>



<p>Using Windows PowerShell is a professional way of completing configuration tasks on Windows OSs, including Windows Server 2022. Throughout this article, we explained how we can install and configure DHCP on Windows Server 2022 using the PowerShell tool. We saw that we can easily do it using a few simple command lines. </p>



<p>In the end, I hope you found this article helpful. Feel free to put your related questions in the comment section below. </p>
<p>The post <a href="https://www.technig.com/install-and-configure-dhcp-using-powershell-in-windows-server-2022/">Install and Configure DHCP in Windows Server 2022 Using PowerShell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/install-and-configure-dhcp-using-powershell-in-windows-server-2022/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">17264</post-id>	</item>
		<item>
		<title>How to Make NPM Work 20 Times Faster</title>
		<link>https://www.technig.com/make-npm-install-work-20-times-faster/</link>
					<comments>https://www.technig.com/make-npm-install-work-20-times-faster/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Fri, 17 Nov 2017 11:34:04 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[Command Line Tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How to Fix]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Nodejs]]></category>
		<category><![CDATA[NPM Install]]></category>
		<category><![CDATA[NPM Package]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Developer]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=13692</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Make NPM install Work 20 Times Faster Step by Step - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>As a developer or web designer, we use NPM almost more than 5 times on average per day. Sometimes, it takes a long time to install a package. Even more than 5 minutes or more. Besides, you watch some people on tutorials who install a package in 5 seconds. How they do that? If you [&#8230;]</p>
<p>The post <a href="https://www.technig.com/make-npm-install-work-20-times-faster/">How to Make NPM Work 20 Times Faster</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Make NPM install Work 20 Times Faster Step by Step - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/Make-NPM-install-Work-20-Times-Faster-Step-by-Step-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>As a developer or web designer, we use <a href="https://www.technig.com/tag/npm-package/">NPM </a>almost more than 5 times on average per day. Sometimes, it takes a long time to install a package. Even more than 5 minutes or more. Besides, you watch some people on tutorials who install a package in 5 seconds. How they do that? If you want to make NPM install Work 20 times faster, this tutorial will help you.</p>
<h2>Why NPM install is Too Slow?</h2>
<p>Before we make NPM work faster, we should know what are the reasons why NPM install is too Slow. Well, there are many reasons. We just mention a few of them. So, if you are using Mac, it&#8217;s faster than the PC. Because all Apple MacBooks are having <a href="https://en.wikipedia.org/wiki/Solid-state_drive">SSD </a>hard drive. Also, most SSD drives are 5 to 10 times faster than HDD hard drives. Therefore, your computer might work slow.</p>
<p>If you have Mac or PC with<a href="https://www.technig.com/upgrade-laptop-hard-disk-to-ssd/"> SSD hard </a>drive and still your NPM install command work slow, you can make it faster by following the tutorial. Also, <strong>this method works for HDD drives as well. </strong></p>
<h2>Make NPM Install<span style="font-size: 16px;">  </span>Work 20 Times Faster</h2>
<p>1. The first way to make <span style="background-color: #f6d5d9;">NPM </span>install faster is to make the progress set to false. So, this makes NPM install packages without showing the progress status.</p>
<pre class="theme:terminal lang:default decode:true">npm set progress=false</pre>
<p>It makes NPM install run 2x faster.</p>
<p>2. The second way is to use PNPM. It&#8217;s fast, disk space-efficient package manager. Besides, it&#8217;s a lot faster than NPM and Yarn. The way it works is similar to NPM. Also, as the documentation says, it supports almost 80% of NPM commands.</p>
<p>Features:</p>
<ul>
<li><strong>Fast.</strong> Faster than <span style="background-color: #f6d5d9;">NPM </span>and Yarn.</li>
<li><strong>Efficient.</strong> One version of a package is saved only ever once on a disk.</li>
<li><strong>Deterministic.</strong> It has a lock file called.<code>shrinkwrap.yaml</code></li>
<li><strong>Strict.</strong> A package can access only dependencies that are specified in its.<code>package.json</code></li>
<li><strong>Works everywhere.</strong> Works on Windows, Linux and OS X.</li>
</ul>
<p>Here is how you install and use it. Assuming you have NPM.</p>
<pre class="theme:terminal lang:default decode:true ">npm install -g pnpm</pre>
<p>Now, instead of using NPM install, use PNPM install. For example.</p>
<pre class="theme:terminal lang:default decode:true ">pnpm install bootstrap</pre>
<p>But you should remember, it will not work if you don&#8217;t have the file<code>package.json</code>.</p>
<pre class="theme:terminal lang:default decode:true ">npm init -y</pre>
<p>Before using PNPM install command, run <code> npm init -y</code> to create an empty <code>package.json</code>file.</p>
<p><span style="background-color: #f6d5d9;">NPM </span>commands that are re-implemented in PNPM:</p>
<ul>
<li><code>install</code></li>
<li><code>update</code></li>
<li><code>uninstall</code></li>
<li><code>link</code></li>
<li><code>prune</code></li>
<li><code>list</code></li>
<li><code>install-test</code></li>
<li><code>outdated</code></li>
<li><code>rebuild</code></li>
<li><code>root</code></li>
<li><code>help</code></li>
</ul>
<p>You can read more <a href="https://github.com/pnpm/pnpm">here </a>about it.</p>
<h2>Conclusion</h2>
<p>I hope it has been informative for you and y help you. If you have any questions, feel free to comment below. Besides, you can join our forum and ask questions there.</p>
<p>The post <a href="https://www.technig.com/make-npm-install-work-20-times-faster/">How to Make NPM Work 20 Times Faster</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/make-npm-install-work-20-times-faster/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13692</post-id>	</item>
		<item>
		<title>How to Manage Hard Disk with Command in Windows 10?</title>
		<link>https://www.technig.com/manage-hard-disk-using-command/</link>
					<comments>https://www.technig.com/manage-hard-disk-using-command/#comments</comments>
		
		<dc:creator><![CDATA[Shams]]></dc:creator>
		<pubDate>Thu, 09 Nov 2017 09:30:51 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Command Line Tips]]></category>
		<category><![CDATA[Data Backup]]></category>
		<category><![CDATA[Disaster Recovery]]></category>
		<category><![CDATA[Disk Management]]></category>
		<category><![CDATA[External Hard Disk]]></category>
		<category><![CDATA[Hard Disk Manager]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows Server 2016]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=13484</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Manage Hard Disk using Command Line in Windows 10 - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>The storage management or hard disk management is easy with the command line as GUI disk management on Windows. Here we just focus on this topic to manage hard disk using the command on Windows 10 and other Windows operating systems. Manage Hard disk with command-line tool DiskPart. The Disk Partition Utility (Diskpart) is a [&#8230;]</p>
<p>The post <a href="https://www.technig.com/manage-hard-disk-using-command/">How to Manage Hard Disk with Command in Windows 10?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Manage Hard Disk using Command Line in Windows 10 - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/How-to-Manage-Hard-Disk-using-Command-Line-in-Windows-10-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>The storage management or hard disk management is easy with the command line as GUI disk management on Windows. Here we just focus on this topic to manage hard disk using the command on Windows 10 and other Windows operating systems. Manage Hard disk with command-line tool DiskPart.</p>
<p>The Disk Partition Utility (<a href="https://en.wikipedia.org/wiki/Diskpart" rel="noopener">Diskpart</a>) is a command-line tool for managing hard disk in Windows operating system. Diskpart has replaced with FDisk command-line tool which works with the MS-DOS-based operating system.</p>
<h3>Manage Hard Disk using Command Line</h3>
<p>Diskpart can be used on both command prompt and PowerShell. But, you must well be understanding what you are doing when using Diskpart. It might happen much time which formatted the entire disk with one command. The last one was a Laptop of my friend with lots of memorial photos and videos. Fortunately, we had recovered all data successfully with data recovery software. But take too us much time.</p>
<p><strong>Manage Hard Disk using Command Line in Windows 10: </strong></p>
<ol>
<li>Open command line or PowerShell.</li>
<li>Run DiskPart as Administrator privilege.</li>
<li>Clean Hard Disk with Command-Line.</li>
<li>Create Partition with Command.</li>
<li>Format Hard Disk with Command.</li>
<li>Delete Partition.</li>
<li>Extend Partition with Command-Line.</li>
<li>Shrink Partition with Command.</li>
</ol>
<p>That&#8217;s all you will learn from reading this article about tips to manage hard disk using the command line in the Windows environment. Let&#8217;s start it with running DiskPart as administrator privilege on Windows 10. You can use this command on other Windows operating systems as well.</p>
<ol>
<li>Press <strong>Windows+R</strong> to open the <strong>Run</strong> and type &#8220;<strong>diskpart</strong>&#8221; then press enter to run the DiskPart utility.</li>
<li>Click <strong>Yes</strong> to User Account Control prompt.</li>
</ol>
<p><figure id="attachment_1005" aria-describedby="caption-attachment-1005" style="width: 745px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Run-Diskpart.jpg"><img loading="lazy" decoding="async" class="wp-image-1005 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Run-Diskpart.jpg" alt="Manage Hard Disk using Command Line in Windows 10 - Technig" width="745" height="573" srcset="https://www.technig.com/wp-content/uploads/2014/12/Run-Diskpart.jpg 745w, https://www.technig.com/wp-content/uploads/2014/12/Run-Diskpart-300x231.jpg 300w" sizes="(max-width: 745px) 100vw, 745px" /></a><figcaption id="caption-attachment-1005" class="wp-caption-text">Run DiskPart on Windows 10 &#8211; Technig</figcaption></figure></p>
<h3>1. Create Partition with Command</h3>
<p>You may want to list installed hard disks of the system. Just type<strong> &#8216;list disk&#8217;</strong> then press <strong>enter</strong> to display all connected hard disks of your PC. The List disk command only shows the normal hard disks on your computer. If your hard disk is corrupted, it&#8217;s not possible to display with DiskPart List Disk command.</p>
<p><strong>1.</strong> Type &#8220;<strong>List Disk</strong>&#8221; to view all hard disks.</p>
<p><figure id="attachment_1007" aria-describedby="caption-attachment-1007" style="width: 623px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/List-all-disks.jpg"><img loading="lazy" decoding="async" class="wp-image-1007 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/List-all-disks.jpg" alt="How do I list drives in command prompt? - Technig" width="623" height="134" srcset="https://www.technig.com/wp-content/uploads/2014/12/List-all-disks.jpg 623w, https://www.technig.com/wp-content/uploads/2014/12/List-all-disks-300x65.jpg 300w" sizes="(max-width: 623px) 100vw, 623px" /></a><figcaption id="caption-attachment-1007" class="wp-caption-text">How do I list drives in command prompt? &#8211; Technig</figcaption></figure></p>
<p><strong>2.</strong> In this PC we have two hard disks. You must select the correct disk you want to manage with the command line. Choose the disk with select disk command.</p>
<p>For example, you want to select disk 1. Type &#8220;<strong>select disk 1</strong>&#8221; command and press enter. Now the disk one has chosen as the disk you want to manage it with the command line.</p>
<p><figure id="attachment_1008" aria-describedby="caption-attachment-1008" style="width: 560px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Select-Hard-Disk.jpg"><img loading="lazy" decoding="async" class="wp-image-1008 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Select-Hard-Disk.jpg" alt="Select Hard Disk" width="560" height="177" srcset="https://www.technig.com/wp-content/uploads/2014/12/Select-Hard-Disk.jpg 560w, https://www.technig.com/wp-content/uploads/2014/12/Select-Hard-Disk-300x95.jpg 300w" sizes="(max-width: 560px) 100vw, 560px" /></a><figcaption id="caption-attachment-1008" class="wp-caption-text">Select Hard Disk</figcaption></figure></p>
<p>To see whether the disk has selected or not, just type &#8220;list disk&#8221; and see the result. The strick in front of Disk 1 shows that disk one is selected and ready for management.</p>
<h3>2. Clean a Partition Using DiskPart</h3>
<p>Now clean the disk by <strong>&#8216;Clean&#8217;</strong> command.</p>
<ol>
<li>Type &#8220;<strong>clean</strong>&#8221; and press enter to clean disk with command.</li>
</ol>
<p><figure id="attachment_1010" aria-describedby="caption-attachment-1010" style="width: 462px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Clean-disk.jpg"><img loading="lazy" decoding="async" class="wp-image-1010 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Clean-disk.jpg" alt="How to Clean a Partition using diskpart - Technig" width="462" height="59" srcset="https://www.technig.com/wp-content/uploads/2014/12/Clean-disk.jpg 462w, https://www.technig.com/wp-content/uploads/2014/12/Clean-disk-300x38.jpg 300w" sizes="(max-width: 462px) 100vw, 462px" /></a><figcaption id="caption-attachment-1010" class="wp-caption-text">How to Clean a Partition using DiskPart &#8211; Technig</figcaption></figure></p>
<p>That&#8217;s all command to clean a disk with DiskPart command. Let&#8217;s create a new partition with command.</p>
<h3>3. Create a Partition with Command</h3>
<p>To create a partition with command just type &#8220;<strong>Create partition primary size=40000&#8243;</strong> and press enter. This command will create a <strong>40 GB</strong> primary partition from disk 1. You can assign the size of your partition according to your hard disk capacity.</p>
<p><strong>1.</strong> Type &#8220;<strong>create part primary size=50000</strong>&#8221; then press enter.</p>
<p><figure id="attachment_1011" aria-describedby="caption-attachment-1011" style="width: 636px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Create-a-Primary-Partition.jpg"><img loading="lazy" decoding="async" class="wp-image-1011 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Create-a-Primary-Partition.jpg" alt="How to Create Partition using Command Prompt - DiskPart Create Partition Windows 10" width="636" height="59" srcset="https://www.technig.com/wp-content/uploads/2014/12/Create-a-Primary-Partition.jpg 636w, https://www.technig.com/wp-content/uploads/2014/12/Create-a-Primary-Partition-300x28.jpg 300w" sizes="(max-width: 636px) 100vw, 636px" /></a><figcaption id="caption-attachment-1011" class="wp-caption-text">How to Create Partition using Command Prompt &#8211; DiskPart Create Partition Windows 10</figcaption></figure></p>
<p><strong>2.</strong> To check the created partition type<strong> &#8216;List vol&#8217;</strong> command. The command will list all volumes. On the below screenshot <strong>Volume 3</strong> is the created partition with 39 GB space.</p>
<p><figure id="attachment_1013" aria-describedby="caption-attachment-1013" style="width: 720px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/List-all-Hard-disk-Volumes.jpg"><img loading="lazy" decoding="async" class="wp-image-1013 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/List-all-Hard-disk-Volumes.jpg" alt="List all Hard disk Volumes - DiskPart List Volume Windows 10 - Technig" width="720" height="142" srcset="https://www.technig.com/wp-content/uploads/2014/12/List-all-Hard-disk-Volumes.jpg 720w, https://www.technig.com/wp-content/uploads/2014/12/List-all-Hard-disk-Volumes-300x59.jpg 300w" sizes="(max-width: 720px) 100vw, 720px" /></a><figcaption id="caption-attachment-1013" class="wp-caption-text">List all Hard disk Volumes &#8211; DiskPart List Volume Windows 10 &#8211; Technig</figcaption></figure></p>
<p>The last <strong>Volume 3</strong> is the newly created partition. It is selected and ready to format it.</p>
<h3>4. How to Format Partition with Command?</h3>
<ol>
<li>Type <strong>&#8216;format fs=ntfs quick&#8217;</strong> to format the partition, and type <strong>&#8216;list vol&#8217;</strong> to see the formatted partition with <strong>NTFS</strong> file system.</li>
</ol>
<p><figure id="attachment_1014" aria-describedby="caption-attachment-1014" style="width: 707px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Format-a-hard-disk.jpg"><img loading="lazy" decoding="async" class="wp-image-1014 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Format-a-hard-disk.jpg" alt="DiskPart Format Partition - How to Format Partition with Command Line - Technig" width="707" height="206" srcset="https://www.technig.com/wp-content/uploads/2014/12/Format-a-hard-disk.jpg 707w, https://www.technig.com/wp-content/uploads/2014/12/Format-a-hard-disk-300x87.jpg 300w" sizes="(max-width: 707px) 100vw, 707px" /></a><figcaption id="caption-attachment-1014" class="wp-caption-text">DiskPart Format Partition &#8211; How to Format Partition with Command-Line &#8211; Technig</figcaption></figure></p>
<p>You can see the result of Diskpart format partition. It shows volume 3 has formatted as NTFS type. Next, assign a letter to the newly formatted partition.</p>
<p><strong>2.</strong> Just type &#8220;<strong>assign letter=f</strong>&#8221; and press enter. The F letter has assigned to volume 3. Now it appears as <strong>F local drive</strong> on File Explorer.</p>
<p><figure id="attachment_1015" aria-describedby="caption-attachment-1015" style="width: 723px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Assign-letter-to-a-volume.jpg"><img loading="lazy" decoding="async" class="wp-image-1015 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Assign-letter-to-a-volume.jpg" alt="Assign letter to a volume with Command Line - Technig" width="723" height="181" srcset="https://www.technig.com/wp-content/uploads/2014/12/Assign-letter-to-a-volume.jpg 723w, https://www.technig.com/wp-content/uploads/2014/12/Assign-letter-to-a-volume-300x75.jpg 300w" sizes="(max-width: 723px) 100vw, 723px" /></a><figcaption id="caption-attachment-1015" class="wp-caption-text">Assign a letter to a volume with Command-Line &#8211; Technig</figcaption></figure></p>
<p>Now you have learned creating, formatting and some diskpart commands for managing hard disk with the command line in Windows 10. The next step is using some more DiskPart command to get expert on Diskpart disk management tool.</p>
<h3>5. How to Delete a Partition with Command?</h3>
<ol>
<li>To delete a partition or volume with command first select volume then type &#8220;<strong>delete partition</strong>.&#8221; Like screenshot.</li>
</ol>
<p><figure id="attachment_1018" aria-describedby="caption-attachment-1018" style="width: 703px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Delete-a-Partition-with-Command.jpg"><img loading="lazy" decoding="async" class="wp-image-1018 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Delete-a-Partition-with-Command.jpg" alt="DiskPart delete Partition - How to Delete a Partition with Command Line in Windows 10 - Technig" width="703" height="329" srcset="https://www.technig.com/wp-content/uploads/2014/12/Delete-a-Partition-with-Command.jpg 703w, https://www.technig.com/wp-content/uploads/2014/12/Delete-a-Partition-with-Command-300x140.jpg 300w" sizes="(max-width: 703px) 100vw, 703px" /></a><figcaption id="caption-attachment-1018" class="wp-caption-text">DiskPart delete Partition &#8211; How to Delete a Partition with Command Line in Windows 10 &#8211; Technig</figcaption></figure></p>
<p>Yes, you can see the result, the partition <strong>&#8216;Volume 3&#8217; </strong>has deleted successfully.</p>
<h3>6. How to Extend a Partition with Command?</h3>
<p>The extended process is to add some more space to existing partition from the free space of a hard disk. To do this, just follow the screenshot.</p>
<ol>
<li>List the volumes with &#8220;<strong>List vol</strong>&#8221; command.</li>
<li>Type &#8220;<strong>extend size=10000</strong>&#8221; to add extra 10 GB to volume 3 from the free spaces of the hard disk.</li>
</ol>
<p><figure id="attachment_1021" aria-describedby="caption-attachment-1021" style="width: 722px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Extend-a-Partition.jpg"><img loading="lazy" decoding="async" class="wp-image-1021 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Extend-a-Partition.jpg" alt="DiskPart Extend Partition - How to Extend Partition with Command Line in Windows 10 - Technig" width="722" height="297" srcset="https://www.technig.com/wp-content/uploads/2014/12/Extend-a-Partition.jpg 722w, https://www.technig.com/wp-content/uploads/2014/12/Extend-a-Partition-300x123.jpg 300w" sizes="(max-width: 722px) 100vw, 722px" /></a><figcaption id="caption-attachment-1021" class="wp-caption-text">DiskPart Extend Partition &#8211; How to Extend Partition with Command Line in Windows 10 &#8211; Technig</figcaption></figure></p>
<p>The<strong> &#8216;Extend size=10000&#8217;</strong> will add 10 GB to the <strong>Volume 3</strong> partition. If you don&#8217;t mention the <strong>size</strong>, the system will add all free space.</p>
<h3>6. How to Shrink a Partition with Command?</h3>
<p>It is the best option for a newly purchased laptop that only has one drive on its hard disk. You can use DiskPart shrink command to shrink the extra free spaces of a drive. Shrink a volume is to create unallocated space from free spaces of an existing partition.</p>
<ol>
<li>Type &#8220;List vol&#8221; to see all volumes.</li>
<li>Just type &#8220;<strong>shrink desired=20000 minimum=10000</strong>&#8221; then press enter.</li>
</ol>
<p><figure id="attachment_1022" aria-describedby="caption-attachment-1022" style="width: 717px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Sharink-a-Partition.jpg"><img loading="lazy" decoding="async" class="wp-image-1022 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Sharink-a-Partition.jpg" alt="Sharink a Partition" width="717" height="296" srcset="https://www.technig.com/wp-content/uploads/2014/12/Sharink-a-Partition.jpg 717w, https://www.technig.com/wp-content/uploads/2014/12/Sharink-a-Partition-300x124.jpg 300w" sizes="(max-width: 717px) 100vw, 717px" /></a><figcaption id="caption-attachment-1022" class="wp-caption-text">Shrink a Partition</figcaption></figure></p>
<p>The Diskpart shrink command has shrunk 19 GB from the Volume 3 successfully.</p>
<p>Finally, I hope this article helps you manage the hard disk using the command line easy. If you have any issue with disk management or DiskPart commands, please comment us.</p>
<hr />
<p><strong>Searches related to:</strong></p>
<p>Disk Management command prompt<br />
Windows Disk Management command line<br />
Disk Management Windows 7<br />
Disk Management Windows 8<br />
Disk Management software<br />
Windows 10 Disk partition<br />
Windows 10 Disk Management not working<br />
Disk Management partition</p>
<p>The post <a href="https://www.technig.com/manage-hard-disk-using-command/">How to Manage Hard Disk with Command in Windows 10?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/manage-hard-disk-using-command/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13484</post-id>	</item>
		<item>
		<title>How to Free Renew Windows 90 Days Trial</title>
		<link>https://www.technig.com/renew-windows-10-90-days-trial-free/</link>
					<comments>https://www.technig.com/renew-windows-10-90-days-trial-free/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Wed, 04 Oct 2017 05:30:26 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Command Line Tips]]></category>
		<category><![CDATA[Free Renew Windows 10 License]]></category>
		<category><![CDATA[Free Windows 10 License]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How to Fix]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=11624</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="435" src="https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Renew Windows 10 90 Days Trial Free Using CMD - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1-300x155.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1-768x398.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>You might have downloaded Windows from its official website. So, they give you 90 days trial after which you should buy Windows. Well, many sites give you the crack version of Windows. Also, you can find cracking software tools for your Windows. But there are many disadvantages of cracking which we will discuss below. So, [&#8230;]</p>
<p>The post <a href="https://www.technig.com/renew-windows-10-90-days-trial-free/">How to Free Renew Windows 90 Days Trial</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="435" src="https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Renew Windows 10 90 Days Trial Free Using CMD - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1-300x155.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Renew-Windows-Trials-Using-CMD-1-768x398.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>You might have downloaded Windows from its official website. So, they give you 90 days trial after which you should buy Windows. Well, many sites give you the crack version of Windows. Also, you can find <a href="https://en.wikipedia.org/wiki/Software_cracking">cracking software</a> tools for your Windows. But there are many disadvantages of cracking which we will discuss below. So, we will show you the right way on how to extend or renew Windows 10 90 days trial free using CMD. Further, you can use it without any problem up to 6 months a Windows 10.</p>
<h2>Why Shouldn&#8217;t You Crack Windows?</h2>
<p>Well, I don&#8217;t say you shouldn&#8217;t crack <a href="https://www.technig.com/tag/windows-10">Windows</a> because it&#8217;s illegal. You know that already. So, besides being illegal, when you crack software, it will become malicious. You might not feel the danger of using the cracked software unless you see some suspicious activity on your system. Also, must feature of your Windows will not work. It&#8217;s not because Windows will limit the usability and features of Windows, it&#8217;s because malicious code or scripts that crack your system mess-up ruin your operating system. So, now you know why shouldn&#8217;t you use cracked software, let&#8217;s do the legal way.</p>
<h2>Renew Windows 10 90 days Trial Free Using CMD</h2>
<p>Here is the step by step guide to renewing Windows 10 trial using CMD. You must run cmd as administrator.</p>
<ul>
<li>Open CMD  as administrator.</li>
<li>Type &#8220;<strong>slmgr -rearm</strong>&#8221; without quotes and press enter.</li>
<li>You will see a success popup window. Click Ok.</li>
<li>Restart your computer, and you&#8217;re done.</li>
</ul>
<p>Now you have 90 more days. In a nutshell, it&#8217;s that easy. So, If you still have problem follow the following steps.</p>
<p><strong>1.</strong> Open CMD  as administrator.</p>
<p><figure id="attachment_11631" aria-describedby="caption-attachment-11631" style="width: 445px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/Run-Command-Promt-as-Administrator.png"><img loading="lazy" decoding="async" class="wp-image-11631 size-full" src="https://www.technig.com/wp-content/uploads/2017/10/Run-Command-Promt-as-Administrator.png" alt="Run Command Prompt as Administrator" width="445" height="674" srcset="https://www.technig.com/wp-content/uploads/2017/10/Run-Command-Promt-as-Administrator.png 445w, https://www.technig.com/wp-content/uploads/2017/10/Run-Command-Promt-as-Administrator-198x300.png 198w" sizes="(max-width: 445px) 100vw, 445px" /></a><figcaption id="caption-attachment-11631" class="wp-caption-text">Run Command Prompt as Administrator</figcaption></figure></p>
<p><strong>2.</strong> Type &#8220;<strong>slmgr -rearm</strong>&#8221; And Press Enter</p>
<p><figure id="attachment_11633" aria-describedby="caption-attachment-11633" style="width: 518px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Using-CMD.png"><img loading="lazy" decoding="async" class="wp-image-11633 size-full" src="https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Using-CMD.png" alt="Renew Windows 10 90 Days Trial Free Using CMD" width="518" height="158" srcset="https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Using-CMD.png 518w, https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Using-CMD-300x92.png 300w" sizes="(max-width: 518px) 100vw, 518px" /></a><figcaption id="caption-attachment-11633" class="wp-caption-text">Renew Windows 10 90 Days Trial Free Using CMD</figcaption></figure></p>
<p><strong>3.</strong> Success Message. After seeing the following success message, restart your computer.</p>
<p><figure id="attachment_11634" aria-describedby="caption-attachment-11634" style="width: 349px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Success-Message.png"><img loading="lazy" decoding="async" class="wp-image-11634 size-full" src="https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Success-Message.png" alt="Renew Windows Trials Success Message" width="349" height="168" srcset="https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Success-Message.png 349w, https://www.technig.com/wp-content/uploads/2017/10/Renew-Windows-Trials-Success-Message-300x144.png 300w" sizes="(max-width: 349px) 100vw, 349px" /></a><figcaption id="caption-attachment-11634" class="wp-caption-text">Renew Windows Trials Success Message</figcaption></figure></p>
<h2>Conclusion</h2>
<p>Command-line commands have incredible powers. So if you want to learn more about command prompt, read the ten useful command-line command you should know article <a href="https://www.technig.com/10-useful-command-line-commands/" rel="noopener">10 Useful Command Line Commands</a>. Besides, if you have any questions, feel free to comment below or ask on our forum.</p>
<p>The post <a href="https://www.technig.com/renew-windows-10-90-days-trial-free/">How to Free Renew Windows 90 Days Trial</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/renew-windows-10-90-days-trial-free/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">11624</post-id>	</item>
		<item>
		<title>How to Replace PowerShell with Cmd in Windows 10?</title>
		<link>https://www.technig.com/replace-powershell-with-cmd-window-10/</link>
					<comments>https://www.technig.com/replace-powershell-with-cmd-window-10/#respond</comments>
		
		<dc:creator><![CDATA[Ezat]]></dc:creator>
		<pubDate>Fri, 22 Sep 2017 13:30:00 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Command Line Tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[PowerShell Tutorials]]></category>
		<category><![CDATA[replace cmd with powershell]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=10839</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Use PowerShell to Replace Text in Strings - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>With the upcoming Windows 10 Creators Update remove the Command Prompt command from context menus. It has replaced with Powershell for the command line. You can use Command Prompt shortcut by clicking Window-key+X for this shortcut you need to activate it first. So, what about opening Command prompt in file explorer by Shift+Right-click? You can see how we [&#8230;]</p>
<p>The post <a href="https://www.technig.com/replace-powershell-with-cmd-window-10/">How to Replace PowerShell with Cmd in Windows 10?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Use PowerShell to Replace Text in Strings - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/Use-PowerShell-to-Replace-Text-in-Strings-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><header class="entry-header">
<div class="entry-meta">
<div class="shunno-post-rate-meta">
<div class="shunnopostmetainfo">
<p>With the upcoming Windows 10 Creators Update remove the Command Prompt command from context menus. It has replaced with Powershell for the command line. You can use Command Prompt shortcut by clicking Window-key+X for this shortcut you need to activate it first. So, what about opening Command prompt in file explorer by Shift+Right-click? You can see how we replace Powershell with CMD in this article.</p>
</div>
<div><strong> Replace PowerShell with CMD Process:</strong></div>
<ol>
<li>Open registry editor.</li>
<li>Navigate to [su_highlight background=&#8221;#eeece9&#8243;]<strong>Computer\HKEY_CLASSES_ROOT\Directory\Background\shell</strong>.[/su_highlight] find &#8220;cmd&#8221; right-click select Permissions and click Advanced.</li>
<li>Click on &#8220;<strong>Change</strong>&#8221; next to Owner user information and enter your username/email</li>
<li>Select Administrator in the top field in the permissions window and allow Full Control by checking the Allow checkbox and apply the changes close the window.</li>
<li>Delete the DWORD “<strong>HideBasedOnVelocityId</strong>” in cmd folder from the registry editor.</li>
</ol>
<div><strong>Note: </strong>Using registry editor requires some knowledge of the basic structure of the Registry so be aware not to change anything wrong otherwise it may harm your system.</div>
<h2>Remove PowerShell from File Explorer</h2>
<div>Windows 10 Update forces you to use Powershell instead of Command Prompt command. The above method will put Command prompt command back in file explorer. By Shift+right click in file explorer, but it will not remove Powershell. Both Cmd and PowerShell show up in the menu if you want to get raid of Powershell? First, navigate to the same directory that you put back the Command Prompt command follow all these steps.</div>
</div>
</div>
</header>
<ol>
<li>Open registry editor.</li>
<li>Navigate to [su_highlight background=&#8221;#eeece9&#8243;]Computer\HKEY_CLASSES_ROOT\Directory\Background\shell.[/su_highlight] and now change the permissions for “PowerShell” with the same method you did for Command Prompt.</li>
<li>After you apply new Permissions for PowerShell, then rename “ShowBasedOnVelocityId” to &#8220;HideBasedOnVelocityId&#8221; and hit enter.</li>
<li>After you do all steps properly, you will see that Command Prompt back in file explorer while holing Shift+right-clicking and you have removed PowerShell also from file explorer.</li>
</ol>
<p>All right we are going to put cmd back like the following screenshot.</p>
<h2>Replace PowerShell with CMD</h2>
<div> Search for &#8220;Regedit&#8221; in your Windows and open Registry editor.</div>
<div></div>
<p><figure id="attachment_10982" aria-describedby="caption-attachment-10982" style="width: 403px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-3.png"><img loading="lazy" decoding="async" class="wp-image-10982 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-3.png" alt="Replace PowerShell with Command prompt command" width="403" height="643" srcset="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-3.png 403w, https://www.technig.com/wp-content/uploads/2017/09/scs-technig-3-188x300.png 188w" sizes="(max-width: 403px) 100vw, 403px" /></a><figcaption id="caption-attachment-10982" class="wp-caption-text">Replace PowerShell with Command prompt command</figcaption></figure></p>
<p>Now, find the following registry path in the Windows, registry editor. See the screenshot that shows the current path.</p>
<p><figure id="attachment_10956" aria-describedby="caption-attachment-10956" style="width: 810px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/scs-technig.jpg"><img loading="lazy" decoding="async" class="wp-image-10956 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/scs-technig.jpg" alt="Replace PowerShell with CMD in Windows 10 using Windows Registry" width="810" height="383" srcset="https://www.technig.com/wp-content/uploads/2017/09/scs-technig.jpg 810w, https://www.technig.com/wp-content/uploads/2017/09/scs-technig-300x142.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/scs-technig-768x363.jpg 768w" sizes="(max-width: 810px) 100vw, 810px" /></a><figcaption id="caption-attachment-10956" class="wp-caption-text">Replace PowerShell with CMD in Windows 10 using Windows Registry</figcaption></figure></p>
<p>Remember you can scroll down then navigate the directory. You can also copy and paste the address in the address bar and hit enter it will open the directory for you. Don&#8217;t forget to look above methods if you face any problem.</p>
<p><figure id="attachment_10966" aria-describedby="caption-attachment-10966" style="width: 476px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.jpg"><img loading="lazy" decoding="async" class="wp-image-10966 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.jpg" alt="Assign Permission to CMD directory in Windows registry" width="476" height="514" srcset="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.jpg 476w, https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1-278x300.jpg 278w" sizes="(max-width: 476px) 100vw, 476px" /></a><figcaption id="caption-attachment-10966" class="wp-caption-text">Assign Permission to CMD directory in Windows registry</figcaption></figure></p>
<p>The above screenshot as you see we are changing the permission of cmd by Right clicks and select permissions. Then in the permission field select administrators and check &#8220;<strong>Full Control</strong>&#8221; and click Ok to apply changes.</p>
<p><figure id="attachment_10971" aria-describedby="caption-attachment-10971" style="width: 613px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/scs-teching.jpg"><img loading="lazy" decoding="async" class="wp-image-10971 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/scs-teching.jpg" alt="Add CMD to Right-click context menu - Technig" width="613" height="257" srcset="https://www.technig.com/wp-content/uploads/2017/09/scs-teching.jpg 613w, https://www.technig.com/wp-content/uploads/2017/09/scs-teching-300x126.jpg 300w" sizes="(max-width: 613px) 100vw, 613px" /></a><figcaption id="caption-attachment-10971" class="wp-caption-text">Add CMD to Right-click context menu &#8211; Technig</figcaption></figure></p>
<p>Now Right-click on &#8220;<strong>HideBasedOnVelocity</strong>&#8221; and Delete it. Go to file explorer or your desktop hold Shift+right-click to see Command prompt back.</p>
<p><figure id="attachment_10975" aria-describedby="caption-attachment-10975" style="width: 540px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.png"><img loading="lazy" decoding="async" class="wp-image-10975 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.png" alt="Add PowerShell to right-click in Windows 10" width="540" height="468" srcset="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1.png 540w, https://www.technig.com/wp-content/uploads/2017/09/scs-technig-1-300x260.png 300w" sizes="(max-width: 540px) 100vw, 540px" /></a><figcaption id="caption-attachment-10975" class="wp-caption-text">Add PowerShell to right-click in Windows 10</figcaption></figure></p>
<p>But you also see PowerShell. If you want to hide PowerShell, then follow these steps.</p>
<h2>Hide PowerShell from Right-Click</h2>
<p>You can remove the PowerShell form right-click of your Windows 10 using the following method.</p>
<p><figure id="attachment_10977" aria-describedby="caption-attachment-10977" style="width: 741px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-2.png"><img loading="lazy" decoding="async" class="wp-image-10977 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-2.png" alt="Remove PowerShell for Windows 10 right-click - Technig" width="741" height="227" srcset="https://www.technig.com/wp-content/uploads/2017/09/scs-technig-2.png 741w, https://www.technig.com/wp-content/uploads/2017/09/scs-technig-2-300x92.png 300w" sizes="(max-width: 741px) 100vw, 741px" /></a><figcaption id="caption-attachment-10977" class="wp-caption-text">Remove PowerShell for Windows 10 right-click &#8211; Technig</figcaption></figure></p>
<p>Navigate where you had changed permission for cmd. This time change permission for Powershell with the same method you did for cmd. After that on the right side, you can see &#8220;<strong>ShowBasedOnVelocityId</strong>&#8221; change it to &#8220;<strong>HideBasedOnVelocityId</strong>&#8221; hit enter. Now on the desktop test the &#8220;<strong>Shift+ Right-click</strong>&#8221; to the result.</p>
<p><figure id="attachment_10953" aria-describedby="caption-attachment-10953" style="width: 648px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/scs-technig.png"><img loading="lazy" decoding="async" class="wp-image-10953 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/scs-technig.png" alt="How to replace PowerShell with cmd in windows 10? - Technig" width="648" height="414" srcset="https://www.technig.com/wp-content/uploads/2017/09/scs-technig.png 648w, https://www.technig.com/wp-content/uploads/2017/09/scs-technig-300x192.png 300w" sizes="(max-width: 648px) 100vw, 648px" /></a><figcaption id="caption-attachment-10953" class="wp-caption-text">How to replace PowerShell with cmd in windows 10? &#8211; Technig</figcaption></figure></p>
<p>That&#8217;s all you need to know how to <a href="https://blogs.technet.microsoft.com/heyscriptingguy/2011/03/21/use-powershell-to-replace-text-in-strings/" target="_blank" rel="noopener noreferrer">replace PowerShell</a> with CMD in Windows 10. The latest update of Windows 10 automatically replaces the CMD with PowerShell.</p>
<p>The post <a href="https://www.technig.com/replace-powershell-with-cmd-window-10/">How to Replace PowerShell with Cmd in Windows 10?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/replace-powershell-with-cmd-window-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10839</post-id>	</item>
		<item>
		<title>How to Reset Windows 10 IP Address Correctly?</title>
		<link>https://www.technig.com/reset-windows-10-ip-address/</link>
					<comments>https://www.technig.com/reset-windows-10-ip-address/#comments</comments>
		
		<dc:creator><![CDATA[Shams]]></dc:creator>
		<pubDate>Wed, 20 Sep 2017 05:30:27 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Configure IP Address]]></category>
		<category><![CDATA[Deploy IP address]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How to Fix]]></category>
		<category><![CDATA[Ipconfig]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=10986</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="960" height="414" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Reset Windows 10 IP Address with Command Line - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1.jpg 960w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1-300x129.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1-768x331.jpg 768w" sizes="(max-width: 960px) 100vw, 960px" /></div>
<p>You can reset Windows 10 IP address with these three methods, using network connections settings, command prompt, and PowerShell. The easiest option to reset Windows 10 IP address with command prompt (CMD). If your system obtains its IP address automatically from a DHCP server, the &#8220;ipconfig&#8221; command can refresh your system IP address. The refreshing IP [&#8230;]</p>
<p>The post <a href="https://www.technig.com/reset-windows-10-ip-address/">How to Reset Windows 10 IP Address Correctly?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="960" height="414" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Reset Windows 10 IP Address with Command Line - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1.jpg 960w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1-300x129.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-1-768x331.jpg 768w" sizes="(max-width: 960px) 100vw, 960px" /></div><p>You can reset Windows 10 IP address with these three methods, using network connections settings, command prompt, and PowerShell. The easiest option to reset Windows 10 IP address with command prompt (CMD). If your system obtains its IP address automatically from a DHCP server, the &#8220;<strong>ipconfig</strong>&#8221; command can refresh your system IP address. The refreshing IP address process releases the old IP address and requests a new IP address from the DHCP server.</p>
<p>The other methods for changing Windows 10 IP address is GUI from network connections settings and using Windows PowerShell. Let&#8217;s do it with the easy one inside command prompt with <a href="https://technet.microsoft.com/en-us/library/cc940124.aspx">ipconfig command</a>.</p>
<h1>Reset Windows 10 IP Address</h1>
<p>To reset Windows 10 IP address, just open the command prompt or PowerShell interface and do it with the following &#8220;ipconfig&#8221; commands.</p>
<p>Resetting Windows IP address needs:</p>
<ol>
<li>Press <strong>Windows+R</strong> to open the <strong>Run</strong>.</li>
<li>Type &#8220;<strong>cmd</strong>&#8221; and press enter.</li>
<li>To display the current IP address type &#8220;<strong>ipconfig</strong>.&#8221;</li>
<li>Check the output results of &#8220;<strong>ipconfig</strong>&#8221; commands.</li>
</ol>
<p><strong>1.</strong> Press Windows and type &#8220;PowerShell&#8221; and open the Windows PowerShell. Now type &#8220;ipconfig.&#8221; The IP config command shows the current system IP address. Here my computer IP address is 200.100.10.2 with the subnet mask of 255.255.255.0 and default gateway of 200.100.10.1.</p>
<p><figure id="attachment_11046" aria-describedby="caption-attachment-11046" style="width: 914px" class="wp-caption alignnone"><a href="https://www.technig.com/wp-content/uploads/2017/09/How-to-Find-your-Windows-IP-Address-Technig.jpg"><img loading="lazy" decoding="async" class="wp-image-11046 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-Find-your-Windows-IP-Address-Technig.jpg" alt="How to Find your Windows IP Address - Technig" width="914" height="348" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-Find-your-Windows-IP-Address-Technig.jpg 914w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Find-your-Windows-IP-Address-Technig-300x114.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Find-your-Windows-IP-Address-Technig-768x292.jpg 768w" sizes="(max-width: 914px) 100vw, 914px" /></a><figcaption id="caption-attachment-11046" class="wp-caption-text">How to Find your Windows IP Address &#8211; Technig</figcaption></figure></p>
<p><strong>2.</strong> To reset your system, IP address just types &#8220;<strong>ipconfig /release</strong>&#8221; and press enter. The <strong>/release</strong> option of ipconfig command will remove the current IP address. When the &#8220;<strong>ipconfig /release</strong>&#8221; command process has finished, type &#8220;<strong>ipconfig /renew</strong>&#8221; to obtains a new IP address from DHCP server.</p>
<p><figure id="attachment_11048" aria-describedby="caption-attachment-11048" style="width: 826px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/Refresh-Windows-10-IP-address-with-Command-Line-Technig.jpg"><img loading="lazy" decoding="async" class="wp-image-11048 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/Refresh-Windows-10-IP-address-with-Command-Line-Technig.jpg" alt="Refresh Windows 10 IP address with Command Line - Technig" width="826" height="233" srcset="https://www.technig.com/wp-content/uploads/2017/09/Refresh-Windows-10-IP-address-with-Command-Line-Technig.jpg 826w, https://www.technig.com/wp-content/uploads/2017/09/Refresh-Windows-10-IP-address-with-Command-Line-Technig-300x85.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/Refresh-Windows-10-IP-address-with-Command-Line-Technig-768x217.jpg 768w" sizes="(max-width: 826px) 100vw, 826px" /></a><figcaption id="caption-attachment-11048" class="wp-caption-text">Refresh Windows 10 IP address with Command-Line &#8211; Technig</figcaption></figure></p>
<p>Yes, the output result of ipconfig /release shows that the current IP address removed. Now the system doesn&#8217;t have an IP address, and it is ready to obtain a new IP address from DHCP server.</p>
<p><strong>3.</strong> To get a fresh new IP address, just type &#8220;<strong>ipconfig /renew</strong>.&#8221; The /renew option of ipconfig command request a fresh new IP address from the DHCP server.</p>
<p><figure id="attachment_11049" aria-describedby="caption-attachment-11049" style="width: 863px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig.jpg"><img loading="lazy" decoding="async" class="wp-image-11049 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig.jpg" alt="How to Reset Windows 10 IP Address with Command Line - Technig" width="863" height="372" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig.jpg 863w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-300x129.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-Reset-Windows-10-IP-Address-with-Command-Line-Technig-768x331.jpg 768w" sizes="(max-width: 863px) 100vw, 863px" /></a><figcaption id="caption-attachment-11049" class="wp-caption-text">How to Reset Windows 10 IP Address with Command-Line &#8211; Technig</figcaption></figure></p>
<p>That&#8217;s good. The output result&#8217;s of ipconfig /renew shows that the system obtains a new IP address from the DHCP server.</p>
<h2>IPConfig Command Structure:</h2>
<p>The ipconfig command has many options that help you quickly execute and get a clean result. To learn more about other options of ipconfig command, type &#8220;ipconfig /?&#8221;. It shows the help of ipconfig. See the output result of &#8220;<strong>ipconfig /?</strong>&#8221; command in the below text box.</p>
<pre class="nums:false plain:false lang:default decode:true">USAGE:
    ipconfig [/allcompartments] [/? | /all | 
                                 /renew [adapter] | /release [adapter] |
                                 /renew6 [adapter] | /release6 [adapter] |
                                 /flushdns | /displaydns | /registerdns |
                                 /showclassid adapter |
                                 /setclassid adapter [classid] |
                                 /showclassid6 adapter |
                                 /setclassid6 adapter [classid] ]

where
    adapter             Connection name 
                       (wildcard characters * and ? allowed, see examples)

    Options:
       /?               Display this help message
       /all             Display full configuration information.
       /release         Release the IPv4 address for the specified adapter.
       /release6        Release the IPv6 address for the specified adapter.
       /renew           Renew the IPv4 address for the specified adapter.
       /renew6          Renew the IPv6 address for the specified adapter.
       /flushdns        Purges the DNS Resolver cache.
       /registerdns     Refreshes all DHCP leases and re-registers DNS names
       /displaydns      Display the contents of the DNS Resolver Cache.
       /showclassid     Displays all the dhcp class IDs allowed for adapter.
       /setclassid      Modifies the dhcp class id.  
       /showclassid6    Displays all the IPv6 DHCP class IDs allowed for adapter.
       /setclassid6     Modifies the IPv6 DHCP class id.
Examples:
    &gt; ipconfig                       ... Show information
    &gt; ipconfig /all                  ... Show detailed information
    &gt; ipconfig /renew                ... renew all adapters
    &gt; ipconfig /renew EL*            ... renew any connection that has its 
                                         name starting with EL
    &gt; ipconfig /release *Con*        ... release all matching connections,
                                         eg. "Wired Ethernet Connection 1" or
                                             "Wired Ethernet Connection 2"
    &gt; ipconfig /allcompartments      ... Show information about all 
                                         compartments
    &gt; ipconfig /allcompartments /all ... Show detailed information about all
                                         compartments
</pre>
<p>That&#8217;s the help you can always access from the command prompt or PowerShell.</p>
<h3>Final Word:</h3>
<p>If you want to learn more about configuring IP address in Windows 10, just read the following related to IP address configuration guides.</p>
<ul style="list-style-type: circle;">
<li><a href="https://www.technig.com/configure-ip-address-using-powershell/">Configure IP Address with PowerShell.</a></li>
<li><a href="https://www.technig.com/configure-ip-address-with-command-prompt-in-windows/">How to Configure Windows 10 IP Address with Command-Line</a>?</li>
<li><a href="https://www.technig.com/how-to-configure-dhcp-on-cisco-router/">Configure DHCP on Cisco Router.</a></li>
<li><a href="https://www.technig.com/configure-windows-ipv4-networking-with-netsh/">Configure Windows IPv4 Networking with Netsh.</a></li>
<li><a href="https://www.technig.com/dhcp-configuration-guide/">DHCP Configuration Guide on Windows Server and Cisco Router.</a></li>
</ul>
<p>Hope you got something new from this article. Please ask your questions about Windows settings and configuration through the comment section.</p>
<p>The post <a href="https://www.technig.com/reset-windows-10-ip-address/">How to Reset Windows 10 IP Address Correctly?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/reset-windows-10-ip-address/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10986</post-id>	</item>
	</channel>
</rss>
