|
|
|
|
ADSI Scripts
|
|
|
| |
|
Script: Create IIS Website and DNS record
Posted by Daren
on Friday, December 24, 2004 (PST)
|
|
Script: Dan Casier sent me this script that will create a website and appropriate DNS record. The script is intended for Windows 2000 Server with local DNS and necessary DNS mof installed.
(Read More... )
|
|
Unlock a user account
Posted by Daren
on Sunday, June 13, 2004 (PST)
|
|
Example of how to unlock a computer account using ADSI. Accounts can be local or domain accounts. Checks the IsAccountLocked property of the IADsUser object (true = Locked).
(Read More... )
|
|
Script: Move Active Directory Objects
Posted by Daren
on Wednesday, May 12, 2004 (PST)
|
|
Script moves a user and a computer object from one OU to another. Using LDAP path it binds to destination OU and Executes the MoveHere method of ADSI Container object.
(Read More... )
|
|
List user accounts on a computer or domain
Posted by Daren
on Friday, January 16, 2004 (PST)
|
|
Example prints out the account name and full name of each account on a computer or domain.
(Read More... )
|
|
Get the last login time of a user
Posted by Daren
on Friday, January 16, 2004 (PST)
|
|
Read the LastLogin property of a user account.
(Read More... )
|
|
Set the full name property of a user
Posted by superman
on Friday, January 16, 2004 (PST)
|
|
Simple example of how to set a property of a user account.
(Read More... )
|
|
Get the full name of a user
Posted by superman
on Friday, January 16, 2004 (PST)
|
|
Simple function to demonstrate how to retrieve a property from a user account.
(Read More... )
|
|
List ADSI Providers Installed
Posted by superman
on Friday, January 16, 2004 (PST)
|
|
Provides a list of providers available.
(Read More... )
|
|
List Shares on a Server
Posted by superman
on Friday, January 16, 2004 (PST)
|
|
List shares of a server in a domain.
(Read More... )
|
|
List all objects in a domain
Posted by superman
on Friday, January 16, 2004 (PST)
|
|
listem all
(Read More... )
|
|
|
|
|
|
|
|
New Articles
List installed COM objects and associated ProgIDs
Script: Lists all COM Objects and their associated ProgIDs (If available). Win32_ClassicCOMClassSetting
Script: File Rotator
Script: Rotate files where the most current file has the lowest number in the archive. When files exceed the retention period, they are deleted. Typically used for log files, backups, etc..
Script: Create IIS Website and DNS record
Script: Dan Casier sent me this script that will create a website and appropriate DNS record. The script is intended for Windows 2000 Server with local DNS and necessary DNS mof installed.
|
|
|