<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1136630541753132644</id><updated>2026-03-26T11:32:46.068+00:00</updated><category term="Powershell v2"/><category term="Module"/><category term="Active Directory"/><category term="function"/><category term="AADSites"/><category term="powershell"/><category term="AD cmdlets"/><category term="Filesystem"/><category term="links"/><category term=".net"/><category term="AD Cmdlets Reference"/><category term="Script Repository"/><category term="Windows 2008 R2"/><category term="AD Subnet"/><category term="DFSUTIL"/><category term="AD Site"/><category term="search"/><category term="AD Sitelink"/><category term="Get-ADDomainController"/><category term="remoting"/><category term="Try / Catch"/><category term="compare-object"/><category term="dfsr"/><category term="dfsradmin"/><category term="permissions"/><category term="quest cmdlets"/><category term="ADMGS"/><category term="Add-ADGroupMember"/><category term="Convert VB to powershell"/><category term="Get-ADGroup"/><category term="Hash Tables"/><category term="LDAP query"/><category term="Server Manager"/><category term="Shadow Group"/><category term="Windows 7 shorcuts"/><category term="array"/><category term="exceptions"/><category term="expandproperty"/><category term="function template"/><category term="indexed attributes"/><category term="parameter"/><category term="powershell remoting"/><category term="try-catch"/><category term="winrm"/><category term="winrm qc"/><category term="ws management"/><category term="wsman"/><category term="AD Recycle Bin"/><category term="AD Stie"/><category term="AGDLP"/><category term="Ad Stie link"/><category term="Add-AADSiteToSitelink"/><category term="Add-ADDomainControllerPasswordReplicationPolicy"/><category term="Confirm-AADSite"/><category term="Confirm-AADSitelink"/><category term="Confirm-AADSubnet"/><category term="DC Methods"/><category term="Domain Controller"/><category term="Enable-ADOptionalFeature"/><category term="Get-AADServicesObject"/><category term="Get-AADsite"/><category term="Get-AADsitelink"/><category term="Get-AADsubnet"/><category term="Get-ADOrganizationalUnit"/><category term="Introduction"/><category term="KCC"/><category term="Large Group Membership"/><category term="Move-AADSubnetToSite"/><category term="New-AADSite"/><category term="New-AADSiteLink"/><category term="New-AADSubnet"/><category term="PRP"/><category term="PowerShell v3"/><category term="Powershell Toolbar"/><category term="ProtectedFromAccidentalDeletion"/><category term="RODC"/><category term="Recycle Bin Feature"/><category term="Remove-AADSiteFromSitelink"/><category term="Remove-AADsite"/><category term="Remove-AADsitelink"/><category term="Remove-AADsubnet"/><category term="Restore-ADObject"/><category term="Security"/><category term="Server Core"/><category term="Set-AADSite"/><category term="Set-AADSitelink"/><category term="Set-AADSubnet"/><category term="Set-ADOrganizationalUnit"/><category term="Sites"/><category term="Test-AADServicesObject"/><category term="Windows 2008"/><category term="Windows 7 God Mode"/><category term="Windows 7 Secrets"/><category term="behaviour change"/><category term="compare-object multiple values"/><category term="computer password change"/><category term="defaultnamingcontext"/><category term="deleted computer object"/><category term="download"/><category term="elevation"/><category term="error"/><category term="error handling"/><category term="export hash table"/><category term="export-csv"/><category term="file share"/><category term="get-NTFSExplicitPermissions"/><category term="get-adcomputer"/><category term="get-adobject"/><category term="get-adrootdse"/><category term="get-eventlog"/><category term="get-job"/><category term="get-qadobject"/><category term="group type values"/><category term="invoke-command"/><category term="new-dfsrgroup"/><category term="new-object psobject"/><category term="ocsetup"/><category term="one-liner"/><category term="powegui.org"/><category term="receive-job"/><category term="recover bitlocker passowrd"/><category term="schema"/><category term="searchflags"/><category term="share connection"/><category term="sitelinks"/><category term="subnets"/><category term="time sync"/><category term="tombstone"/><category term="validation"/><category term="wait-job"/><category term="windows domain"/><category term="write-error"/><title type='text'>Adam&#39;s AD Admin</title><subtitle type='html'>Powershell for Active Directory</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>78</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-5330195044081928782</id><published>2013-05-17T00:06:00.000+01:00</published><updated>2013-05-17T00:06:36.832+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="behaviour change"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell v3"/><title type='text'>PowerShell 3 behavioural change</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;


&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It&#39;s taken me way too long to get into PowerShell 3, I guess opportunity hasn&#39;t shown it&#39;s self until now and so, here, my V3 journey begins.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I was asked to debug a script that would run fine in PS v2 and not in v3.&amp;nbsp; The issue was a that a variable length was being checked and was failing in v3.&amp;nbsp; This is why...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In v2 if a variable is &lt;strong&gt;undefined&lt;/strong&gt;, this test returns false&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PS C:\windows\system32&amp;gt; $var.length -eq 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;False&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In v3 the same test returns true....&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PS C:\windows\system32&amp;gt; $var.length -eq 0&lt;br /&gt;True&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Not a biggie, but as in this case, a script has broken so something to consider!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Adam&lt;/span&gt;&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/5330195044081928782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2013/05/powershell-3-behavioural-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/5330195044081928782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/5330195044081928782'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2013/05/powershell-3-behavioural-change.html' title='PowerShell 3 behavioural change'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-7933643262233435130</id><published>2012-10-04T23:51:00.000+01:00</published><updated>2012-10-04T23:51:48.039+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dfsr"/><category scheme="http://www.blogger.com/atom/ns#" term="dfsradmin"/><category scheme="http://www.blogger.com/atom/ns#" term="DFSUTIL"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Filesystem v 0.992</title><content type='html'>&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Just over a year after I published the first version of this module, and too many revisions to count later, I am fast approaching 1000 downloads!&amp;nbsp; This update takes the number of functions past 50 too!&amp;nbsp; Thanks to everyone who have given me great feedback!&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The latest release can be downloaded &lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;here&lt;/a&gt;. For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;here&lt;/a&gt;.
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Bug Fix&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;min-height: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;removed the discovery error on load&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;min-height: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Added Functions&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;min-height: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-sharePermission (not sure why it took so long for this one to appear)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-NTFSBlockedInheritance - to compliment get-NTFSExplicitPermissions, this return the path of a folder if inheritance has been blocked&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;min-height: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;updated Function&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;min-height: 14px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-NTFSExplicitPermissions - added an exclude parameter in the same way that get-NTFSPermission works&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Cheers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Adam&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;


