ADS

Using Windows PowerShell to list domain controllers in each of the domains within an ADS forest

Using Windows PowerShell to list domain controllers in each of the domains with an ADS forest

If ever you need to get the list all of the domain controllers within a forest you can use powershell to do it for you and write it to a file.

Note, of course your computer must Windows Powershell installed for this to work!

Here is how:

Create a new file with the following code on your computers file system. I am calling mine getDC.ps1 and i am saving it under c:\scripts

Import a list of Windows computer names into a text file

Import Network Windows Hosts into a text file

2r4cksg78d

If you wish to import all of the computers in a domain or workgroup displayed under the Windows Network into a text file there isn't always an obvious way of doing it. However with a simple cmd prompt command you can get a listing of the machines registered in the domain.

In my example I am going to output the computer names into a file called hostnames.txt

Obtain the listing

Open a command prompt

Start->Run->cmd

Type

net view > hostnames.txt

Configure Windows ADS Authentication for HP iLO 2 card

Introduction

The HP iLO boards that come with HP servers are a useful alternative to KVM. They allow for remote console and trouble shooting - all you have to do is point a browser at the iLO board's IP address, supply login credentials and you are connected. Each iLO can either have it's own local username and password as credentials to gain access or it can use an ldap database such as Windows active directory to authenticate. This article describes how to set up your iLO to use Windows active directory.

Intended Audience

Enable SSL for LDAP on your Windows 2003 Active Directory Service

Introduction

Windows 2003 ADS is as you probably already know is based upon LDAP. Often you will need to query this ldap directory for authentication and other purposes. By default these queries are carried out unencrypted and can be snooped by eavesdroppers. To remedy this you can enable ldap over SSL to allow LDAP queries to be done over encrypted channel.

This guide tells you how to do this. For the purposes of the guide we only have one domain controller called "mypdc" which runs the ADS called "mytest.domain.com". Of course this will change according to your own setup.

Syndicate content
Powered by Drupal, an open source content management system