Friday, January 05, 2007

Here's some powershell script/command to find who is logged in on a RemoteMachine.

Get-WmiObject -computerName ComputerName -class Win32_ComputerSystem -Property UserName | findstr UserName

Wednesday, January 03, 2007

Finding dependencies for .net assemblies

Have you had .net assembly version mismatch problems?
How do you find which assembly is referencing an older version of some shared assembly?

Here is a powershell script to list out all the dependencies for all the files in given folder (typically bin/debug or bin/release)
Get script here

what it does is really easy and i must give credit to this guy