&lt;/span&gt;


&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;

&lt;/span&gt;
&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/7933643262233435130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/10/filesystem-v-0992.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/7933643262233435130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/7933643262233435130'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/10/filesystem-v-0992.html' title='Filesystem v 0.992'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-8270759597900115771</id><published>2012-06-04T23:22:00.000+01:00</published><updated>2012-06-04T23:22:06.240+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AGDLP"/><category scheme="http://www.blogger.com/atom/ns#" term="file share"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="permissions"/><title type='text'>Assigning Permissions - AGDLP</title><content type='html'>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:AllowPNG/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves&gt;false&lt;/w:TrackMoves&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:DrawingGridHorizontalSpacing&gt;18 pt&lt;/w:DrawingGridHorizontalSpacing&gt;
  &lt;w:DrawingGridVerticalSpacing&gt;18 pt&lt;/w:DrawingGridVerticalSpacing&gt;
  &lt;w:DisplayHorizontalDrawingGridEvery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;
  &lt;w:DisplayVerticalDrawingGridEvery&gt;0&lt;/w:DisplayVerticalDrawingGridEvery&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:DontAutofitConstrainedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
  &lt;/w:Compatibility&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;276&quot;&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;

&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:&quot;Times New Roman&quot;;
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;
 mso-ansi-language:EN-US;}
table.MsoTableGrid
 {mso-style-name:&quot;Table Grid&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 border:solid black;
 mso-border-themecolor:text1;
 border:1.0pt;
 mso-border-alt:solid black;
 mso-border-themecolor:text1;
 mso-border-alt:.5pt;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-border-insideh:.5pt solid black;
 mso-border-insideh-themecolor:text1;
 mso-border-insidev:.5pt solid black;
 mso-border-insidev-themecolor:text1;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ascii-font-family:Cambria;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Cambria;
 mso-hansi-theme-font:minor-latin;
 mso-ansi-language:EN-US;}
&lt;/style&gt;
&lt;![endif]--&gt;



