Windows Power shell is a command line scripting language which makes the life of a an administrator who has to deal in a Windows environment real easy.
So what can Powershell really do? Well:
- Manage Active Directory and its objects.
- Hardware and process monitoring.
- Server and client machine application deployments.
- File system interaction.
- Network interaction.
Pretty impressive! So download it and learn how to use it with this ebook, also you may want to use the demo files associated with the ebook, which are here.


Posted in
Tags: 



im gonna try this out right now thanks Psy!
Yeah it looks pretty handy, maybe you could learn enough to create some quick and dirty scripts to post on AtA?:)
sure can what do you guys want to see it do? microsoft has been releasing some great tools recently.
How about a script that kills timed out remote desktop sessions? Probably have to use WMI for that I would imagine.
awesome, looks intresting
I didnt get a shot to foks with it yet but i did come across terminal services commands that can be run via batch file or command line. One of them is kill connections here you go:
ACINIUPD
Application Compatibility INI Update (see notes on ACINIUPD by Christoph Geiser)
CHANGE
CHGLOGON or CHANGE LOGON
Enable or disable session logins
CHGPORT or CHANGE PORT
List or change COM port mappings for DOS application compatibility
CHGUSR or CHANGE USER
Change Install Mode
LOGOFF
Terminates a session
MSG
Sends a message to the specified user(s)
QUERY
QAPPSRV or QUERY TERMSERVER
Displays the available application terminal servers on the network
QFARM or QUERY FARM
Display information about servers on the local farm
QPROCESS or QUERY PROCESS
Displays information about processes
QSERVER or QUERY SERVER
Display information about available ICA-enabled servers on the network
QUSER or QUERY USER
Display information about users logged on to the system
QWINSTA or QUERY SESSION
Display information about Terminal Sessions
RESET SESSION
Reset the session subsytem hardware and software to known initial values
SHADOW
Monitor another Terminal Services session
TSCON
Attaches a user session to a terminal session
TSDISCON
Disconnects a terminal session
TSKILL
Ends a process
TSPROF
Copies or updates the terminal server user configuration information
TSSHUTDN
Shut down a server in a controlled manner
TSCMD
Read or set several Terminal Server related user properties.
A very useful free third party command line tool by SystemTools™ Software Inc.
Download it at SystemTools.com.
The info was found here.