Find all the DC-Locator SRV entries from all ad-sites within a domain

Find all the DC-Locator SRV entries from all ad-sites within a domain It is always necessary to control the DC Locator SRV entries of the sites within a domain with several sites. With one or two sites that is not a big issue. But when it comes to 5-10 sites or more, it  looks quite …

Set expirationdate with powershell from csv bulk import

Set expirationdate with powershell from csv bulk import In many companies you can find useraccounts which are not used anymore in the company but which are still active. A good option is to provide the account with an expiration date. For this I developed a small script. First of all here is a command to …