Sign in
Active Directory Powershell Blog
Pipelining AD – one object at a time
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
AccessControl
ACL
ActiveDirectoryExtension
ADAC
ADProvider
ADWebservice
ADWS
Certificate
CrossForest
Error
Exception
Filter
GroupMembership
Installation
Introduction
Password
Performance
RSAT
Schema
Script
ScriptSnippet
Sites
Tree
Undelete
WKGUID
Archive
Archives
April 2010
(1)
February 2010
(1)
January 2010
(1)
November 2009
(2)
October 2009
(3)
September 2009
(3)
August 2009
(3)
June 2009
(2)
May 2009
(3)
April 2009
(4)
March 2009
(6)
February 2009
(2)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Active Directory Powershell Blog
Active Directory Module for Windows PowerShell – Quick start guide
Posted
over 4 years ago
by
swaminathan1
11
Comments
ADPowershell is available starting Windows Server 2008 R2 . To play with AD Powershell cmdlets, you must have at least one Windows Server 2008 R2 domain controller (DC) in your domain. Installing AD Powershell module: On a Windows Server 2008 R2...
Active Directory Powershell Blog
Active Directory Web Services Overview
Posted
over 4 years ago
by
M. Ali
10
Comments
Active Directory Web Services (ADWS) is a new windows service introduced in Windows 2008 R2 that enables remote management of any local directory service instance using WS-* protocols. ADWS supports the following web service protocols: WS-Transfer...
Active Directory Powershell Blog
Active Directory Powershell – Advanced Filter (Part – II)
Posted
over 4 years ago
by
M. Ali
8
Comments
In my previous post I discussed about the various features available in -Filter parameter aka “advanced filter”. This post extends the previous one and discusses about the various operators supported in Advanced Filter and also give examples using each...
Active Directory Powershell Blog
Active Directory Administrative Center for Windows Server 2008 R2 implemented using ADPowershell!
Posted
over 4 years ago
by
M. Ali
8
Comments
Windows Server 2008 R2 doesn’t just add ADPowershell – it also adds Active Directory Administrative Center (or ADAC), a new GUI tool for AD administrators. Read about it here . What’s more, while you can’t tell just from looking at it, ADAC is implemented...
Active Directory Powershell Blog
Add Object Specific ACEs using Active Directory Powershell
Posted
over 4 years ago
by
M. Ali
7
Comments
Active Directory Powershell implements two Powershell Provider cmdlets specifically for access control management in Active Directory: Get-ACL and Set-ACL. This blog series is to give a few examples on how to use them. Note that it is not intended for...
Active Directory Powershell Blog
Find out when your Password Expires
Posted
over 3 years ago
by
M. Ali
7
Comments
Few weeks ago I came across this question “How to find out an account’s password expiration date” in one of our internal mailing-list. This looks like a simple question, but when we tried to find the answer we realized it is not a trivial...
Active Directory Powershell Blog
Active Directory Powershell – Advanced Filter
Posted
over 4 years ago
by
M. Ali
6
Comments
Do you find it difficult reading/writing LDAP filters? Do you wish you could write LDAP filter in a more natural way? Have you ever wished that Ldap filter parser message should point you to the exact error character in your filter string instead of displaying...
Active Directory Powershell Blog
ACTIVE DIRECTORY POWERSHELL TO MANAGE SITES – Part 1 (New-XADSite)
Posted
over 4 years ago
by
M. Ali
6
Comments
In this opportunity I am going to provide a solution to manage sites in your Active Directory (AD) forest by extending Active Directory PowerShell by implementing functions that allow creation, retrieval, update (moving to a site link, renaming) and deletion...
Active Directory Powershell Blog
Adding/removing members from another forest or domain to groups in Active Directory
Posted
over 3 years ago
by
M. Ali
5
Comments
Adding/removing members belonging to the same domain from a group is very simple using AD Powershell cmdlets. All you have to do is pass an identifier (either samAccountName, distinguishedName, securityIdentifier or GUID) of the member and group to one...
Active Directory Powershell Blog
Active Directory Powershell to manage Sites and Subnets – Part 2 (New-XADSubnet)
Posted
over 4 years ago
by
M. Ali
5
Comments
In an earlier post “Active Directory Powershell to manage sites – Part 1 (New-XADSite)” Jairo explained in detail about how to create a Site in Active Directory using AD Powershell. In today’s post I am going to discuss about how to create Subnets using...
Active Directory Powershell Blog
Active Directory Powershell to manage Sites and Subnets – Part 3 (Getting Site and Subnets)
Posted
over 4 years ago
by
M. Ali
4
Comments
Hello folks! Here are few Active Directory Powershell script snippets that you will find useful while writing scripts. They deal with fetching sites, subnets and servers. Most of the snippets are simple and self-explanatory and can be simply copy-pasted...
Active Directory Powershell Blog
Disable loading the default drive ‘AD:’ during import-module
Posted
over 3 years ago
by
M. Ali
4
Comments
All of you who have used the Active Directory (AD) powershell module would have noticed that every time you import the AD module, a default drive ‘AD:’ is also loaded. So when you type the following command: Import-module ActiveDirectory...
Active Directory Powershell Blog
Inspecting Deleted Objects before Restore
Posted
over 4 years ago
by
M. Ali
4
Comments
Accidental deletions can happen in Active Directory in many ways. An administrator can end up deleting a single user object unintentionally or fat finger an entire tree of OUs. A rogue script could end up deleting multiple objects at multiple locations...
Active Directory Powershell Blog
Use Active Directory Powershell to manage Windows 2003/2008 DCs
Posted
over 4 years ago
by
M. Ali
4
Comments
Many of the readers have expressed interest in having the ability to manage their down level (running Win 2003/2008) DCs using ADPowershell. The only missing piece was the availability of the Active Directory Web Service (ADWS overview here ). Well, ADWS...
Active Directory Powershell Blog
Welcome!!
Posted
over 4 years ago
by
swaminathan1
4
Comments
Welcome to Active Directory Powershell Blog! This blog is written by a group of developers, testers, program managers and technical writers from the Active Directory Powershell team. We are here to answer any questions about AD Powershell, share some...
Active Directory Powershell Blog
Active Directory Powershell: Installation using RSAT on Windows 7
Posted
over 4 years ago
by
M. Ali
3
Comments
Some of the blog readers have mentioned that it would be great to have AD Powershell cmdlets available on the Windows 7 client sku. The Microsoft Remote Server Administration Tools (RSAT) package addresses this exact issue. Here is the download location...
Active Directory Powershell Blog
Active Directory Powershell Overview
Posted
over 4 years ago
by
swaminathan1
3
Comments
Although it is pretty easy to get the list of AD cmdlets using Powershell, many of you might be looking for a high level view of cmdlets classified by AD administrative scenarios and tasks. So here it goes… The current set of AD Powershell cmdlets...
Active Directory Powershell Blog
Active Directory Powershell: The Drive is the connection
Posted
over 4 years ago
by
swaminathan1
3
Comments
People familiar with LDAP, ADSI or third party Active Directory Powershell cmdlets might be wondering where are the cmdlets for making and closing a connection? The answer is: connection lifecycle is automatically managed by AD cmdlets. If you want...
Active Directory Powershell Blog
Redirecting Well Known Containers (CN=Users; CN=Computers etc.)
Posted
over 4 years ago
by
M. Ali
3
Comments
In this post we will see the Powershell way of redirecting Users and Computers containers (i.e. Powershell equivalent of tools: redirusr.exe and redircmp.exe ). By now you might know that you can use Get-ADDomain cmdlet for viewing the well-known containers...
Active Directory Powershell Blog
Accessing Replication Metadata using ADPowerShell
Posted
over 4 years ago
by
M. Ali
2
Comments
Metadata associated with Active Directory Replication is exposed in AD via many constructed attributes. Some of these metadata attributes come in pairs of binary blob & xml representation of the metadata element. Constructed Replication...
Active Directory Powershell Blog
Extending Active Directory Powershell
Posted
over 4 years ago
by
swaminathan1
2
Comments
Today, I am going to show how we can leverage the power of Powershell V2 and Active Directory Module, and easily write powerful, professional cmdlets (with help message, positional parameters, default prompting, error handling etc.) for AD. Couple...
Active Directory Powershell Blog
Error Reporting in Active Directory Powershell
Posted
over 4 years ago
by
M. Ali
2
Comments
In this blog, I will discuss the Active Directory (AD) PowerShell error reporting. Good error reporting is critical and it saves time to resolve an issue. Let's start with the basics. In case of error, AD PowerShell cmdlet prints the error details...
Active Directory Powershell Blog
HOW TO CREATE A FUNCTION TO VALIDATE THE EXISTENCE OF AN AD OBJECT (Test-XADObject)
Posted
over 4 years ago
by
M. Ali
2
Comments
In this posting I am sharing a simple but useful function that you might need to use in many of your scripts. This is a function that returns true if a given AD object exists provided its identity. The Identity parameter can receive any ADObject identity...
Active Directory Powershell Blog
Working with Certificates in Active Directory Powershell
Posted
over 4 years ago
by
M. Ali
1
Comments
AD Powershell uses .NET class X509Certificate to represent a certificate. Let's see how you can manage the certificates for a user. Update User Certificates You can create a X509Certificate (or X509Certificate2 ) object using the certificate file...
Active Directory Powershell Blog
Token Bloat Troubleshooting by Analyzing Group Nesting in AD
Posted
over 4 years ago
by
M. Ali
1
Comments
This tool started when I was finding ways to analyze the complexity of group memberships in AD. Other than the usual average/median/min/max of number of members, number of memberships etc, I was also interested in finding out the maximum nesting levels...
Page 1 of 2 (31 items)
1
2