Posts

Showing posts from December, 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
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 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