Jump to content
kuuser

Disk cleanup script (with treesize before and after), results emailed and added to Connectwise ticket

Recommended Posts

On 12/7/2018 at 9:09 PM, jspreen said:

I would love to see the final script too is anyone has it.

Hi,

I've posted the XML somewhere in this thread. You can import that.
If the parameters give you any trouble. Just replace @paramater@ with a simple fixed value.

That should do it.

Share this post


Link to post
Share on other sites

Is it the script linked to earlier that everyone is using here? Feel like we must be re-inventing wheel coming up with something new and came across this.

 

Share this post


Link to post
Share on other sites
Posted (edited)

Hi,

here's the script that I use.
It uses powershell to built an dynamic HTML of the path with the parameters specified.
I use sparkpost to email it.

Make sure you add/change the sparkpost & email in the bottom of the powershell script on step 17.
Otherwise it will not email.

Dynamic HTML doesn't work in outlook though so make sure you open it in a browser

image.thumb.png.171cbfc6e6183226c1a1fbd5c95ac668.png

Treesize (Email).xml

Edited by Wupsje

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...