&lt;!--StartFragment--&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;AGDLP&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;It seems I have been mildly
distracted away from the title of this blog site.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;It does say AD Admin, but I seem to have been taken away by
file system stuff.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;I have to say,
it has all been worthwhile, but it’s probably time I got back to the real heart
of what I do.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;There are probably a million
permission assigning advice pages, but I thought I would put another one out
there after referring to AGDLP in my last post.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;So, what is this all about –
AGDLP.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Well, it is something I
learned in my MCSE 2003 studies and has become ingrained into my ideals
since.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;As a contractor, I get to
move job often.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;This enables me to
forge opinions on how to configure things in a domain, and more importantly how
NOT to configure things.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;AGDLP is definitely on the to do
list…for anyone in any size domain or forest, as it follows some very basic
principals.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;I will explain these
whilst I go through what AGDPL stands for.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;&lt;b&gt;A&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;A is for account.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;It is the security principal that you
log in with.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;It is the service
account that runs a scheduled task on a server.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;It is the computer object in AD.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;&lt;b&gt;G&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;G is for Global Group. Basic
principal number 1 is represent your user base by a group wherever you
can.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;If 1 person in sales needs
access to a drive, then most likely the others should have access too.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;&lt;b&gt;DL&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;DL is for Domain Local
Group.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;In the same way that a
group represents users, so should a group represent resources.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;All access is given to the domain local
group, ensuring that junior administrators don’t need to play with the ACL on a
drive etc, they only have to add an object (Global Group) to a Domain Local
Group.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;&lt;b&gt;P&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;P is for Permission.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;As mentioned in DL, permissions are
assigned to the DL so that the ACL on an object is as simple as possible.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;&lt;b&gt;Example&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;So, lets walk though an example
of this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;John is part of the sales group
and the sales people have just been given a huge new server with loads of
storage for brochure PDFs.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;John is
working with the IT team to get everything set up for access for the whole
team.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;It has been decided that the
Global Group “Sales – All Staff” (of which John is a member) is the best
representation of the users that need access to the new drive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;A new file share has been created
on the Server and a Domain local group called “Sales Brochures – Modify” has
been created and assigned Read and Modify NTFS permissions to the file system
and has also been given Read and Change Share permissions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Whilst there, the IT guys created
a “Sales Brochures – Read” Domain Local group and gave the group read to both
NTFS and Share permissions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;So the A-G-DL-P looks like this :
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-insideh-themecolor: text1; mso-border-insideh: .5pt solid black; mso-border-insidev-themecolor: text1; mso-border-insidev: .5pt solid black; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 191;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Account (A)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Global Group (G)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Domain Local (DL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Permissions (P)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;John&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Sales – All Staff&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Sales Brochures – Modify&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Change on share&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Modify on NTFS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: 1.0pt; border: solid black; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Sales Brochures – Read&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border-bottom: 1.0pt; border-bottom: solid black; border-left: none; border-right: 1.0pt; border-right: solid black; border-top: none; mso-border-alt: .5pt; mso-border-alt: solid black; mso-border-bottom-themecolor: text1; mso-border-left-alt: .5pt; mso-border-left-alt: solid black; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: .5pt; mso-border-top-alt: solid black; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.45pt;&quot; valign=&quot;top&quot; width=&quot;106&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Read on share&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Read on NTFS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;There isn’t yet an A and G for
the read only group, but it is very simple to add anyone read access now.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;For those who are interested in
what the difference is between a domain local and a global group (something
that confused me for a long time) I’ll cover that off in the next blog post.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;It’s a very simple process, but
is often ignored.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;I urge
administrators of security anywhere to follow this!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Cheers &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 16.0pt;&quot;&gt;Adam&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;!--EndFragment--&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;


&lt;/span&gt;


&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;

&lt;/span&gt;
&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/8270759597900115771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/06/assigning-permissions-agdlp.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8270759597900115771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8270759597900115771'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/06/assigning-permissions-agdlp.html' title='Assigning Permissions - AGDLP'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-6693292155444293408</id><published>2012-06-04T07:40:00.001+01:00</published><updated>2012-06-04T07:41:16.579+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="get-NTFSExplicitPermissions"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="permissions"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>quick look at get-NTFSExplicitPermissions</title><content type='html'>&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;b&gt;get-NTFSExplicitPermissions&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
As one of favourite time saving functions of late, I thought I&#39;d continue my recent trend of blogging again by giving a bit of insight to it&#39;s background.&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
One of the parts to my day job is looking after file servers.&amp;nbsp; I don&#39;t do day to day admin work on them, more look at managing space and migrating data to new servers / volumes if required.&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Now the problem with doing the data migrations and not being involved in the day to day admin work (ie assigning permissions creating shares etc) is that I have no control over how and where the permissions are assigned.&amp;nbsp; I learnt how to assign permissions to file systems years ago in Novell environments, which was soon followed with the MCSE taught A-G-D-L-P model. (AGDLP? now that sound like a reasonable blog post for an AD Admin blog site!)&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Anyway, I have since found that these early teaching on permission models are not implemented as thoroughly as I would like, where ever I seem to work - hence, get-NTFSExplicitPermissions.&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
This function allows you to return any permissions that have been assigned below the root of the folder structure, giving you exactly who would be affected if you move the data to somewhere else.&amp;nbsp; It defaults to 3 levels deep so it doesn&#39;t take hours to run on deep tree structures. &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
To run it all you need is the path parameter (which is also works as positional parameter 0) and you are away....&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;get-NTFSExplicitPermissions -path e:\data&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
or&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;get-NTFSExplicitPermissions e:\data&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
and you get something like this :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;PS C:\Users\Administrator&amp;gt; get-NTFSExplicitPermissions e:\data&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;path&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IdentityReference&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileSystemRights &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AccessControlType&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;----&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -----------------&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---------------- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -----------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;e:\data &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILTIN\Administrators&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CREATOR OWNER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 268435456 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NT AUTHORITY\SYSTEM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILTIN\Administrators&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILTIN\Users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReadAndExecute, Synchronize &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILTIN\Users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CreateFiles, AppendData &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CREATOR OWNER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NT AUTHORITY\SYSTEM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILTIN\Administrators&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILTIN\Users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ReadAndExecute, Synchronize &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BUILTIN\Users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...s, AppendData, Synchronize &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CORE\Adam Stone &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
note the last line is where I have assigned myself the full control permission to the users folder.&amp;nbsp; The rest of the permissions suggests that inheritance has been switched off on both e:\data\2 and e:\data\users as the default permissions are showing up as not inherited.&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
To increase the depth of the search, just use the recurse parameter...this will dig 10 folders deep from the root :&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;get-NTFSExplicitPermissions -path e:\data -recurse 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Of course, you can filter the results in the same way as you would with the where clause... to remove NT AUTHORITY and BUILTIN results you can do this :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;get-NTFSExplicitPermissions -path e:\data | Where {$_.IdentityReference -notlike &quot;NT AUTHORITY*&quot; -and $_.IdentityReference -notlike &quot;BUILTIN*&quot;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
this command run on the same folder as above returns :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;path&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IdentityReference&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileSystemRights &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AccessControlType&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;----&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -----------------&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---------------- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -----------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CREATOR OWNER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 268435456 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CREATOR OWNER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;E:\data\users &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CORE\Adam Stone &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FullControl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allow&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
This function has already saved me more time than it took to write! &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The latest release can be downloaded&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;here&lt;/a&gt;, and f&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;or more info on the module see&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: small;&quot;&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;
Oh, and thanks goes to Ivan for his input!&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
cheers&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 19.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Adam&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;


&lt;/span&gt;


&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;

&lt;/span&gt;
&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/6693292155444293408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/06/quick-look-at-get-ntfsexplicitpermissio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6693292155444293408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6693292155444293408'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/06/quick-look-at-get-ntfsexplicitpermissio.html' title='quick look at get-NTFSExplicitPermissions'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-9150750408324922483</id><published>2012-05-31T23:18:00.001+01:00</published><updated>2012-05-31T23:18:57.876+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dfsr"/><category scheme="http://www.blogger.com/atom/ns#" term="dfsradmin"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="new-dfsrgroup"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>new-DFSrGroup</title><content type='html'>&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;b&gt;New-DFSRGroup&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
This function contains pretty much everything about dfs-r groups.&amp;nbsp; When you create a replication group from the GUI, have you ever noticed the steps that complete on the page after you click create? Ever paid any attention to what they are actually doing? Me neither, until I started looking at this new-dfsrgroup function.&amp;nbsp; Assuming that there are 2 members to the replication group and all parameters have been entered, my function calls dfsradmin no less that 9 times to complete the task.&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
So how can we use the function?&amp;nbsp; here are some examples....&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
new-dfsrgroup -name &quot;rg2&quot; -description &quot;desc1&quot; -Servers server1,server2 -folderpath e:\data\users -foldername Users&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 19.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
This command will invoke every part of the function and create a fully meshed replication group.&amp;nbsp; Out of the parameters presented, only name and servers are mandatory.&amp;nbsp; If you were to omit foldername eg :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
new-dfsrgroup -name &quot;rg2&quot; -description &quot;desc1&quot; -Servers server1,server2 -folderpath e:\data\users&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
then the group will be created and the server will be added as members and connections will be created, but as there is no replication folder, members cannot be enabled.&amp;nbsp; Essentially, the folderpath parameter in this example is ignored.&amp;nbsp; If you were to keep the foldername and omit the folderpath :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
new-dfsrgroup -name &quot;rg2&quot; -description &quot;desc1&quot; -Servers server1,server2 -foldername Users&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
then in addition to above a replication folder will be created, but still the members will not be enabled as no folderpath was supplied.&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
I could go on and on as this function has 10 possible parameters.&amp;nbsp; You can control pretty much anything to do with the replication group creation. &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
This is straight out of the help file for the function :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER Name&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Mandatory - The name of the Group to create&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 0&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER Description&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - A description of the group&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 1&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER Servers&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Mandatory - The servers that will be members in the group.&amp;nbsp; The&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;first server in the list will be the primary server&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 2&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER FolderPath&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - The path to replicate.&amp;nbsp; If not included, the group will&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;be created but replication not enabled&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 3&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER Foldername&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - The name of the folder to appear in the group. &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;If not included, the group will be created but replication not enabled&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 4&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER StagingSize&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - The size of the staging area - defaults to 4Gb&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 5&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER StagingPath&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - The path to the staging area - defaults to within the folder&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;path.&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 6&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER ConflitDeleteSize&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - The size of the Conflict and Deleted folder - default to 350mb&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 7&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER FileFilter&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - The file types to exclude from replication eg &quot;*.txt,*.tmp&quot;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 8&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
PARAMETER FolderFilter&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Optional - The subfolders to exclude from replication&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Postition 9&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
You can download the module that contains this function &lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;here&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
I hope it helps dfs-r management, ask any questions in the comments!&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 18.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
cheers&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Times; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 19.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16.0px Arial; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Adam&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;


&lt;/span&gt;


&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;

&lt;/span&gt;
&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/9150750408324922483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/05/new-dfsrgroup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/9150750408324922483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/9150750408324922483'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/05/new-dfsrgroup.html' title='new-DFSrGroup'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-230433587070954855</id><published>2012-05-31T01:35:00.000+01:00</published><updated>2012-05-31T01:40:44.346+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dfsr"/><category scheme="http://www.blogger.com/atom/ns#" term="dfsradmin"/><category scheme="http://www.blogger.com/atom/ns#" term="DFSUTIL"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Filesystem 0.99 update (DFS-R!)</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Filesystem Update&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Another update / bug fix for my module Filesystem. The latest release can be downloaded &lt;/span&gt;&lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;. For more info on the module see &lt;/span&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: 16px Arial; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In update v0.99, DFS-r management has been released...with a couple of other changes :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: dfsradmin.exe is required to be installed for the DFSR functions to work&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Updated&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: 16px Arial; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;list-DFSRoots has been renamed to get-dfsroots due to list not being on the approved verb list (an alias exists to redirect list-dfsroots to get-dfsroots for now)&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: 16px Arial; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;list-DFSLinks has been renamed to get-dfslinks due to list not being on the approved verb list (an alias exists to redirect list-dfslinks to get-dfslinks for now)&lt;/span&gt;&lt;br /&gt;
get-NTFSPermission - fixed issue with inherited only permissions&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;New DFS-r functions&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;add-dfsrGroupMember&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;disable-dfsrGroupMember&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;enable-dfsrGroupMember&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-DFSrGroup&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-dfsrGroupConnection&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-DFSRGroupfolder&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-dfsrGroupMember&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;new-DFSRgroup&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;new-dfsrGroupConnection&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;new-dfsrGroupFolder&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;new-dfsrPropagationReport&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;new-dfsrPropagationTest&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;remove-DFSRgroup&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;remove-dfsrGroupConnection&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;remove-DFSRGroupfolder&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;remove-dfsrGroupMember&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;remove-dfsrPropagationTest&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px; min-height: 19px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Other New Function&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px; min-height: 19px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 16px Times; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-NTFSExplicitPermissions - a great time saver when working out who has been assigned permissions below the root of a folder structure&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 16px Arial; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In a separate post, I&#39;ll explain what goes on with new-dfsrgroup&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Adam&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/230433587070954855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/05/filesystem-099-update-dfs-r.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/230433587070954855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/230433587070954855'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/05/filesystem-099-update-dfs-r.html' title='Filesystem 0.99 update (DFS-R!)'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-1771166590700226813</id><published>2012-04-26T00:41:00.000+01:00</published><updated>2012-04-26T00:41:10.858+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DFSUTIL"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Filesystem Module v0.98</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Filesystem Update&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Another update / bug fix for my module Filesystem. The latest release can be downloaded &lt;/span&gt;&lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;. For more info on the module see &lt;/span&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In update v0.98, the follow has changed : &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;updated&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-dfslink (added path parameter to output object)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;New function&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;list-DFSRoots&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;list-DFSLinks&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;As requested by Deas, the list functions have been added to list all DFS roots in a domain and subsequently, list all links in a dfs root.  get-dfslink has been updated to add a path property to the object output.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Just for reference, I have started on my next update already.....Adding DFS-r management! &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Adam&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/1771166590700226813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/04/filesystem-module-v098.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1771166590700226813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1771166590700226813'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/04/filesystem-module-v098.html' title='Filesystem Module v0.98'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-7991622392080388738</id><published>2012-03-15T21:25:00.000+00:00</published><updated>2012-03-15T21:25:02.628+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DFSUTIL"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Filesystem 0.97</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Filesystem Update&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Another update / bug fix for my module Filesystem. The latest release can be downloaded &lt;/span&gt;&lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;. For more info on the module see &lt;/span&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In update v0.97, the follow has changed : &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;updated&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;new-dfsroot (now supports standalone namespaces)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;New function&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-fileshares (list all shares on a server)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Thanks goes to Steve for helping test this release.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Adam&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/7991622392080388738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/03/filesystem-097.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/7991622392080388738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/7991622392080388738'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/03/filesystem-097.html' title='Filesystem 0.97'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-1890039711089150161</id><published>2012-03-07T20:46:00.001+00:00</published><updated>2012-03-07T20:46:17.503+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DFSUTIL"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Filesystem v0.96</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Filesystem - Update&amp;nbsp;4&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This is my&amp;nbsp;fourth update / bug fix for my module Filesystem. The latest release can be downloaded &lt;/span&gt;&lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;. For more info on the module see &lt;/span&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In update v0.96, the follow has changed : &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;updated&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-dfslink (now supports spaces in the link path)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-dfslink&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;(output now says &quot;disabled&quot; rather than &quot;disbled&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Thanks again to everyone who has take the time to send feedback.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Adam&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/1890039711089150161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/03/filesystem-v096.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1890039711089150161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1890039711089150161'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/03/filesystem-v096.html' title='Filesystem v0.96'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-8199290725953906729</id><published>2012-01-27T05:34:00.000+00:00</published><updated>2012-01-27T05:34:39.781+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Filesystem Module update 3</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Filesystem - Update&amp;nbsp;3&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This is my&amp;nbsp;third update / bug fix for my module Filesystem. The latest release can be downloaded &lt;/span&gt;&lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;. For more info on the module see &lt;/span&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In update v0.94, the follow has changed : &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;added&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;get-ntfspermission&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;updated&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;add-ntfspermission (now has a domain parameter)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;remove-ntfspermission (now has a domain parameter)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;new-dfsroot (now has a version parameter)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Thanks to everyone who has take the time to send feedback. I have hopefully addressed all bugs reported.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;One thing&amp;nbsp;I have not changed is the name and would like to know how many other people have a name conflict with this module. Use the comments to to report back and even suggest a new name!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Adam&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/8199290725953906729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2012/01/filesystem-module-update-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8199290725953906729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8199290725953906729'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2012/01/filesystem-module-update-3.html' title='Filesystem Module update 3'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-6591998895565009504</id><published>2011-10-23T22:39:00.001+01:00</published><updated>2011-10-23T22:39:41.011+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Filesystem Module update 1</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Filesystem - Update 1&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This is my&amp;nbsp;first update / bug fix for my module Filesystem. The latest release can be downloaded &lt;/span&gt;&lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;. For more info on the module see &lt;/span&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In version 0.91, the following has been changed :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Fixed&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In new-fileshare, the path parameter now points to the share path rather than the parent path&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Various help file updates&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Added&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;New function : Get-diskspace&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;New function : Remove-fileshare&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Updated&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Add-NTFSpermission and remove-NTFSpermission now have a custom option. Any granular permission can be assigned to the file system this way. e.g. The read permission is actually made up of 3 granular permissions, read, listDirectory and ExecuteFile. These can now be assigned individually with Add-NTFSPermission -path d:\data -object adams -Permission custom -custom ListDirectory. The full list of permissions (from .net class [System.Security.AccessControl.FileSystemRights] ) are : &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;AppendData&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ChangePermissions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CreateDirectories&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;CreateFiles&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Delete&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;DeleteSubdirectoriesAndFiles&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ExecuteFile&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;FullControl&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ListDirectory&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Modify&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Read&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ReadAndExecute&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ReadAttributes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ReadData&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ReadExtendedAttributes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Synchronize&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;TakeOwnership&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Traverse&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Write&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;WriteAttributes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;WriteData&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;WriteExtendedAttributes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Adam&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/6591998895565009504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/10/filesystem-module-update-1.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6591998895565009504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6591998895565009504'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/10/filesystem-module-update-1.html' title='Filesystem Module update 1'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-6087892189081700335</id><published>2011-10-21T11:24:00.000+01:00</published><updated>2011-10-21T11:24:14.947+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><category scheme="http://www.blogger.com/atom/ns#" term="quest cmdlets"/><title type='text'>AADSites Module - Update 2</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;AADSites - Update 2&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This is&amp;nbsp;my second&amp;nbsp;update / bug fix for my module AADSites.&amp;nbsp; The latest release can be downloaded&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;. For more info on the module see &lt;/span&gt;&lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This is, in real terms, quite a big update!&amp;nbsp; Not for those who are using MSAD management pack, for those who use quest tools!&amp;nbsp; This update adds quest support - just open up your quest powershell console and load the AADSites module and it will find the quest snappin.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Thanks goes to Shay for taking the time to give me feedback on this module!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;As always please post any feedback to this page!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In version 0.92, the following has been changed :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Fixed&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Issue in set-AADSitelink where a null value caused an error&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Added&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Quest tools are now supported!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Updated&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;As quest tools are now supported, either MSAD or the quest tools need to be loaded before this module is loaded. If you have both loaded, the MSAD module will be used.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/6087892189081700335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/10/aadsites-module-update-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6087892189081700335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6087892189081700335'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/10/aadsites-module-update-2.html' title='AADSites Module - Update 2'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-6973414633130569454</id><published>2011-09-20T07:10:00.000+01:00</published><updated>2012-10-05T01:30:36.790+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DFSUTIL"/><category scheme="http://www.blogger.com/atom/ns#" term="Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>Updated : V0.992 Filesystem Powershell module</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Update&lt;/strong&gt; : version &lt;a href=&quot;http://adadmin.blogspot.com/2012/10/filesystem-v-0992.html&quot;&gt;0.992&amp;nbsp;&lt;/a&gt;now available including DFS-r&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Hot on the heals of my &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;AD sites module&lt;/a&gt;,&amp;nbsp;I have been looking at some file system functions.&amp;nbsp; This module is driven primarily by my own needs, but after a prompt on the powergui website from someone after a way of managing DFS with powershell (thanks packetboy), this is what&amp;nbsp;I have come up with.&amp;nbsp; All help files are included with examples, but I will publish the help and examples over time.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This module has been&amp;nbsp;built on a Windows 2008 R2 platform and therefore the DFS functions will be based around the 2008 R2 version of DFSUTIL.&amp;nbsp; This is not to say that it is not compatible with anything earlier, it has just not been tested.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Installation and use&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download the zip file and extract to your modules folder. This can be found by running &quot;explorer $pshome\modules&quot; from a PowerShell console. To use, run &quot;import-module Filesystem&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Command list and Help&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;To retrieve the list of commands and get help, as with all PowerShell functions and cmdlets use the built in get-command and get-help.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Get-command -module&amp;nbsp;filesystem&amp;nbsp;will list all the commands from the module&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Get-help get-dfsroot -full will display the full help file&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;Included functions&amp;nbsp; &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;add-DFSlinkABEPermission&lt;br /&gt;add-DFSLinkTarget&lt;br /&gt;add-DFSRootTarget&lt;br /&gt;Add-NTFSPermission&lt;br /&gt;disable-DFSLinkTarget&lt;br /&gt;disable-DFSrootABE&lt;br /&gt;enable-DFSLinkTarget&lt;br /&gt;enable-DFSrootABE&lt;br /&gt;get-DFSLink&lt;br /&gt;get-DFSlinkABEPermission&lt;br /&gt;get-dfsroot&lt;br /&gt;get-DFSRootABEStatus&lt;br /&gt;get-shareConnection&lt;br /&gt;new-DFSLink&lt;br /&gt;new-DFSroot&lt;br /&gt;new-FileShare&lt;br /&gt;remove-DFSLink&lt;br /&gt;remove-DFSlinkABEPermission&lt;br /&gt;remove-DFSLinkTarget&lt;br /&gt;remove-DFSRoottarget&lt;br /&gt;Remove-NTFSPermission&lt;br /&gt;set-ntfsInheritance&lt;br /&gt;set-sharepermission&lt;br /&gt;test-fileshare&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Please let me know any feedback in the comments, and of course, test in&amp;nbsp;a development environment before using in production.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;The module can be downloaded &lt;a href=&quot;http://psfilesystem.codeplex.com/&quot;&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Adam&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/6973414633130569454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6973414633130569454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6973414633130569454'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/filesystem-powershell-module.html' title='Updated : V0.992 Filesystem Powershell module'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-6978744483151648463</id><published>2011-09-20T04:59:00.002+01:00</published><updated>2011-09-20T05:01:20.490+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Site"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Sitelink"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Subnet"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Update 1</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This is the first update / bug fix for my module AADSites.&amp;nbsp; The latest release can be downloaded&amp;nbsp;&lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;. For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;AADSites - Update 1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In version 0.91, the following has been changed :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Fixed&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Issue in confirm-AADSitelink where a null value caused an error&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Added&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Each of get-aadsite, get-aadsitelink, and get-aadsubnet now no longer require an identity to be supplied. If identity is null, then all objects are returned.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Updated&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Help files have been tweaked in most functions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cheers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Adam&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/6978744483151648463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-update-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6978744483151648463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6978744483151648463'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-update-1.html' title='AADSites - Update 1'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-7884255566963430421</id><published>2011-09-12T22:42:00.003+01:00</published><updated>2011-09-12T22:47:16.773+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Site"/><category scheme="http://www.blogger.com/atom/ns#" term="Confirm-AADSite"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Confirm-AADSite Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function enables you to&amp;nbsp;check the options of a site are correct. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirm-AADSite&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirms the values provided match the configured site settings&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirm-AADSite [-Identity]&amp;nbsp; [[-SiteLinks] &lt;string&gt;] [[-description] &lt;string&gt;] [[-location] &lt;string&gt;] [&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;This function allows you to validate the settings of an AD Site. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;You can supply any combination of sitelinks, description or location to check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;and the function will return true or false whether the values match or not.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to confirm.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-SiteLinks &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The sitelinks of the site you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Accepts 1 or more sitelinks, comma separated.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 1.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-description &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The description of the site you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 2.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-location &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The location of the site you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 3.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSite -Identity mainsite1 -Sitelinks &quot;sitelink 1&quot; -location &quot;au/syd/office1&quot; -description &quot;Site description&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - using positional parameters. Also, using multiple sitelinks.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSite Sitename &quot;sitelink 1,sitelink 2&quot; &quot;au/syd/office1&quot; &quot;Site description&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 3 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - only supply one value to check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSite -identity Sitename -location &quot;au/syd/office1&quot;&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/7884255566963430421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-confirm-aadsite-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/7884255566963430421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/7884255566963430421'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-confirm-aadsite-syntax.html' title='AADSites - Confirm-AADSite Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-1369600492174913671</id><published>2011-09-12T22:36:00.001+01:00</published><updated>2011-09-12T22:52:54.095+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Sitelink"/><category scheme="http://www.blogger.com/atom/ns#" term="Confirm-AADSitelink"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Confirm-AADSitelink Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function enables you to&amp;nbsp;confirm the options of a sitelink are correct. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirm-AADSitelink&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirms the values provided match the configured sitelink settings&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirm-AADSitelink [-Identity] [[-Sites] &lt;string&gt;] [[-cost] &lt;int32&gt;] [[-frequency] &lt;int32&gt;] [[-description] &lt;string&gt;] [&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;This function allows you to validate the settings of an AD Sitelink. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;You can supply any combination of sites, cost, frequency or description to check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;and the function will return true or false whether the values match or not.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to confirm.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Sites &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The sites of the sitelink you want to confirm.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Accepts 1 or more sites, comma separated.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 1.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-cost &lt;int32&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The cost of the sitelink you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 2.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-frequency &lt;int32&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The frequency of replication the sitelink (in minutes) you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 3.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-description &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The description of the sitelink you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 4.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSitelink -Identity sitelinkname -Sites &quot;testsite1,testsite2&quot; -cost 50 -frequency 30 -description &quot;Main sitelink&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - using positional parameters.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSitelink sitelinkname &quot;testsite1,testsite2&quot; 50 30 &quot;Main sitelink&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 3 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - only supply two values to check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSitelink -identity sitelinkname -cost 50 -frequency 30&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/1369600492174913671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-confirm-aadsitelink-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1369600492174913671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1369600492174913671'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-confirm-aadsitelink-syntax.html' title='AADSites - Confirm-AADSitelink Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-6616161896028254436</id><published>2011-09-12T22:32:00.001+01:00</published><updated>2011-09-12T22:37:32.655+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Subnet"/><category scheme="http://www.blogger.com/atom/ns#" term="Confirm-AADSubnet"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Confirm-AADSubnet Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function enables you to&amp;nbsp;confirm the options of a subnet are correct. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirm-AADSubnet&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirms the values provided match the configured subnet settings&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Confirm-AADSubnet [-Identity] [[-description] &lt;string&gt;] [[-location] &lt;string&gt;] [[-site] &lt;string&gt;] [&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;This function allows you to validate the settings of an AD Subnet. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;You can supply any combination of site, description or location to check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;and the function will return true or false whether the values match or not.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to confirm.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-description &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The description of the subnet you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 2.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-location &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The location of the subnet you want to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 3.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-site &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The site that the subnet belongs to.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 1.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSubnet -Identity 192.168.30.0/24 -Site &quot;testsite1&quot; -location &quot;au/syd/ho1/lvl1&quot; -description &quot;Head office level 1 subnet&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - using positional parameters.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSubnet 192.168.30.0/24 &quot;testsite1&quot; &quot;au/syd/ho1/lvl1&quot; &quot;Head office level 1 subnet&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 3 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - only supply one value to confirm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;confirm-AADSubnet -Identity 192.168.30.0/24 -location &quot;au/syd/ho1/lvl1&quot;&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/6616161896028254436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-confirm-aadsubnet-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6616161896028254436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/6616161896028254436'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-confirm-aadsubnet-syntax.html' title='AADSites - Confirm-AADSubnet Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-1230683031859048444</id><published>2011-09-12T22:28:00.000+01:00</published><updated>2011-09-12T22:28:26.776+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Site"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Sitelink"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Subnet"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Get-AADServicesObject"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Get-AADServicesObject Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function returns a sites and services object with the specified name and type. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADServicesObject&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns an AD object that matches the name and type supplied&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADServicesObject [-Identity] &lt;string&gt;[-Type] &lt;string&gt;[&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns an AD object, if one exists, that matches the name and type.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns $null if nothing found&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to return.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Type &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The type of the object to check.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Accepts site, subnet or sitelink.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 1.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;get-AADServicesObject -identity Sitename -type Site&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;get-AADServicesObject -identity Sitelinkname -type Sitelink&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 3 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;get-AADServicesObject -identity 10.0.1.0/24 -type subnet&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/1230683031859048444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadservicesobject-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1230683031859048444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/1230683031859048444'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadservicesobject-syntax.html' title='AADSites - Get-AADServicesObject Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-4568022513456568041</id><published>2011-09-12T22:24:00.000+01:00</published><updated>2011-09-12T22:24:37.383+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Site"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Get-AADsite"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Get-AADsite Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function returns all attributes of an AD&amp;nbsp;site. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADsite&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns the AD site object that matches the name supplied&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADsite [-Identity] &lt;string&gt;[&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns the AD site object, if one exists, that matches the name given&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns $null if nothing found&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to return.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;get-AADSite -identity Sitename&lt;/span&gt;&lt;br /&gt;
&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/4568022513456568041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadsite-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/4568022513456568041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/4568022513456568041'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadsite-syntax.html' title='AADSites - Get-AADsite Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-8002843592227717785</id><published>2011-09-12T07:47:00.002+01:00</published><updated>2011-09-12T07:47:34.377+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Sitelink"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Get-AADsitelink"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Get-AADsitelink Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function returns all the attributes of an AD Sitelink. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADsitelink&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns the AD sitelink object that matches the name supplied&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADsitelink [-Identity] &lt;string&gt;[&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns the AD site object, if one exists, that matches the name given&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns $null if nothing found&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to return.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;get-AADSitelink -identity Sitename&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/8002843592227717785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadsitelink-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8002843592227717785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8002843592227717785'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadsitelink-syntax.html' title='AADSites - Get-AADsitelink Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-5739051246995607689</id><published>2011-09-12T07:45:00.000+01:00</published><updated>2011-09-12T07:45:10.134+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Subnet"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Get-AADsubnet"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Get-AADsubnet Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function returns all attributes of an AD subnet. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADsubnet&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns the AD subnet object that matches the name supplied&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Get-AADsubnet [-Identity] &lt;string&gt;[&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns the AD subnet object, if one exists, that matches the name given&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns $null if nothing found&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to return.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;br /&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;get-AADSubnet -identity 10.0.1.0/24&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/5739051246995607689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadsubnet-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/5739051246995607689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/5739051246995607689'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-get-aadsubnet-syntax.html' title='AADSites - Get-AADsubnet Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-4934550535229457704</id><published>2011-09-12T07:41:00.000+01:00</published><updated>2011-09-12T07:42:00.237+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Site"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Subnet"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="Move-AADSubnetToSite"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - Move-AADSubnetToSite Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function moves a subnet to a different site. This can be useful to adjust the&amp;nbsp;site topology slightly, or preparation for removal of a site.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Move-AADSubnetToSite&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Move a subnet to a different site&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Move-AADSubnetToSite [-Identity] [-site] &lt;string&gt;[&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Move a subnet to a different site&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Returns true if successful and false if not.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Identity&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the subnet you want to move.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-site &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the site to move to.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;br /&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;move-AADSubnetToSite -identity 192.168.1.0/24 -site Sitename&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - using positional parameters&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;move-AADSubnetToSite 192.168.1.0/24 Sitename&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/4934550535229457704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-move-aadsubnettosite-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/4934550535229457704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/4934550535229457704'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-move-aadsubnettosite-syntax.html' title='AADSites - Move-AADSubnetToSite Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-5576379446685199844</id><published>2011-09-12T07:37:00.000+01:00</published><updated>2011-09-12T07:37:28.049+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Stie"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="New-AADSite"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - New-AADSite Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function enables you to create a&amp;nbsp;new site.&amp;nbsp; On Create options available to set&amp;nbsp;include the site links that the site is a member of, the location field and the description. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;New-AADSite&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Create a new AD site object&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;New-AADSite [-name] &lt;string&gt;[[-SiteLinks] &lt;string&gt;] [[-Location] &lt;string&gt;] [[-Description] &lt;string&gt;] [&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;This function enables you to create a new AD Site. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;You can supply any combination of sitelinks, description or location to add to the new site&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-name &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to create.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-SiteLinks &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The sitelinks of the site you want to add it to &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 1.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Location &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The location of the site you want to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 3.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Description &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The description of the site you want to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 2.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSite -name mainsite1 -Sitelinks &quot;sitelink 1&quot; -location &quot;au/syd/office1&quot; -description &quot;Site description&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - using positional parameters. Also, using multiple sitelinks.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSite Sitename &quot;sitelink 1,sitelink 2&quot; &quot;au/syd/office1&quot; &quot;Site description&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 3 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - only supply one value to set on creation&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSite -name Sitename -location &quot;au/syd/office1&quot;&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/5576379446685199844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-new-aadsite-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/5576379446685199844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/5576379446685199844'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-new-aadsite-syntax.html' title='AADSites - New-AADSite Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-8061624495261723533</id><published>2011-09-12T07:31:00.000+01:00</published><updated>2011-09-12T07:32:50.700+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="Ad Stie link"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="New-AADSiteLink"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - New-AADSiteLink Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function enables you to&amp;nbsp;create a new sitelink.&amp;nbsp; Options available to set on create&amp;nbsp;include the sites that&amp;nbsp;are members of the site linkt, the description, cost and frequency of replication.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;New-AADSiteLink&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Creates a new AD sitelink object&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;New-AADSiteLink [-name] &lt;string&gt;[-Sites] &lt;string&gt;[[-cost] &lt;int32&gt;] [[-frequency] &lt;int32&gt;] [[-description] &lt;string&gt;] [&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;This function enables you to create a new AD Sitelink. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;You can supply any combination of sites, cost, frequency or description to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-name &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to create.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Sites &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The sites you want to add to the site link.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Accepts 1 or more sites, comma separated.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-cost &lt;int32&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The cost of the sitelink you want to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-frequency &lt;int32&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The frequency of replication the sitelink (in minutes) you want to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 3.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-description &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The description of the sitelink you want to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 4.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSitelink -name sitelinkname -Sites &quot;testsite1,testsite2&quot; -cost 50 -frequency 30 -description &quot;Main sitelink&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - using positional parameters.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSitelink sitelinkname &quot;testsite1,testsite2&quot; 50 30 &quot;Main sitelink&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 3 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - only supply two values to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSitelink -name sitelinkname -cost 50 -frequency 30 &lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/8061624495261723533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-new-aadsitelink-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8061624495261723533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/8061624495261723533'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-new-aadsitelink-syntax.html' title='AADSites - New-AADSiteLink Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1136630541753132644.post-4672926444458119944</id><published>2011-09-12T07:27:00.000+01:00</published><updated>2011-09-12T07:32:25.243+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AADSites"/><category scheme="http://www.blogger.com/atom/ns#" term="AD Subnet"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="Module"/><category scheme="http://www.blogger.com/atom/ns#" term="New-AADSubnet"/><category scheme="http://www.blogger.com/atom/ns#" term="Powershell v2"/><title type='text'>AADSites - New-AADSubnet Syntax</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function is part of my AADSites module, which&amp;nbsp;can be downloaded &lt;a href=&quot;http://aadsites.codeplex.com/&quot;&gt;here&lt;/a&gt;.&amp;nbsp; For more info on the module see &lt;a href=&quot;http://adadmin.blogspot.com/2011/08/ad-sites-subnets-and-sitelinks.html&quot;&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This function enables you to&amp;nbsp;create a new AD subnet.&amp;nbsp; Options you can set on create include the site that the subnet is a member of, the location field and the description. &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;NAME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;New-AADSubnet&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Creates a new AD subnet object&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;SYNTAX&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;New-AADSubnet [-name] &lt;string&gt;[-Site] &lt;string&gt;[[-Description] &lt;string&gt;] [[-Location] &lt;string&gt;] [&lt;commonparameters&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;This function enables you to create a new AD Subnet. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;You can supply any combination of site, description or location to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;PARAMETERS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-name &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The name of the object you want to create.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 0.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Site &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Mandatory - The site that the subnet belongs to.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Description &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The description of the subnet you want to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-Location &lt;string&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Optional - The location of the subnet you want to set&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Position 3.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 1 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSubnet -name 192.168.30.0/24 -Site &quot;testsite1&quot; -location &quot;au/syd/ho1/lvl1&quot; -description &quot;Head office level 1 subnet&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 2 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - using positional parameters.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSubnet 192.168.30.0/24 &quot;testsite1&quot; &quot;au/syd/ho1/lvl1&quot; &quot;Head office level 1 subnet&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;-------------------------- EXAMPLE 3 --------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Simple usage - only supply one value to change&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;new-AADSubnet -name 192.168.30.0/24 -location &quot;au/syd/ho1/lvl1&quot;&lt;/span&gt;&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://adadmin.blogspot.com/feeds/4672926444458119944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-new-aadsubnet-syntax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/4672926444458119944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1136630541753132644/posts/default/4672926444458119944'/><link rel='alternate' type='text/html' href='http://adadmin.blogspot.com/2011/09/aadsites-new-aadsubnet-syntax.html' title='AADSites - New-AADSubnet Syntax'/><author><name>Adam Stone</name><uri>http://www.blogger.com/profile/08353300533175211308</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>