<?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>Beginner Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/beginner/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Sun, 16 Aug 2020 22:59:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>Script: How To Check Password Expirations In Your Domain</title>
		<link>https://thesysadminchannel.com/powershell-script-check-password-expirations-in-active-directory/</link>
					<comments>https://thesysadminchannel.com/powershell-script-check-password-expirations-in-active-directory/#comments</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 19:17:32 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[active directory password expiration policy]]></category>
		<category><![CDATA[active directory password expires attribute]]></category>
		<category><![CDATA[check if password expired active directory]]></category>
		<category><![CDATA[check password expiration active directory powershell]]></category>
		<category><![CDATA[how to check password expiration date windows]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=241</guid>

					<description><![CDATA[<p>UPDATE: March 1, 2020 Please use the updated script: https://thesysadminchannel.com/get-password-expiration-date-using-powershell-active-directory/ Chances are if you manage users in your organization, you&#8217;re going to need to Check Password Expirations In Active Directory to see who&#8217;s account is in need of a password change. &#8230; <a href="https://thesysadminchannel.com/powershell-script-check-password-expirations-in-active-directory/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/powershell-script-check-password-expirations-in-active-directory/">Script: How To Check Password Expirations In Your Domain</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>UPDATE: March 1, 2020<br />
Please use the updated script: <a href="https://thesysadminchannel.com/get-password-expiration-date-using-powershell-active-directory/" rel="noopener noreferrer" target="_blank">https://thesysadminchannel.com/get-password-expiration-date-using-powershell-active-directory/</a></p>
<p>Chances are if you manage users in your organization, you&#8217;re going to need to <strong>Check Password Expirations In Active Directory</strong> to see who&#8217;s account is in need of a password change.  This can be especially useful if you would like to notify those users several days in advance so they&#8217;re not calling the help desk on the day of.</p>
<p>We want to automate as much of this as possible and luckily, we have Powershell to do all the heavy lifting.</p>
<h1>Powershell Script to Check Password Expirations in Active Directory</h1>
<pre class="brush: powershell; title: ; notranslate">
&lt;#
#requires -Module ActiveDirectory


.SYNOPSIS
    Checks to see if the account is X days within password expiration.
    For updated help and examples refer to -Online version.
 
.DESCRIPTION
    In this example if the $emailDate is set to -80 and $expiredDate is set to -90 it will show all users whos passwords are within 10 days of expiration.
    For updated help and examples refer to -Online version.
 
.NOTES
    Name: Get-PasswordExpiredUsers.ps1
    Version: 1.0
    Author: The Sysadmin Channel
    Date of last revision: 3/18/2017
 
.LINK
    https://thesysadminchannel.com/powershell-script-check-password-expirations-in-active-directory -

#&gt;

Import-Module ActiveDirectory

#Set the number of days within expiration.  This will start to send the email x number of days before it is expired.
$DaysWithinExpiration = 10

#Set the days where the password is already expired and needs to change. -- Do Not Modify --
$MaxPwdAge   = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge.Days
$expiredDate = (Get-Date).addDays(-$MaxPwdAge)

#Set the number of days until you would like to begin notifing the users. -- Do Not Modify --
$emailDate = (Get-Date).addDays(-($MaxPwdAge - $DaysWithinExpiration))

#Filters for all users who's password is within $date of expiration.
$ExpiredUsers = Get-ADUser -Filter {(PasswordLastSet -lt $emailDate) -and (PasswordLastSet -gt $expiredDate) -and (PasswordNeverExpires -eq $false) -and (Enabled -eq $true)} -Properties PasswordNeverExpires, PasswordLastSet, Mail | select samaccountname, PasswordLastSet, @{name = &quot;DaysUntilExpired&quot;; Expression = {$_.PasswordLastSet - $ExpiredDate | select -ExpandProperty Days}}, @{name = &quot;EmailAddress&quot;; Expression = {$_.mail}} | Sort-Object PasswordLastSet

$ExpiredUsers

</pre>
<p>Copy and Paste the contents of this file and save it as Get-PasswordExpiredUsers.ps1. Make sure you run the script as an administrator.  When you run the file it should look something like this.</p>
<div id="attachment_264" style="width: 1007px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Powershell-Check-Account-Expirations-1.png" target="_blank" rel="noopener noreferrer"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-264" class="wp-image-264 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Powershell-Check-Account-Expirations-1.png" alt="Powershell Check Account Expirations" width="997" height="490" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Powershell-Check-Account-Expirations-1.png 997w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Powershell-Check-Account-Expirations-1-768x377.png 768w" sizes="(max-width: 997px) 100vw, 997px" /></a><p id="caption-attachment-264" class="wp-caption-text">This will filter all users and only show the samaccountname, PasswordLastSet, DaysUntilExpired and the EmailAddress</p></div>
<p>Great!! We have the script, but what good does that do us if we don&#8217;t notify them.  After all, that was the point to begin with right?  Of course it was.  We want to automate the milk out of this so we can basically set it and forget.</p>
<h1>Send Email to Notify Users of Password Expiration</h1>
<p>Now we just have to append this part to the rest of the script so we can notify our users automatically.  Here is the rest of the script.</p>
<pre class="brush: powershell; title: ; notranslate">

Start-Sleep 5

Foreach ($User in $ExpiredUsers) {
	# Creating .NET Objects
	$msg = new-object Net.Mail.MailMessage

	# Setting up the email parameters.
	$msg.From = &quot;admin@&quot; + ($env:userdnsdomain).ToLower()
	$msg.To.Add($User.EmailAddress)
	$msg.Subject = &quot;Your Password Will Expire in &quot; + $User.DaysUntilExpired + &quot; days&quot;
	$msg.Body = &quot;Hello,`n`nThis email is to notify you that your password will expire in &quot; + $User.DaysUntilExpired + &quot; days.`n`nPlease consider changing it to avoid any service interruptions.`n`nThank you,`nThe I.T. Department.&quot;


	# Send an email with an alert
	$smtpServer = &quot;mailhost&quot;
	$smtp = new-object Net.Mail.SmtpClient($smtpServer)
	$smtp.Send($msg)
	
	Start-Sleep 2
	Remove-Variable msg
	Remove-Variable smtp
	Remove-Variable smtpServer
}

</pre>
<p>The post <a href="https://thesysadminchannel.com/powershell-script-check-password-expirations-in-active-directory/">Script: How To Check Password Expirations In Your Domain</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/powershell-script-check-password-expirations-in-active-directory/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">241</post-id>	</item>
		<item>
		<title>SCCM: Create Device Collections Based On AD OUs</title>
		<link>https://thesysadminchannel.com/sccm-create-device-collections-based-on-ad-ous/</link>
					<comments>https://thesysadminchannel.com/sccm-create-device-collections-based-on-ad-ous/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Tue, 24 Apr 2018 04:16:07 +0000</pubDate>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[AD OU Structure replication with SCCM 2012]]></category>
		<category><![CDATA[sccm 2012 collection queries]]></category>
		<category><![CDATA[sccm 2012 create device collection based on ad group]]></category>
		<category><![CDATA[sccm collection based on ou and sub ou]]></category>
		<category><![CDATA[Sccm Collection best practice]]></category>
		<category><![CDATA[sccm query active directory ou]]></category>
		<category><![CDATA[sccm user collection based on ou]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=305</guid>

					<description><![CDATA[<p>SCCM-Create Device Collections Based on AD Users and Computers OUs.  By default, SCCM doesn&#8217;t recreate your OU structure in Active Directory. Luckily for us, that&#8217;s what we&#8217;re going to go over today.  We&#8217;ll deep dive in this quick article and&#8230; <a href="https://thesysadminchannel.com/sccm-create-device-collections-based-on-ad-ous/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/sccm-create-device-collections-based-on-ad-ous/">SCCM: Create Device Collections Based On AD OUs</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>SCCM-Create Device Collections Based on AD Users and Computers OUs.  By default, SCCM doesn&#8217;t recreate your OU structure in Active Directory. Luckily for us, that&#8217;s what we&#8217;re going to go over today.  We&#8217;ll deep dive in this quick article and go over the steps on how to recreate your AD OU Structure In SCCM.</p>
<p>&nbsp;</p>
<h1>SCCM-Create Device Collections Based on your Active Directory OU Structure.</h1>
<ul>
<li>We&#8217;ll start off by creating a sub folder under the device collections and call it Active Directory OU Structure.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/SCCM-create-AD-Folder.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-306 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/SCCM-create-AD-Folder-1024x478.png" alt="SCCM Create AD Folder" width="1024" height="478" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/SCCM-create-AD-Folder.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/04/SCCM-create-AD-Folder-768x359.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Active-Directory-Folder-in-SCCM.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-307 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Active-Directory-Folder-in-SCCM.png" alt="" width="866" height="320" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Active-Directory-Folder-in-SCCM.png 866w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Active-Directory-Folder-in-SCCM-768x284.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></a></p>
<ul>
<li>Next we&#8217;ll Create a Device Collection and go through the wizard.</li>
<li>Fill out the information that suits you.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Create-Device-Collection-Wizard.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-308 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Create-Device-Collection-Wizard.png" alt="Create Device Collection Wizard" width="977" height="889" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Create-Device-Collection-Wizard.png 977w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Create-Device-Collection-Wizard-768x699.png 768w" sizes="(max-width: 977px) 100vw, 977px" /></a></p>
<ul>
<li>Let&#8217;s edit the query statement.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Query-Rule-Properties.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-309 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Query-Rule-Properties.png" alt="Query Rule Properties SCCM" width="802" height="901" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Query-Rule-Properties.png 802w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Query-Rule-Properties-768x863.png 768w" sizes="(max-width: 802px) 100vw, 802px" /></a></p>
<ul>
<li>For the <strong>Attribute class</strong> select <strong>System Resource</strong> and for the <strong>Attribute</strong> select <strong>System OU Name</strong></li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Criterion-Properties.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-310 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Criterion-Properties.png" alt="SCCM Criterion Properties" width="811" height="909" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Criterion-Properties.png 811w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Criterion-Properties-768x861.png 768w" sizes="(max-width: 811px) 100vw, 811px" /></a></p>
<ul>
<li>Set the <strong>Operator </strong>to <strong>is equal to</strong> and the <strong>Value</strong> to the OU of your choice.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Select-OU.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-313 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Select-OU.png" alt="Select OU" width="806" height="910" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Select-OU.png 806w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Select-OU-768x867.png 768w" sizes="(max-width: 806px) 100vw, 806px" /></a></p>
<ul>
<li>Select OK multiple times to complete the query and when you get back to the SCCM Console, you should see your Collection populated with multiple computers.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Home-Servers.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-314 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Home-Servers-1024x165.png" alt="Home Servers" width="1024" height="165" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Home-Servers.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Home-Servers-768x124.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<h1>SCCM-Create Device Collections Based on AD OUs Demo.</h1>
<p><iframe title="SCCM  - Create Collection Groups Based Off Of Active Directory OU Structure" width="640" height="360" src="https://www.youtube.com/embed/hh4L8dsxpYk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p>That&#8217;s it.  Do this for the rest of your OUs in Active Directory or just the ones you want to keep a collection for.  Also, if you&#8217;re looking to further your knowledge in SCCM,  Be sure to check out <a href="https://amzn.to/2v6PMXt" target="_blank" rel="noopener">Learn SCCM in a month of Lunches</a>.</p>
<p>The post <a href="https://thesysadminchannel.com/sccm-create-device-collections-based-on-ad-ous/">SCCM: Create Device Collections Based On AD OUs</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/sccm-create-device-collections-based-on-ad-ous/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">305</post-id>	</item>
		<item>
		<title>How to Install RSAT on Windows 10 1709</title>
		<link>https://thesysadminchannel.com/how-to-install-rsat-on-windows-10-1709/</link>
					<comments>https://thesysadminchannel.com/how-to-install-rsat-on-windows-10-1709/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Thu, 12 Apr 2018 05:25:00 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[active directory for windows 10]]></category>
		<category><![CDATA[Install RSAT Tools]]></category>
		<category><![CDATA[windows 10 admin tools]]></category>
		<category><![CDATA[Windows 10 RSAT]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=220</guid>

					<description><![CDATA[<p>Remote Server Administration Tools (RSAT) lets you manage Windows Server, specifically Active Directory, DNS, DHCP and Group Policy Management and other tools the like from a client machine.  In this article we&#8217;ll I&#8217;ll show you How To Install RSAT on&#8230; <a href="https://thesysadminchannel.com/how-to-install-rsat-on-windows-10-1709/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-install-rsat-on-windows-10-1709/">How to Install RSAT on Windows 10 1709</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Remote Server Administration Tools (RSAT) lets you manage Windows Server, specifically <a href="https://thesysadminchannel.com/active-directory/" target="_blank" rel="noopener">Active Directory</a>, <a href="https://thesysadminchannel.com/active-directory/dns/" target="_blank" rel="noopener">DNS</a>, DHCP and <a href="https://thesysadminchannel.com/active-directory/group-policy/" target="_blank" rel="noopener">Group Policy Management</a> and other tools the like from a client machine.  In this article we&#8217;ll I&#8217;ll show you <strong>How To Install RSAT on Windows 10 1709.</strong></p>
<h1><strong>Install RSAT on Windows 10 1709:</strong></h1>
<ul>
<li>Navigate to Microsoft&#8217;s page to <a href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=45520" target="_blank" rel="noopener">Download RSAT Tools for Windows 10 1709</a> and save it to the location of your choice.</li>
<li>Run the KB2693643 installer.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Windows-Update-Standalone-Install.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-294 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Windows-Update-Standalone-Install.png" alt="Windows Update Standalone Install" width="1021" height="606" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Windows-Update-Standalone-Install.png 1021w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Windows-Update-Standalone-Install-125x75.png 125w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Windows-Update-Standalone-Install-768x456.png 768w" sizes="(max-width: 1021px) 100vw, 1021px" /></a></p>
<ul>
<li>Accept the EULA.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/Accept-EULA.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-295 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/Accept-EULA.png" alt="Accept EULA" width="1022" height="729" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/Accept-EULA.png 1022w, https://thesysadminchannel.com/wp-content/uploads/2018/04/Accept-EULA-768x548.png 768w" sizes="(max-width: 1022px) 100vw, 1022px" /></a></p>
<ul>
<li>Let the installer finish and close when done. You may or may not be prompted to restart.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/RSAT-Tools-Restart.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-302 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/RSAT-Tools-Restart-1024x729.png" alt="RSAT Tools Restart" width="1024" height="729" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/04/RSAT-Tools-Restart.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/04/RSAT-Tools-Restart-768x547.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<ul>
<li>Navigate to Windows Administrative Tools folder and you should now see your newly installed RSAT Tools on your Windows 10 1709 machine.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/04/RSAT-Tools.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-296 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/04/RSAT-Tools.png" alt="RSAT Tools" width="684" height="362" /></a></p>
<h1>Watch as I Install RSAT Tools on Windows 10 1709</h1>
<p><iframe title="How to Install RSAT on Windows 10 1709" width="640" height="360" src="https://www.youtube.com/embed/pYY7bG2TnyI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-install-rsat-on-windows-10-1709/">How to Install RSAT on Windows 10 1709</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/how-to-install-rsat-on-windows-10-1709/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">220</post-id>	</item>
		<item>
		<title>Script: How to Automate your AD User Accounts with Powershell</title>
		<link>https://thesysadminchannel.com/script-create-user-accounts-in-powershell/</link>
					<comments>https://thesysadminchannel.com/script-create-user-accounts-in-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Mon, 02 Apr 2018 05:44:39 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[AD user account script]]></category>
		<category><![CDATA[automate active directory with powershell]]></category>
		<category><![CDATA[New-ADUser Example]]></category>
		<category><![CDATA[powershell create user accounts]]></category>
		<category><![CDATA[powershell script for active directory]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=210</guid>

					<description><![CDATA[<p>Create User Accounts in Powershell Tired of the old point and click method of creating AD user accounts?  So was I until I learned how to Create User Accounts in Powershell.  I love it!!  With the simple click of a&#8230; <a href="https://thesysadminchannel.com/script-create-user-accounts-in-powershell/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/script-create-user-accounts-in-powershell/">Script: How to Automate your AD User Accounts with Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1><strong>Create User Accounts in Powershell</strong></h1>
<p>Tired of the old point and click method of creating AD user accounts?  So was I until I learned how to <strong>Create User Accounts in Powershell.</strong>  I love it!!  With the simple click of a button I have the PS window prompt me for the username and any other relevant information and poof! two seconds later my account is created.</p>
<p>In this article I am going to share the exact script I use to create regular active directory user accounts. All with the power of automation.</p>
<p>Before we&#8217;re able to run any Powershell scripts,  you&#8217;re going to need to <a href="https://thesysadminchannel.com/set-execution-policy-in-powershell/" target="_blank" rel="noopener">set your execution policy</a>. Check out the link for the refresher on how to do that.</p>
<h1><strong>Script to Create AD User Accounts</strong></h1>
<p>Now lets get to the good stuff.  The script I use is only for automating the creation of active directory user accounts.  This is not used for mail enabled accounts, or accounts in <a href="https://thesysadminchannel.com/office365/" target="_blank" rel="noopener">Office 365.</a>  I&#8217;ll post a link to each with its own script at the end of the article.</p>
<pre class="brush: powershell; title: ; notranslate">
&lt;# 
.SYNOPSIS
Creates a user account in active directory with information entered in by the user.

.DESCRIPTION
This will create a user in Active Directory automatically with Powershell.

.NOTES
Name: AD-CreateUserNoMailbox.ps1
Version: 1.0
Author: The Sysadmin Channel
Date of last revision: 12/18/2016

.LINK
https://thesysadminchannel.com/script-create-user-accounts-in-powershell/ -
#&gt;


#Checking if the shell is running as administrator.
#Requires -RunAsAdministrator
#Requires -Module ActiveDirectory
$title = &quot;Create a User Account in Active Directory&quot;

$host.ui.RawUI.WindowTitle = $title

Import-Module ActiveDirectory -EA Stop

sleep 5
cls


Write-Host
Write-Host
#Getting variable for the First Name
$firstname = Read-Host &quot;Enter in the First Name&quot;
Write-Host
#Getting variable for the Last Name
$lastname = Read-Host &quot;Enter in the Last Name&quot;
Write-Host
#Setting Full Name (Display Name) to the users first and last name
$fullname = &quot;$firstname $lastname&quot;
#Write-Host
#Setting username to first initial of first name along with the last name.
$i = 1
$logonname = $firstname.substring(0,$i) + $lastname
#Setting the employee ID.  Remove the '#' if you want to use the variable
#$empID = Read-Host &quot;Enter in the Employee ID&quot;
#Setting the Path for the OU.
$OU = &quot;OU=Users,OU=Home,DC=ad,DC=thesysadminchannel,DC=com&quot;
#Setting the variable for the domain.
$domain = $env:userdnsdomain
#Setting the variable for the description.
$Description = Read-Host &quot;Enter in the User Description&quot;


cls
#Displaying Account information.
Write-Host &quot;=======================================&quot;
Write-Host 
Write-Host &quot;Firstname:      $firstname&quot;
Write-Host &quot;Lastname:       $lastname&quot;
Write-Host &quot;Display name:   $fullname&quot;
Write-Host &quot;Logon name:     $logonname&quot;
Write-Host &quot;OU:             $OU&quot;
Write-Host &quot;Domain:         $domain&quot;

#Checking to see if user account already exists.  If it does it
#will append the next letter of the first name to the username.
DO
{
If ($(Get-ADUser -Filter {SamAccountName -eq $logonname})) {
        Write-Host &quot;WARNING: Logon name&quot; $logonname.toUpper() &quot;already exists!!&quot; -ForegroundColor:Green
        $i++
        $logonname = $firstname.substring(0,$i) + $lastname
        Write-Host
        Write-Host
        Write-Host &quot;Changing Logon name to&quot; $logonname.toUpper() -ForegroundColor:Green 
        Write-Host
        $taken = $true
        sleep 10
    } else {
    $taken = $false
    }
} Until ($taken -eq $false)
$logonname = $logonname.toLower()

cls
#Displaying account information that is going to be used.
Write-Host &quot;=======================================&quot;
Write-Host 
Write-Host &quot;Firstname:      $firstname&quot;
Write-Host &quot;Lastname:       $lastname&quot;
Write-Host &quot;Display name:   $fullname&quot;
Write-Host &quot;Logon name:     $logonname&quot;
Write-Host &quot;OU:             $OU&quot;
Write-Host &quot;Domain:         $domain&quot;



#Setting minimum password length to 12 characters and adding password complexity.
$PasswordLength = 12

Do
{
Write-Host
    $isGood = 0
    $Password = Read-Host &quot;Enter in the Password&quot; -AsSecureString
    $BSTR = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($Password)
    $Complexity = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)

    if ($Complexity.Length -ge $PasswordLength) {
                Write-Host
            } else {
                Write-Host &quot;Password needs $PasswordLength or more Characters&quot; -ForegroundColor:Green
        }

    if ($Complexity -match &quot;[^a-zA-Z0-9]&quot;) {
                $isGood++
            } else {
                Write-Host &quot;Password does not contain Special Characters.&quot; -ForegroundColor:Green
        }

    if ($Complexity -match &quot;[0-9]&quot;) {
                $isGood++
            } else {
                Write-Host &quot;Password does not contain Numbers.&quot; -ForegroundColor:Green
        }

    if ($Complexity -cmatch &quot;[a-z]&quot;) {
                $isGood++
            } else {
                Write-Host &quot;Password does not contain Lowercase letters.&quot; -ForegroundColor:Green
        }

    if ($Complexity -cmatch &quot;[A-Z]&quot;) {
                $isGood++
            } else {
                Write-Host &quot;Password does not contain Uppercase letters.&quot; -ForegroundColor:Green
        }

} Until ($password.Length -ge $PasswordLength -and $isGood -ge 3)


Write-Host 
Read-Host &quot;Press Enter to Continue Creating the Account&quot;
Write-Host &quot;Creating Active Directory user account now&quot; -ForegroundColor:Green

#Creating user account with the information you inputted.
New-ADUser -Name $fullname -GivenName $firstname -Surname $lastname -DisplayName $fullname -SamAccountName $logonname -UserPrincipalName $logonname@$Domain -AccountPassword $password -Enabled $true -Path $OU -Description $Description -Confirm:$false

sleep 2


Write-Host

$ADProperties = Get-ADUser $logonname -Properties *

Sleep 3

cls

Write-Host &quot;========================================================&quot;
Write-Host &quot;The account was created with the following properties:&quot;
Write-Host 
Write-Host &quot;Firstname:      $firstname&quot;
Write-Host &quot;Lastname:       $lastname&quot;
Write-Host &quot;Display name:   $fullname&quot;
Write-Host &quot;Logon name:     $logonname&quot;
Write-Host &quot;OU:             $OU&quot;
Write-Host &quot;Domain:         $domain&quot;
Write-Host
Write-Host
</pre>
<p>&nbsp;</p>
<div id="attachment_252" style="width: 1034px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Create-User-Accounts-in-Powershell-Finish.png" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-252" class="wp-image-252 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Create-User-Accounts-in-Powershell-Finish-1024x566.png" alt="Create User Accounts in Powershell Finish" width="1024" height="566" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/Create-User-Accounts-in-Powershell-Finish-1024x566.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Create-User-Accounts-in-Powershell-Finish-768x425.png 768w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Create-User-Accounts-in-Powershell-Finish.png 1392w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><p id="caption-attachment-252" class="wp-caption-text">This is the result of the script that outputs all the information of the user account.</p></div>
<p>So there you have it,  the user account has been created with the click of a single button.  You can even scale this to create multiple accounts at once.</p>
<p>&nbsp;</p>
<h1>Watch as I Create User Accounts in Powershell</h1>
<p><iframe title="Create User Accounts With Powershell | Active Directory Automated User Creation" width="640" height="360" src="https://www.youtube.com/embed/osAkS5UJAPk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://thesysadminchannel.com/script-create-user-accounts-in-powershell/">Script: How to Automate your AD User Accounts with Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/script-create-user-accounts-in-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">210</post-id>	</item>
		<item>
		<title>Set Execution Policy in Powershell</title>
		<link>https://thesysadminchannel.com/set-execution-policy-in-powershell/</link>
					<comments>https://thesysadminchannel.com/set-execution-policy-in-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Wed, 28 Mar 2018 05:31:01 +0000</pubDate>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[how to use scripts in powershell]]></category>
		<category><![CDATA[Powershell execution policy]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=224</guid>

					<description><![CDATA[<p>Powershell doesn&#8217;t allow scripts to be ran by default so the policy must be changed if you were to use any script. If you want to Set Execution Policy in Powershell or just simply check what it is, open up Powershell&#8230; <a href="https://thesysadminchannel.com/set-execution-policy-in-powershell/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/set-execution-policy-in-powershell/">Set Execution Policy in Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Powershell doesn&#8217;t allow scripts to be ran by default so the policy must be changed if you were to use any script. If you want to Set Execution Policy in Powershell or just simply check what it is, open up Powershell and run the following command:</p>
<pre>PS C:\&gt; Get-ExecutionPolicy
Restricted</pre>
<p>If you&#8217;ve never set your execution policy this is what you will be seeing.  Now in order to change this to allow scripts you create locally, we&#8217;ll need to set it to RemoteSigned (or AllSigned, if you only want to run Signed Scripts). Since we don&#8217;t have any SSL Certificates on hand, I&#8217;m going to set my execution policy to remote signed.</p>
<h1>Set Execution Policy in Powershell</h1>
<p>To do this run Powershell as administrator and type in the following command:</p>
<pre>PS C:\&gt; Set-ExecutionPolicy RemoteSigned</pre>
<div id="attachment_215" style="width: 989px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Execution-Policy.png" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-215" class="wp-image-215 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Execution-Policy.png" alt="Powershell Execution Policy" width="979" height="452" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Execution-Policy.png 979w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Execution-Policy-768x355.png 768w" sizes="(max-width: 979px) 100vw, 979px" /></a><p id="caption-attachment-215" class="wp-caption-text">Note: You only have to set the execution policy once if you select Yes to All.</p></div>
<p>Press A to apply it to all.  If you want to learn a little more about execution policy.  Feel free to check out the <a href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-6&amp;viewFallbackFrom=powershell-Microsoft.PowerShell.Core" target="_blank" rel="noopener">MS Documentation.</a></p>
<p>That&#8217;s it!!</p>
<p>The post <a href="https://thesysadminchannel.com/set-execution-policy-in-powershell/">Set Execution Policy in Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/set-execution-policy-in-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">224</post-id>	</item>
		<item>
		<title>Setup and Configure DNS Reverse Lookup Zones</title>
		<link>https://thesysadminchannel.com/setup-and-configure-dns-reverse-lookup-zones/</link>
					<comments>https://thesysadminchannel.com/setup-and-configure-dns-reverse-lookup-zones/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Sun, 25 Mar 2018 08:26:36 +0000</pubDate>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DNS Zones]]></category>
		<category><![CDATA[Its always DNS]]></category>
		<category><![CDATA[Reverse lookup zones step by step]]></category>
		<category><![CDATA[Windows Server DNS Zones]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=199</guid>

					<description><![CDATA[<p>It&#8217;s not DNS!  It can&#8217;t be DNS!!  No way in hell it&#8217;s DNS!!!  It&#8217;s definitely DNS.  If you&#8217;ve been around the block a couple of times I&#8217;m almost certain Domain Naming System got the best of you at least once&#8230; <a href="https://thesysadminchannel.com/setup-and-configure-dns-reverse-lookup-zones/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/setup-and-configure-dns-reverse-lookup-zones/">Setup and Configure DNS Reverse Lookup Zones</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s not DNS!  It can&#8217;t be DNS!!  No way in hell it&#8217;s DNS!!!  It&#8217;s definitely DNS.  If you&#8217;ve been around the block a couple of times I&#8217;m almost certain Domain Naming System got the best of you at least once or twice.  Troubleshooting the issue to no end only to find out it was DNS all along.  Bastard!!   Well, no need to worry because it happens to the best of us.  In this article i&#8217;ll give you the quick and dirty on <strong>How To Setup and Configure DNS Reverse Lookup Zones</strong> for your domain so you can make troubleshooting work a little more in your favor.</p>
<p>Reverse lookup is not enabled by default so this means that anytime you try and do a <strong>ping -a</strong> in your command prompt, it will not give you the corresponding host name.  This makes troubleshooting that much harder and when it comes to DNS, you need all the help you can get.</p>
<p>&nbsp;</p>
<h2>Setup and Configure DNS Reverse Lookup Zones</h2>
<ul>
<li>On your Domain Controller, open up DNS Manager</li>
<li>Right click <strong>Reverse Lookup Zones</strong> and click <strong>New Zone</strong></li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Screenshot.jpg" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-201 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Screenshot-1024x385.jpg" alt="Configure New DNS Zone" width="1024" height="385" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/Screenshot.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Screenshot-768x289.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<ul>
<li>Select the appropriate zone for your scenario.</li>
</ul>
<div id="attachment_202" style="width: 520px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/New-Primary-Zone-Zone-Wizard.png" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-202" class="wp-image-202 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/New-Primary-Zone-Zone-Wizard.png" alt="New Primary Zone - Zone Wizard" width="510" height="397" /></a><p id="caption-attachment-202" class="wp-caption-text">Since I&#8217;m setting a brand new domain, i&#8217;ll be creating a primary zone.</p></div>
<ul>
<li>Select the appropriate zone scope for your scenario.</li>
</ul>
<div id="attachment_203" style="width: 520px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Active-Directory-Zone-Replication-Scope.png" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-203" class="wp-image-203 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Active-Directory-Zone-Replication-Scope.png" alt="Active Directory Zone Replication Scope" width="510" height="397" /></a><p id="caption-attachment-203" class="wp-caption-text">In my case I&#8217;ll want to replicate to all domain controllers in my domain.</p></div>
<ul>
<li>Enter in the Network ID,  for instance if your network is 192.168.1.0 with a subnet mask of 255.255.255.0. You will use 192.168.1 your network ID.</li>
</ul>
<div id="attachment_204" style="width: 520px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Reverse-Lookup-Zone-Name.png" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-204" class="wp-image-204 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Reverse-Lookup-Zone-Name.png" alt="Reverse Lookup Zone Name" width="510" height="397" /></a><p id="caption-attachment-204" class="wp-caption-text">Since I&#8217;m on the 172.16.10 /24 network, i&#8217;ll be using this as my Network ID</p></div>
<ul>
<li>Since we&#8217;re using Active Directory, I&#8217;ll leave this as the default.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Dynamic-Update-DNS.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-205 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Dynamic-Update-DNS.png" alt="Dynamic Update DNS" width="510" height="397" /></a></p>
<ul>
<li>Going forward you should now be able to ping an IP on that network and have it resolve to a hostname.</li>
</ul>
<div id="attachment_206" style="width: 888px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Reverse-DNS-Lookup.png" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-206" class="wp-image-206 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Reverse-DNS-Lookup.png" alt="Powershell Reverse DNS Lookup" width="878" height="404" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Reverse-DNS-Lookup.png 878w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Powershell-Reverse-DNS-Lookup-768x353.png 768w" sizes="(max-width: 878px) 100vw, 878px" /></a><p id="caption-attachment-206" class="wp-caption-text">Note that I am doing a ping -a and the reply is responding with the hostname of the device.</p></div>
<h1>Watch as I show you how to setup and configure DNS reverse lookup zones</h1>
<p><iframe title="DNS Reverse Lookup Zones - Setup and Configuration" width="640" height="360" src="https://www.youtube.com/embed/TRttNTi4U7w?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>And you there have it guys!!  I hope this video and article enables you to be a better sysadmin.  Just remember&#8230; It&#8217;s <em>always </em>DNS.</p>
<p>The post <a href="https://thesysadminchannel.com/setup-and-configure-dns-reverse-lookup-zones/">Setup and Configure DNS Reverse Lookup Zones</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/setup-and-configure-dns-reverse-lookup-zones/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">199</post-id>	</item>
		<item>
		<title>How To Install and Configure ESXi 5.5 &#8211; Step by Step Guide</title>
		<link>https://thesysadminchannel.com/install-and-configure-esxi-5-5-step-by-step-guide/</link>
					<comments>https://thesysadminchannel.com/install-and-configure-esxi-5-5-step-by-step-guide/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Sat, 24 Mar 2018 03:44:40 +0000</pubDate>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[ESXi 5.5]]></category>
		<category><![CDATA[Install and Configure]]></category>
		<category><![CDATA[Install and Configure ESXi 5.5]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[WMWare]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=124</guid>

					<description><![CDATA[<p>In this article I&#8217;m going to give you a step by step guide on how to Install and Configure ESXi 5.5. First and foremost, let&#8217;s talk about hardware. ESXi 5.5 Hardware Requirements. ESXI 5.5 requires that you have at least 4GB&#8230; <a href="https://thesysadminchannel.com/install-and-configure-esxi-5-5-step-by-step-guide/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/install-and-configure-esxi-5-5-step-by-step-guide/">How To Install and Configure ESXi 5.5 &#8211; Step by Step Guide</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this article I&#8217;m going to give you a <strong>step by step guide on how to Install and Configure ESXi 5.5</strong>. First and foremost, let&#8217;s talk about hardware.</p>
<h2>ESXi 5.5 Hardware Requirements.</h2>
<ul>
<li>ESXI 5.5 requires that you have at least 4GB of RAM.</li>
<li>ESXI 5.5 only supports a host machine with a minimum of two cores.</li>
<li>ESXi 5.5 must have at least 1 or more Gigabit or 10Gigabit Ethernet adapters.</li>
<li>ESXi 5.5 requires the NX/XD bit to be enabled for the CPU in the BIOS</li>
</ul>
<p>If you would like to know a little more on the hardware specs, check out VMWare’s site <a href="https://docs.vmware.com/en/VMware-vSphere/5.5/com.vmware.vsphere.upgrade.doc/GUID-DEB8086A-306B-4239-BF76-E354679202FC.html" target="_blank" rel="noopener">here</a>.</p>
<p>&nbsp;</p>
<p>Now that we have the hardware out of the way, we’re going to need the install media and probably a USB stick to boot to media.  You can <a href="https://www.amazon.com/gp/search/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=thesysadminch-20&amp;keywords=USB Flash Drives&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=3300a4104ac3d2dde80a8adb6f5e3963" target="_blank" rel="noopener">buy USB sticks on Amazon</a> for super cheap these days but most of us already have one laying around.  Once we have our flash drive, we&#8217;ll use it to create a bootable ISO of ESXi 5.5.  If you haven&#8217;t found it yet, you can <a href="https://my.vmware.com/web/vmware/details?productId=352&amp;downloadGroup=ESXI550" target="_blank" rel="noopener">download ESXi version 5.5 here</a>.</p>
<p>&nbsp;</p>
<h2>Install and Configure ESXi 5.5</h2>
<p>Alright now that we have all the pre-requisites out of the way boot to USB and you&#8217;ll be presented with 2 options.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Boot-Menu-Installer.jpg" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-129 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Boot-Menu-Installer.jpg" alt="Install and Configure ESXi 5.5" width="1023" height="635" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Boot-Menu-Installer.jpg 1023w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Boot-Menu-Installer-768x477.jpg 768w" sizes="(max-width: 1023px) 100vw, 1023px" /></a></p>
<p>Press Enter on the ESXi-5.5.0 Installer and let it load.  This process should take several minutes.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Installer-Loading.jpg" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-131 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Installer-Loading-1024x714.jpg" alt="ESXi 5.5 Installer Loading" width="1024" height="714" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Installer-Loading-1024x714.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Installer-Loading-768x536.jpg 768w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Installer-Loading.jpg 1190w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>&nbsp;</p>
<p>During this process you will be prompted to reboot several times.  Follow the prompts on screen until you&#8217;re presented to create your root password.</p>
<p>One you get passed all of the reboots and you&#8217;re ready to configure your brand new ESXi install, you&#8217;ll be presented with the following options.  Click on &#8220;Configure Management Network&#8221; to statically assign your IP addresses.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Configure-Management-Network.jpg" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-132 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Configure-Management-Network-1024x718.jpg" alt="ESXi 5.5 Configure Management Network" width="1024" height="718" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Configure-Management-Network-1024x718.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Configure-Management-Network-768x538.jpg 768w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Configure-Management-Network.jpg 1193w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>&nbsp;</p>
<p>Enter in your static IP so DHCP doesn&#8217;t change your IP in the future.</p>
<div id="attachment_133" style="width: 1034px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Static-IP-Configuration.jpg" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-133" class="wp-image-133 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Static-IP-Configuration-1024x424.jpg" alt="ESXi 5.5 Static IP Configuration" width="1024" height="424" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Static-IP-Configuration.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-Static-IP-Configuration-768x318.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><p id="caption-attachment-133" class="wp-caption-text">In my case I&#8217;m going to use 172.16.10.105 /24.</p></div>
<p>&nbsp;</p>
<p>Another important piece of the puzzle is the need to enter in our DNS servers and set our Hostname.</p>
<div id="attachment_134" style="width: 1034px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-and-Hostname-Configuration.jpg" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-134" class="wp-image-134 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-and-Hostname-Configuration-1024x429.jpg" alt="ESXi 5.5 DNS and Hostname Configuration" width="1024" height="429" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-and-Hostname-Configuration.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-and-Hostname-Configuration-768x322.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><p id="caption-attachment-134" class="wp-caption-text">90% of time your DNS servers will be your Active Directory Domain Controllers.</p></div>
<p>Next we&#8217;re going to set our DNS suffix.  This is set to your domain name.</p>
<div id="attachment_135" style="width: 1034px" class="wp-caption aligncenter"><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-Suffix-Configuration.jpg" target="_blank" rel="noopener"><img decoding="async" aria-describedby="caption-attachment-135" class="wp-image-135 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-Suffix-Configuration-1024x365.jpg" alt="ESXi 5.5 DNS Suffix Configuration" width="1024" height="365" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-Suffix-Configuration.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/ESXi-5.5-DNS-Suffix-Configuration-768x274.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><p id="caption-attachment-135" class="wp-caption-text">In my case, I&#8217;m setting the DNS suffix to thesysadminchannel.com</p></div>
<p>&nbsp;</p>
<p>The initial configuration portion of your ESXi 5.5 host is now complete.  For our final step we&#8217;re going to go to our favorite browser and enter in the IP we set in the previous steps.  You will be presented with an unsafe connection,  no need to worry about this since we don&#8217;t have the SSL certificates installed.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Web-Login-to-ESXi-5.5.jpg" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-136 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Web-Login-to-ESXi-5.5-1024x640.jpg" alt="Web Login to ESXi 5.5" width="1024" height="640" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/Web-Login-to-ESXi-5.5.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Web-Login-to-ESXi-5.5-768x480.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>&nbsp;</p>
<p>If you see this screen, congratulations!! You have just installed ESXi as your bare metal hypervisor.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/VMWare-ESXi-5.5-Welcome-Screen.jpg" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-137 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/VMWare-ESXi-5.5-Welcome-Screen-1024x560.jpg" alt="VMWare ESXi 5.5 Welcome Screen" width="1024" height="560" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/VMWare-ESXi-5.5-Welcome-Screen.jpg 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/VMWare-ESXi-5.5-Welcome-Screen-768x420.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>&nbsp;</p>
<h2>Video on How To Install and Configure ESXi 5.5</h2>
<p><iframe title="How To Install and Configure ESXi 5.5 - Step by Step Guide Video" width="640" height="360" src="https://www.youtube.com/embed/HqqDg7Mg5Gc?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>So whats the best way to learn VMWare?  Practice Practice Practice!!  If you want to learn more about virtualization, sure reading books is a definite boost in knowledge, but what really cements that learning is getting the hands on practice you need.</p>
<p>Start out by building a small home lab and installing it on your own.  I have listed several eBay listings for Dell R710 and HP DL380 servers to give you that extra edge you&#8217;re looking for.</p>
<div class='ebayfeed'></div>
<p>I hope this step by step guide on How to Install and Configure ESXi 5.5 has helped you.  If you have any question don&#8217;t hesitate to leave a comment and I&#8217;ll get back you!!</p>
<p>The post <a href="https://thesysadminchannel.com/install-and-configure-esxi-5-5-step-by-step-guide/">How To Install and Configure ESXi 5.5 &#8211; Step by Step Guide</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/install-and-configure-esxi-5-5-step-by-step-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">124</post-id>	</item>
		<item>
		<title>How To Enable Remote Desktop Via Group Policy (GPO)</title>
		<link>https://thesysadminchannel.com/how-to-enable-remote-desktop-via-group-policy-gpo/</link>
					<comments>https://thesysadminchannel.com/how-to-enable-remote-desktop-via-group-policy-gpo/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Fri, 23 Mar 2018 04:13:38 +0000</pubDate>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Enable Remote Desktop GPO]]></category>
		<category><![CDATA[Group Policy Management]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=149</guid>

					<description><![CDATA[<p>Picture this: you just setup a remote site and now you find yourself having to support servers (or users) you can&#8217;t physically get to.  Since walking to their desk is not an option, you need to figure out How to enable&#8230; <a href="https://thesysadminchannel.com/how-to-enable-remote-desktop-via-group-policy-gpo/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/how-to-enable-remote-desktop-via-group-policy-gpo/">How To Enable Remote Desktop Via Group Policy (GPO)</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Picture this: you just setup a remote site and now you find yourself having to support servers (or users) you can&#8217;t physically get to.  Since walking to their desk is not an option, you need to figure out <strong>How to enable Remote Desktop via Group Policy</strong> so it gets applied to machines at that site.  Today, that&#8217;s exactly what I&#8217;m going to show you how to do.</p>
<h2>Enable Remote Desktop via Group Policy</h2>
<p>The biggest problem you could be potentially faced with, is actual permissions to modify any GPOs. I&#8217;m going to assume you have the permissions so we&#8217;ll just continue on with a bullet list that&#8217;s easy peasy for you to understand.</p>
<ul>
<li>Open up Group Policy Management Console (GPMC).</li>
<li>Create a New Group Policy Object and name it Enable Remote Desktop.</li>
<li>Navigate to: <strong>Computer Configuration -&gt; Windows Settings -&gt; Security Settings -&gt; Windows Firewall with Advanced Security -&gt; Windows Firewall with Advanced Security -&gt; Inbound Rules and Create a New Rule</strong>. Screenshot below.</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Enable-Firewall-Rules-GPO.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-150 size-full" title="Enable Remote Desktop via Group Policy" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Enable-Firewall-Rules-GPO.png" alt="Enable Remote Desktop via Group Policy" width="411" height="383" /></a></p>
<ul>
<li>Select Port in the New Inbound Rule Wizard.</li>
<li>Ensure TCP and Specific Local Port : <strong>3389</strong></li>
</ul>
<p><strong> </strong> <a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Firewall-Rule-Port-3389.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-151 size-full" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Firewall-Rule-Port-3389.png" alt="Firewall Rule Port 3389" width="731" height="590" /></a></p>
<ul>
<li>Allow the Connection and only select Domain and Private Profiles.</li>
<li>Name this rule &#8211; Inbound Rule for RDP Port 3389</li>
</ul>
<p>&nbsp;</p>
<p>Now that we have added the local ports, we&#8217;ll need to enable the Remote Desktop Session Host policies.</p>
<ul>
<li>Go to <strong>Computer Configuration -&gt; Policies -&gt; Administrative Templates -&gt; Windows Components -&gt; Remote Desktop Services -&gt; Remote Desktop Session Host -&gt; Connections </strong></li>
<li> <strong>Allow users to connect remotely by using Remote Desktop Services</strong> to <strong>Enable.</strong></li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Connections-Allow-RDP-Settings.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-182 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Connections-Allow-RDP-Settings-1024x290.png" alt="Connections - Allow RDP Settings" width="1024" height="290" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/Connections-Allow-RDP-Settings-1024x290.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Connections-Allow-RDP-Settings-768x217.png 768w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Connections-Allow-RDP-Settings.png 1070w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<ul>
<li>Now we&#8217;re going to enable Network Level Authentication.  This is highly recommended and has many security advantages.  However, that&#8217;s out of the scope of this article so I won&#8217;t go in to the details now.</li>
<li>Go to <strong>Computer Configuration -&gt; Policies -&gt; Administrative Templates -&gt; Windows Components -&gt; Remote Desktop Services -&gt; Remote Desktop Session Host -&gt; Security</strong></li>
<li>Set <strong>Require user authentication for remote connections by using Network Level Authentication </strong>to <strong>Enable.</strong></li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2018/03/Security-Enable-NLA-Group-Policy.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-184 size-medium" src="https://thesysadminchannel.com/wp-content/uploads/2018/03/Security-Enable-NLA-Group-Policy-1024x240.png" alt="Security - Enable NLA Group Policy" width="1024" height="240" srcset="https://thesysadminchannel.com/wp-content/uploads/2018/03/Security-Enable-NLA-Group-Policy-1024x240.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Security-Enable-NLA-Group-Policy-768x180.png 768w, https://thesysadminchannel.com/wp-content/uploads/2018/03/Security-Enable-NLA-Group-Policy.png 1078w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<ul>
<li>Last but certainly not least, we need to apply the newly created GPO to an Organizational Unit so it actually works.</li>
<li>Close out of GPMC.  There aren&#8217;t any more settings to configure.</li>
</ul>
<p>&nbsp;</p>
<h2>Enable Remote Desktop using Group Policy (GPO) Video Demo</h2>
<p><iframe title="Enable Remote Desktop Using Group Policy (GPO) | Server 2012 R2 and Server 2016  GPO" width="640" height="360" src="https://www.youtube.com/embed/WkWYCjUH6a0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>&nbsp;<br />
Last but certainly not least be sure to check out our <a href="https://www.youtube.com/channel/UC9VnUjmZrNG3ithDZmG-S-g" rel="noopener" target="_blank">YouTube Channel</a> for awesome How-To&#8217;s and other Sysadmin related content.</p>
<p>The post <a href="https://thesysadminchannel.com/how-to-enable-remote-desktop-via-group-policy-gpo/">How To Enable Remote Desktop Via Group Policy (GPO)</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/how-to-enable-remote-desktop-via-group-policy-gpo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">149</post-id>	</item>
	</channel>
</rss>
