NAME: AddUserToGroup.ps1 DESCRIPTION: Adds a user account to a group in the same OU PARAMETERS: -name name of the user -ou ou of the group -dc domain of the user -group group to modify -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: CreateAndEnableUserFromCSV.ps1 DESCRIPTION: Creates an enabled user account by reading csv file PARAMETERS: -csvFile name and path to the csv file containing user info -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: CreateGroup.ps1 DESCRIPTION: Creates a group in Active Directory in the OU and Domain specified PARAMETERS: -name name of the group to create -ou ou to create group in -dc domain to create group in -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: CreateObjectInAD.ps1 DESCRIPTION: Creates an object in Active Directory PARAMETERS: -Class class of object: < organizationalUnit, User, Group, Computer > -Domain domain in which to create the object -name name of the object -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: CreateOU.ps1 DESCRIPTION: Creates an OrganizationalUnit in Active Directory PARAMETERS: -name name of the OrganizationalUnit to create -ou ou to create OrganizationalUnit in -dc domain to create OrganizationalUnit in -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: CreateUser.ps1 DESCRIPTION: Creates a user account in Active Directory PARAMETERS: -name name of the user to create -ou ou to create user in -dc domain to create user in -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: EnableDisableUserSetPassword.ps1 DESCRIPTION: Enables or Disables a user and sets the password. This script supports prototyping by using the -whatif switch. PARAMETERS: -user user to enable or disable ex: cn=myuser -ou ou containing user ex: ou=myou -domain domain containing user ex:dc=nwtraders,dc=com -password password for user -enable enable the suer -disable disable the user -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: GetDomainPwdSettings.ps1 DESCRIPTION: Obtains the password policy settings for domain This script supports prototyping by using the -whatif switch. PARAMETERS: -domain domain to query for password policy -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: GetModifiedDateFromAD.ps1 DESCRIPTION: This script will list the last modified date of a specific user onto a local or remote domain. The script will allow multiple users to be supplied for the -users parameter. All users who have been modified will have their last modified dates displayed if the script is run with the -all parameter. This script supports prototyping by using the -whatif switch. PARAMETERS: -domain the domain to query for user information -users the user or users to query for lastlogon time. Users who have never logged on will not have a time displayed -all displays all users lastlogon time -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: ListUserLastLogon.ps1 DESCRIPTION: This script will list the lastlogon date of a specific user onto a local or remote domain. The script will allow multiple users to be supplied for the -users parameter. All users who have logged on will have their last logon dates displayed if the script is run with the -all parameter. This script supports prototyping by using the -whatif switch. PARAMETERS: -domain the domain to query for user information -user the user or users to query for lastlogon time. Users who have never logged on will not have a time displayed -all displays all users lastlogon time -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: LocateDisabledUsers.ps1 DESCRIPTION: Locates disabled users a local or remote domain. The script can run locally or remotely, and can query multiple domains by accepting more than one value for the -domain parameter. The script also supports using -whatif to prototype the command prior to execution PARAMETERS: -computer computer upon which to run the command -domain the domain or domains to query for locked out users -query executes the query -whatif prototypes the command. -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: LocateLockedOutUsers.ps1 DESCRIPTION: Locates locked out users a local or remote domain. The script can run locally or remotely, and can query multiple domains by accepting more than one value for the -domain parameter. The script also supports using -whatif to prototype the command prior to execution PARAMETERS: -computer computer upon which to run the command -domain the domain or domains to query for locked out users -query executes the query -whatif prototypes the command. -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: LocateOldComputersNotLogon.ps1 DESCRIPTION: Locates computer accounts in a local or remote domain that have not logged on for a specified number of days. The -domain parameter controls the domain to query. By default the local domain is used. The -days parameter controls the number of days since logon. By default the number of day is set to 30.This script supports prototyping by using the -whatif switch. PARAMETERS: -computers The computer or computers account to query -domain The domain to query -days The number of days since logon -all queries for all comptuer accounts in the domain -query Executes the query -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: LocateOldUsersNotLogOn.ps1 DESCRIPTION: Scans a local or remote domain for user accounts that have not logged onto the domain for an extended period of time which is specified in days. The default value of days is 30, but this can be modified by using the -days parameter. The default domain is the current domain, but this can be modified by using the -domain parameter. This script supports prototyping by using the -whatif switch. PARAMETERS: -domain the domain to query. Optional -days the number of days since logon. Optional -all returns all users who have not logged on within the time specified by -days -users queries for last logon information for specific user accounts -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: ModifyUser.ps1 DESCRIPTION: Modifies user attributes in Active Directory PARAMETERS: -name name of the user to modify -ou ou of the user -dc domain of the user -property attribute to modify -value value of the attribute -whatif Prototypes the command -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: QueryAD.ps1 DESCRIPTION: Queries Active Directory PARAMETERS: -ou the organizational unit to query -domain the domain to query -query the query to use. Queries for objects such as: < User, Group, Computer, OrganizationalUnit, printqueue, grouppolicycontainer, ipsecpolicy, pkicertificatetemplate, sitelink, subnet, site > -help prints help description and parameters file -examples prints only help examples of syntax -full prints complete help information -min prints minimal help. Modifies -help NAME: UnlockLockedOutUsers.ps1 DESCRIPTION: Unlocks user accounts that are locked...
kmichalo1