If you want to reset all Terminal Server (RDP) Sessions from command line, you can use this PowerShell script. $ServerName = "l...
Read More
Home / Scripting
Showing posts with label Scripting. Show all posts
Showing posts with label Scripting. Show all posts
CreateObject("InternetExplorer.Application") and Scheduled Tasks
If you use something like this: Set objIE = CreateObject("InternetExplorer.Application") to simulate browsing from a Scheduled Tas...
Read More
CPU usage per database
This script shows all CPU usage of all sessions per database at a certain moment. DECLARE @total INT SELECT @total=sum(cpu) FROM sys.sysproc...
Read More
MySQL - Drop tables with common prefix
I needed to delete multiple tables with name like 'TMP_%' the following procedure do this job in an effective way ! DELIMITER $$ D...
Read More
Windows DEV NULL
In Unix-like operating systems , /dev/null or the null device is a special file that discards all data written to it (but reports that the...
Read More
Network Sniffer with PowerShell
I just found this incredible script that allow to get network packet like a sniffer using only PowerShell (no PCAP...) Read more here: http:...
Read More
VMware HBA High Availability
We were testing High Availability of VMware ESX 3.5 and we noticed it doesn't manage the failure of all HBA. Let's suppose each hos...
Read More

Search for file Owner
Claudio provided me this quick tips for searching all files owned by a specific user dir /q /s find /i "domain\username"
Read More
Subscribe to:
Posts
(
Atom
)