Daily Disk Space Checker to Excel


posted by liquidstone
06-23-2010

Downloads: 554
File size: 88 B
Views: 2,153

Embed
Daily Disk Space Checker to Excel
  1. read-host -assecurestring | convertfrom-securestring | out-file C:\powershell\pw\pw1.txt 

I use this script to daily check the diskspace on or hosts.

It writes out to excel and wil sent de results in a e-mail.

You need a .txt file with the ip adresses, and you need to create a securestring with your credentials.

Comments

Richard Giles wrote re: Daily Disk Space Checker to Excel
on 06-23-2010 10:23 AM

When adding scripts to the Library, you should always upload a file. Do not put the content of the script in the body of the description, otherwise an error will be generated if you try and download it.

Bruce wrote re: Daily Disk Space Checker to Excel
on 06-24-2010 9:03 AM

I don't find the script. I only find the secure password functions on the one and only line.

Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.