Category Archives: Powershell

Comparing two folders.

I recently was backing up my data and the backup device had lots of space so i turned up copying folders from multiple directories to the disc. But now was at loss when it came to deleting data from my … Continue reading

Posted in Powershell | Leave a comment

How to open Event log of remote computer using powershell

$Log = Get-Eventlog -name application -computername remotecomputer If the following error is thrown. Get-EventLog : The network path was not found. Check if the remote registry service is started on the remote computer

Posted in Powershell | Leave a comment

Creating a library of scripts

I found this nice thread for invoking powershell scripts from another. http://blogs.msdn.com/b/powershell/archive/2007/06/19/get-scriptdirectory.aspx Since there is a script I keep calling for pulling the current data. This came in useful. What I am doing is passing my other scripts a list … Continue reading

Posted in Powershell | Leave a comment