check disk space
hi,
i have check disk space on remote servers..and alert (send email) if free space goes below threshold value..any ideas please how implement using power shell...any appreciated.
thanks
#send file email alerts
if(test-path "$env:userprofile\server disks $datetime.txt") { send-mailmessage -attachments "$env:userprofile\server disks $datetime.txt" }
for more read:
get-help send-mailmessage -full
Windows Server > Windows PowerShell
Comments
Post a Comment