Below are snippets for dannyboy.
4
Send a Mail using Lotus Notes
3
Get all members of an Exchange Distribution List, even if the distribution list itself contains other distribution lists
3
Shutsdown, PowerOff, LogOff, Restarts a machine.
3
function to remove a computer from a domai
4
start remote admin connection from command line
2
Access a print server, get information about all printers on the server,
and build an Excel spreadsheet with the information. You must have power
user or Administrator rights to the print server, and need to have
Microsoft Excel installed on the PC you are running this from.
and build an Excel spreadsheet with the information. You must have power
user or Administrator rights to the print server, and need to have
Microsoft Excel installed on the PC you are running this from.
3
This subroutine will rename the log file once it gets to be
larger than 10k. It renames it to ArchiveLog_(Date).txt, so
it is easy to track down a certain day.
larger than 10k. It renames it to ArchiveLog_(Date).txt, so
it is easy to track down a certain day.
-4
Usage: cscript //nologo RandPass.vbs [password_length]|[?] [complexity] [uniqueness]
This script will generate a random password of X length. It will build the password from seed 'strings of increasing complexity.
1 - simple is the lower case alphabet, numbers 2-9 and !@#$%^&*() all randomly interspersed.
2 - complex is the same as the previous with the addition of UPPER case letters.
3 - insane is the same as the previous with the additional symbols of ,./?>;'[]}{\|~`:
The numbers 0 and 1 have been removed to avoid confusion with the letters O and L.
password_length should be a number between 4 and 127, although a limit of 14 is recommended for Win9x clients. Default is 7
complexity must be 1,2 or 3
uniqueness value of 0 will make each password character unique. A value of 1 [default] will allow repeated characters.
If you don't pass values at the command prompt, you will be prompted for each value.
This script will generate a random password of X length. It will build the password from seed 'strings of increasing complexity.
1 - simple is the lower case alphabet, numbers 2-9 and !@#$%^&*() all randomly interspersed.
2 - complex is the same as the previous with the addition of UPPER case letters.
3 - insane is the same as the previous with the additional symbols of ,./?>;'[]}{\|~`:
The numbers 0 and 1 have been removed to avoid confusion with the letters O and L.
password_length should be a number between 4 and 127, although a limit of 14 is recommended for Win9x clients. Default is 7
complexity must be 1,2 or 3
uniqueness value of 0 will make each password character unique. A value of 1 [default] will allow repeated characters.
If you don't pass values at the command prompt, you will be prompted for each value.
-5
Create a random password:
usage: CreatePasswd( 8,True,False)
usage: CreatePasswd( 8,True,False)
2
Get the computer domain with wmi









