
<?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>Manage Group Account Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/manage-group-account/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/manage-group-account/amp/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Sun, 29 Mar 2020 10:23:34 +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>Manage Group Account Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/manage-group-account/amp/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>Manage Group Accounts in Active Directory using PowerShell</title>
		<link>https://www.technig.com/manage-group-accounts-in-active-directory-using-powershell/</link>
					<comments>https://www.technig.com/manage-group-accounts-in-active-directory-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Shais]]></dc:creator>
		<pubDate>Wed, 24 Dec 2014 19:11:42 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[MCSA]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Manage Group Account]]></category>
		<category><![CDATA[PowerShell Articles]]></category>
		<category><![CDATA[Windows Server 2012 R2]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=952</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Create and Manage group accounts in active directory Using Windows PowerShell" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory.jpg 840w, https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Related to creating objects in AD, learn how to  create and manage Group Accounts in Active Directory within Windows Servers. You can perform the tasks on all Windows Servers from 2008 to 2012 R2. Using PowerShell to manage Active Directory is not hard, if you try to understand the PowerShell CmdLets structures. Manage Group Accounts [&#8230;]</p>
<p>The post <a href="https://www.technig.com/manage-group-accounts-in-active-directory-using-powershell/">Manage Group Accounts in Active Directory 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="840" height="420" src="https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Create and Manage group accounts in active directory Using Windows PowerShell" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory.jpg 840w, https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2014/12/Manage-group-accounts-in-active-directory-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>Related to creating objects in AD, learn how to  create and manage Group Accounts in Active Directory within Windows Servers. You can perform the tasks on all Windows Servers from 2008 to 2012 R2. Using <a href="https://en.wikipedia.org/wiki/Windows_PowerShell" target="_blank" rel="noopener noreferrer">PowerShell</a> to manage <a href="https://technet.microsoft.com/en-us/library/dd448614.aspx" target="_blank" rel="noopener noreferrer">Active Directory</a> is not hard, if you try to understand the PowerShell CmdLets structures.</p>
<h2>Manage Group Accounts in Active Directory Using PowerShell</h2>
<p>The easy way to learn PowerShell is to perform some simple network management tasks with PowerShell. Specially when you are working with Active directory, Exchange Server, and other Microsoft products.</p>
<h3>Create and Mange Group Accounts in Active Directory</h3>
<p>In Windows Server run PowerShell and load active directory module. Type <strong>&#8216;Import-Module activedirectory&#8217; </strong>and press enter.</p>
<figure id="attachment_957" aria-describedby="caption-attachment-957" style="width: 969px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Active-Directory-Module-for-Windows-PowerShell1.jpg"><img decoding="async" class="wp-image-957 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Active-Directory-Module-for-Windows-PowerShell1.jpg" alt="Active Directory Module for Windows PowerShell" width="969" height="171" srcset="https://www.technig.com/wp-content/uploads/2014/12/Active-Directory-Module-for-Windows-PowerShell1.jpg 969w, https://www.technig.com/wp-content/uploads/2014/12/Active-Directory-Module-for-Windows-PowerShell1-300x53.jpg 300w, https://www.technig.com/wp-content/uploads/2014/12/Active-Directory-Module-for-Windows-PowerShell1-768x136.jpg 768w" sizes="(max-width: 969px) 100vw, 969px" /></a><figcaption id="caption-attachment-957" class="wp-caption-text">Active Directory Module for Windows PowerShell</figcaption></figure>
<p>To see the result, type <strong>&#8216;Get-Module&#8217;</strong> and press enter.</p>
<p>Find the related PowerShell CmdLets for group account, type<strong> &#8216;Get-Command *ADGroup*&#8217;</strong> and press enter.</p>
<figure id="attachment_959" aria-describedby="caption-attachment-959" style="width: 786px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/PowerShell-Group-Account-CmdLets.jpg"><img decoding="async" class="wp-image-959 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/PowerShell-Group-Account-CmdLets.jpg" alt="Manage group accounts in active directory" width="786" height="211" srcset="https://www.technig.com/wp-content/uploads/2014/12/PowerShell-Group-Account-CmdLets.jpg 786w, https://www.technig.com/wp-content/uploads/2014/12/PowerShell-Group-Account-CmdLets-300x81.jpg 300w, https://www.technig.com/wp-content/uploads/2014/12/PowerShell-Group-Account-CmdLets-768x206.jpg 768w" sizes="(max-width: 786px) 100vw, 786px" /></a><figcaption id="caption-attachment-959" class="wp-caption-text">PowerShell Group Account CmdLets</figcaption></figure>
<p>Create a group with <strong>&#8216;New-ADGroup&#8217;</strong></p>
<p><span style="color: #993300;"><strong>PS C:\&gt; New-ADGroup -Name &#8220;Sales Team&#8221; -DisplayName &#8220;Sales Members&#8221; -SamAccountName SalesTeam -GroupScope global -GroupCategory Security -Description &#8220;Technig Products Sales Team&#8221;</strong></span></p>
<figure id="attachment_963" aria-describedby="caption-attachment-963" style="width: 981px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Create-a-Group-with-PowerShell.jpg"><img loading="lazy" decoding="async" class="wp-image-963 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Create-a-Group-with-PowerShell.jpg" alt="Create a Group with PowerShell" width="981" height="50" srcset="https://www.technig.com/wp-content/uploads/2014/12/Create-a-Group-with-PowerShell.jpg 981w, https://www.technig.com/wp-content/uploads/2014/12/Create-a-Group-with-PowerShell-300x15.jpg 300w, https://www.technig.com/wp-content/uploads/2014/12/Create-a-Group-with-PowerShell-768x39.jpg 768w" sizes="(max-width: 981px) 100vw, 981px" /></a><figcaption id="caption-attachment-963" class="wp-caption-text">Create a Group with PowerShell</figcaption></figure>
<p>To see the group account attributes or Properties type <strong>&#8216;Get-ADGroup -Identity salesteam -Properties *&#8217;</strong> and press enter.</p>
<figure id="attachment_961" aria-describedby="caption-attachment-961" style="width: 807px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Group-Account-Attributes.jpg"><img loading="lazy" decoding="async" class="wp-image-961 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Group-Account-Attributes.jpg" alt="Group Account Attributes" width="807" height="630" srcset="https://www.technig.com/wp-content/uploads/2014/12/Group-Account-Attributes.jpg 807w, https://www.technig.com/wp-content/uploads/2014/12/Group-Account-Attributes-300x234.jpg 300w, https://www.technig.com/wp-content/uploads/2014/12/Group-Account-Attributes-768x600.jpg 768w" sizes="(max-width: 807px) 100vw, 807px" /></a><figcaption id="caption-attachment-961" class="wp-caption-text">Group Account Attributes</figcaption></figure>
<p>You can add users to a Group with <strong>&#8216;Add-ADGroupMember -Identity Salesteam -Members Nigar,Mahdi&#8217;</strong> command.</p>
<figure id="attachment_962" aria-describedby="caption-attachment-962" style="width: 623px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Add-Users-to-Group-with-PowerShell-Command.jpg"><img loading="lazy" decoding="async" class="wp-image-962 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Add-Users-to-Group-with-PowerShell-Command.jpg" alt="Add Users to Group with PowerShell Command" width="623" height="69" srcset="https://www.technig.com/wp-content/uploads/2014/12/Add-Users-to-Group-with-PowerShell-Command.jpg 623w, https://www.technig.com/wp-content/uploads/2014/12/Add-Users-to-Group-with-PowerShell-Command-300x33.jpg 300w" sizes="(max-width: 623px) 100vw, 623px" /></a><figcaption id="caption-attachment-962" class="wp-caption-text">Add Users to Group with PowerShell Command</figcaption></figure>
<p>Now I have added users Nigar and Mahdi to SalesTeam group.</p>
<figure id="attachment_964" aria-describedby="caption-attachment-964" style="width: 639px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Show-Group-Members-with-Command.jpg"><img loading="lazy" decoding="async" class="wp-image-964 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Show-Group-Members-with-Command.jpg" alt="Show Group Members with Command" width="639" height="297" srcset="https://www.technig.com/wp-content/uploads/2014/12/Show-Group-Members-with-Command.jpg 639w, https://www.technig.com/wp-content/uploads/2014/12/Show-Group-Members-with-Command-300x139.jpg 300w" sizes="(max-width: 639px) 100vw, 639px" /></a><figcaption id="caption-attachment-964" class="wp-caption-text">Show Group Members with Command</figcaption></figure>
<p>The<strong> &#8216;Get-ADGroupMember salesteam&#8217;</strong> will show you all members of SalesTeam group.</p>
<p>Remove a user from group, type <strong>&#8216;Remove-ADGroupMember -Identity SalesTeam -Members Mahdi&#8217;</strong> and press enter. When ask you <strong>Are you sure you want to perform this action?</strong> Just type <strong>Y</strong> then press enter to accept it.</p>
<figure id="attachment_965" aria-describedby="caption-attachment-965" style="width: 750px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2014/12/Remove-an-Account-from-a-Group-with-Command.jpg"><img loading="lazy" decoding="async" class="wp-image-965 size-full" src="https://www.technig.com/wp-content/uploads/2014/12/Remove-an-Account-from-a-Group-with-Command.jpg" alt="Remove an Account from a Group with Command" width="750" height="112" srcset="https://www.technig.com/wp-content/uploads/2014/12/Remove-an-Account-from-a-Group-with-Command.jpg 750w, https://www.technig.com/wp-content/uploads/2014/12/Remove-an-Account-from-a-Group-with-Command-300x45.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" /></a><figcaption id="caption-attachment-965" class="wp-caption-text">Remove an Account from a Group with Command</figcaption></figure>
<p>Do the same to remove a group with  <strong>Remove-ADGroup</strong> command. If you want to modify a <a href="https://msdn.microsoft.com/en-us/library/ms675729(v=vs.85).aspx" target="_blank" rel="noopener noreferrer">group attributes</a>, do it with <strong>Set-ADGroup</strong> command.</p>
<p>OK friends that&#8217;s all about How to Create and Manage group accounts in active directory. You may need to read <a href="https://www.technig.com/create-user-account-using-powershell-in-active-directory/" target="_blank" rel="noopener noreferrer">How to create User Account with PowerShell in Active Directory</a> or you have any question? just ask trough comment.</p>
<p>The post <a href="https://www.technig.com/manage-group-accounts-in-active-directory-using-powershell/">Manage Group Accounts in Active Directory using PowerShell</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/manage-group-accounts-in-active-directory-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">952</post-id>	</item>
	</channel>
</rss>
