w2k3 / w2k8

w2k3

$today = Get-Date -f yyMMdd $user = whoami|%{$_.split(‘\’)[1]} select-string “C:\Domains\*\logs\*\ex$today.log” -pattern “POST” -casesensitive|select-string -pattern “php” | out-file -width 10000 “C:\Documents and Settings\$user\Desktop\web.txt”

 

w2k8

$today = Get-Date -f yyMMdd
$user = whoami|%{$_.split(‘\’)[1]}
select-string “C:\Domains\*\*\logs\*\u_ex$today.log” -pattern “POST” -casesensitive |select-string -pattern “php” | out-file -width 10000 C:\Users\$user\Desktop\web.txt

admin

April 2, 2014

root@cxa [~]# exim -bt bluerainy.dawn@gmail.com

router = send_via_spamexperts, transport = spamexperts_smtp
host spamfilter.mxng.com [110.x.x.198]  port=587
host spamfilter.mxng.com [110.x.x.200]  port=587
host spamfilter.mxng.com [110.x.x.199]  port=587
host spamfilter.mxng.com [110.x.x.201]  port=587

Notepad ++ + plugin

F5 for notepad.

How to insert time and date

 

  1. Go to Plugins / Plugin Manager / Show Plugin Manager
  2. Find TextFX Characters and install it
  3. After restart go to TextFX / TextFX Insert and select date and time or current directoty
  • Opening the Settings menu, then ShortCut Mapper…
  • Clicking on the “Plugin commands” tab
  • Locate item “I:Date & Time – short format” (item #188 on my version – or use long format if you prefer)
  • Click on the item to highlight it then click the Modify button on the bottom of the screen
  • Add your short cut – I used ‘

source: http://superuser.com/questions/299796/how-to-insert-time-and-date-and-the-directory-path-in-notepad

c:\SmarterMail\Spool\spam>DEL /F /S /Q /A “c:\SmarterMail\Spool\spam\hold2\82.xx.xx.xx*”

source frm:

http://www.sevenforums.com/tutorials/55728-file-delete-command-prompt.html