Showing posts from 2011

Remotely execute cmd.exe commands on multiple computers

If it works in cmd.exe , you can remotely execute on multiple Computers . This script invokes whatever command you can use in cmd.exe on one or more computers
you input the command you'd like to run as a screen input when you run the script, you can use all cmd.exe command like [del,ipconfig /flushdns,ipconfig /registerdns,gpupdate /force ,notepad.exe,defrag c:, wuauclt /detectnow , powercfg, net start ,net stop,copy,arp,wscript.exe ....]
#==============================================================================================# Script Name : Run Remote cmd.exe Commands# COMMENT: # this script invokes whatever command you can use in cmd.exe on one or more computers#you input the command name as a screen input when you run the script#you can use all cmd.exe command like [del,ipconfig /flushdns,ipconfig /registerdns,gpupdate /force ,notepad.exe,defrag c:, ...#..wuauclt /detectnow,powercfg,net start ,net stop,copy,arp,wscript.exe ....]#if you can do …

Comparing Creation Time with System Time

If you are trying to compare two dates without time.
here is what you can try
Change the current date in

Active Directory New user creation Tool

Active Directory New user creation Tool:
Allows user creation with oft-used Active Directory attributes Bulk creation of users from CSV Auto-generation of account attributes based on other attributes Display Name samAccountName userPrincipalName
Default entries Domain OU Phone Number (can use full number or company prefix '212-555-') Department Company Description Password (Accounts are set to change at first logon) Site (HQ, Branch Office 1, etc) Street Address City State Postal Code Pre-populated fields for easy selection Address information Domains OUs Descriptions Departments

Client System Administration tool

Client System Administration Tool:
Connects to currently logged-in domain on startup Search for PC - Search Active Directory for computers matching the string in the textbox System Info - Gathers info about PC, user session, make/model, hardware, OS, networking and McAfee Local Admins - Enumerates local administrators and allows you to remove them Applications - Enumerates installed software and allows you to uninstall Startup Items - Enumerates startup items and allows you to remove them Processes - Enumerates running processes and allows you to kill them Remote Desktop - Remote desktop into computer Remote Assistance - Initiate remote assistance session with remote computer View C Drive - Opens explorer to the C drive of remote computer Restart Computer - Restarts remote computer (Includes confirmation) File MenuConnect to domain... - Connect to a different domain Find User in AD - Enter user's name, search for it in AD and output to Grid View Find Us…

SCCM - Various

How To Create Additional Domain Controller (ADC) In Windows Server 2008

How to Seize the FSMO Roles.

Active Directory: FSMO Roles in Windows Server 2008 R2

Search AD and Add Employee ID–PowerShell Script

10 reasons why you should learn to use PowerShell

PowerShell is a powerful scripting tool that can greatly expedite your admin tasks. If you haven’t had a chance to learn how to use it, you might want to make time for it now. Here are some reasons why the effort will pay off.
1: It’s not going away any time soonMicrosoft has made it clear that Power Shell is here to stay. In fact, PowerShell version 2 is not only included in Windows Server 2008 R2 and in Windows 7, it is enabled by default. Part of the reason why Microsoft has done this is that going forward, many add-on products will be based on PowerShell.2: Most Microsoft products will eventually use itVirtually all of the server products Microsoft is producing right now can be managed through PowerShell. From an administrative standpoint, this means that if you become proficient in PowerShell, you will have the skill set necessary for managing most of Microsoft’s newer products. The basic built-in PowerShell commands are used in every product that supports PowerShell. …

Searching Active Directory with Windows PowerShell

How to: Refer to Cells and ranges

Power Shell Script Repository

How to reset Internet Protocol (TCP/IP)

Use a manual method to reset TCP/IP:The reset command is available in the IP context of the NetShell utility. Follow these steps to use the reset command to reset TCP/IP manually: To open a command prompt, click Start and then click Run. Copy and paste (or type) the following command in the Open box and then press ENTER: cmd At the command prompt, copy and paste (or type) the following command and then press ENTER: netsh int ip reset c:\resetlog.txt Note If you do not want to specify a directory path for the log file, use the following command: netsh int ip reset resetlog.txt Reboot the computer.When you run the reset command, it rewrites two registry keys that are used by TCP/IP. This has the same result as removing and reinstalling the protocol. The reset command rewrites the following two registry keys:

To run the manual command successfully, you must specify a file name f…

Configuring RAID Arrays on HP Servers

Method 1:Using the ORCA menu-driven interface

1. Power up the server.
POST runs.
If the BIOS interface is in Command Line mode, change it to Auto mode:
a. Press the F9 key to open RBSU when prompted during POST.
b. Set the BIOS interface mode to Auto. Enter the following text:
"set config bios interface mode 1"
RBSU saves the configuration automatically.
c. Exit RBSU. Enter exit.

The server reboots, and then POST runs again.
During POST, all controllers in the server are initialized one at a time in the current boot order
sequence. If a controller is connected to one or more hard drives, a message appears during the
initialization process for that controller, prompting you to start ORCA.
2. At the ORCA prompt for the controller that you want to configure, press the F8 key.
The ORCA main menu appears, enabling you to do the following:
o Create, view, or delete a logical drive
o Enter an SAAP license key