Posts

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.ex

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 http://www.powershellcommunity.org/Forums/tabid/54/aft/4909/Default.aspx http://techibee.com/powershell/powershell-converting-string-to-datetime-format/952

Active Directory New user creation Tool

Active Directory New user creation Tool: Features: 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 Links: http://blog.richprescott.com/2011/10/arposh-new-user-creation-anuc.html http://gallery.technet.microsoft.com/scriptcenter/New-User-Creation-tool-14fa73cd

Client System Administration tool

Client System Administration Tool: Features: 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 Menu Connect to domain... - Connect to a different domain Find User in AD - Enter user's name, search for it in AD and output to Gr

SCCM - Various

1. http://www.windows-noob.com/forums/index.php?/topic/1064-sccm-2007-guides/ 2. How to install AD and DHCP before installing SCCM : http://www.windows-noob.com/forums/index.php?/topic/446-how-can-i-setup-wds-in-windows-server-2008 / 3 . Installing A SUP on remote server http://www.windows-noob.com/forums/index.php?/topic/812-install-a-sup-on-remote-server/ 4. Configuring software Update Within SCCM http://www.windows-noob.com/forums/index.php?/topic/624-configuring-software-update-point-within-sccm/

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

1. http://www.addictivetips.com/windows-tips/how-to-create-additional-domain-controller-adc-in-windows-server-2008 /

How to Seize the FSMO Roles.

1. http://www.petri.co.il/seizing_fsmo_roles.htm

Active Directory: FSMO Roles in Windows Server 2008 R2

Active Directory: FSMO Roles in Windows Server 2008 R2 I've been getting a lot of questions and debate about FSMO roles in an Active Directory domain environment. Where should you place what role? What does a specific role do? Should I seize it if it's not available? I'll start by summing up the available roles and their task. The function of each role is defined for Windows Server 2008 R2. Schema Master There can only be one Schema Master defined per forest. The Schema Master contains the only writable copy of the schema and additions to it can only be done by a member of the Schema Admins and the Enterprise Admins security group. When this role is unavailable additions or changes to the schema cannot be made. Domain Naming Master The Domain Naming Master is responsible for the addition or removal of domains in the forest. The Domain Naming Master is a forest-wide role, which means only one can be defined per forest. When this role is unavailable no domains can be ad

Search AD and Add Employee ID–PowerShell Script

1. http://portal.sivarajan.com/2011/07/add-employee-idpowershell-script.html

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 soon Microsoft 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 it Virtually 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 Pow

Searching Active Directory with Windows PowerShell

1. http://technet.microsoft.com/en-us/library/ff730967.aspx 2. http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/

How to: Refer to Cells and ranges

http://msdn.microsoft.com/en-us/library/bb211395(v=office.12).aspx

Power Shell Script Repository

1. http://gallery.technet.microsoft.com/scriptcenter 2. http://www.myitforum.com/myITWiki/WPScripts.ashx 3. http://portal.sivarajan.com/search?q=script+powershell&max-results=20

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: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ SYSTEM\CurrentControlSet\Services\DHCP\Parameters\ To run the manual command successfully, you must specify

Configuring RAID Arrays on HP Servers

Image
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 Creating a logical drive with ORCA 1. Power up the server. POST runs. Duri