SHARE
TWEET

Untitled

SQLSoldier May 13th, 2014 173 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. get-counter -counter "\Memory\Available Mbytes" -continuous | %{if($($_.CounterSamples).CookedValue -lt 5000) {send-mailmessage -to fakeemail.com -from robert.davis@fakeemail.com SmtpServer "smtp.fakedomain.com" -Body "Alert" -BodyAsHTML}}
RAW Paste Data
Top