Find Jobs
Hire Freelancers

Powershell Script to check disk space and send email and delete

$10-30 AUD

Completed
Posted over 8 years ago

$10-30 AUD

Paid on delivery
I have a problem where c: drive files up due to large media files that are saved each night. I need assistance writing a script file to do the following: Standard Variables [to be set in script but able to update/edit] FreeSpaceThreshold: 25% DeleteThreshold: 15% TXTLocation: c:\StatusFiles TXTFileName: [login to view URL] DaysToKeep: 10 FolderOnCDrive: c:\MyBigFilesLocal FolderOnServer: \\N:\MyBigFilesServer - check the size c: drive - check the bytes free - convert to GB, and percentage (FreeSpace)% - write these figures to a txt file >> TXTLocation\TXTFileName (overwrite existing TXTfile) If FreeSpace% less than DeleteThreshold Then For Each File in FolderOnCDrive - If FileModifiedDate IS MORE THAN DaysToKeep old, then - Write Filename to TXTFileName - Copy File in "FolderOnCDrive" to location "FolderOnServer" (note, single file will be ~ 1-4GB) - Delete this file from "FolderOnCDrive" - End If Next File Send Email with contents of TXTFileName in body. End If If FreeSpace% less than FreeSpaceThreshold Then Send Warning Email with FreeSpace % in subject line . end if This file will be loaded on Windows 10 machines, connected to a network. Task Scheduler will be used to call the script. Preference for a PowerShell over cmd/bat method. Open to ideas to improve the above design.
Project ID: 8593101

About the project

18 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Already have this script implemented in 5 networks need to modify as per your request.
$20 AUD in 1 day
5.0 (8 reviews)
3.2
3.2
18 freelancers are bidding on average $42 AUD for this job
User Avatar
Hello, I am interested to do this work. I have related experience doing by a systray WPF C# application. But as you want to run it in windows scheduler, i would prefer to develop a C# console application. Please let me know if you are interested. Thanks
$80 AUD in 2 days
5.0 (198 reviews)
7.5
7.5
User Avatar
.................................................................................................................................
$50 AUD in 1 day
5.0 (68 reviews)
6.3
6.3
User Avatar
Hello My name is AmaI. I am writing this proposal on behalf of skynats technologies pvt ltd. I have read your project description and happy to inform you that I can help you to setup the powershell script . You have to pay only $25 for this project. I am working as server administrator for more than 2 years and have strong knowledge in the field of UNIX/LINUX and Windows . If you are willing to handover this project to me, you will get future support for all issues from our team. Thank you
$25 AUD in 1 day
5.0 (19 reviews)
4.7
4.7
User Avatar
Hi, I’ve had a good look at your project description and I’m very interested in providing a solution. I have 3+ hands on experience on developing quality web solutions as well as desktop standalone solutions. I used to develop systems using latest adaptive technology such as 1. .NET/ASP.NET - MVC4,MVC5 - Entity Framework - SQL - C# (for .NET solutions) 2. JQuery/Javascript/HTML5 - Angular.js/Bootstrap etc (for designing and front end implementations) I want to start work immediately and awaiting for your positive response on skp id "agilepksolutions" so I can show you some of my Quality Development Work as well as we can discuss project in details. Thank you.
$49 AUD in 3 days
5.0 (8 reviews)
4.7
4.7
User Avatar
Hello. More 20 years programming experience. I suggest .net solution. Regards. ---------------------------------------------------------------------------------------------------------------------------------------------------
$100 AUD in 3 days
4.6 (17 reviews)
4.9
4.9
User Avatar
A proposal has not yet been provided
$54 AUD in 3 days
5.0 (23 reviews)
4.6
4.6
User Avatar
Hello, I am having professional experience in scripting. I can complete this task in 2 days. Just to confirm on which server you are uploading files. What is the size of server. And also do we need to check space on server also. Does the server allow huge file upload. I am charging out of your range because it require effort of at least 5-6 hrs. Thanks...
$40 AUD in 3 days
5.0 (2 reviews)
1.5
1.5
User Avatar
A proposal has not yet been provided
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Non hai ancora fornito una proposta
$15 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Professional certificate in Windows Server 2003, 2008 and 2008 R2, specialist on Active Directory and hyper-v, with knowledge on sql server; vMware esx; Amazon AWS and many other tools. I have 17 years experience in Windows Server. I have great experience in similar areas of hyper-v and vMware. I have excellent proficiency and training as Microsoft SQL Server and network administration, as I took several projects in these areas. I'm ready to start working for you. Hire me and I will put in my best effort to bring laurels to your business. My Certifications: 70-659 - TS: Windows Server 2008 R2, Server Virtualization 70-640 - TS: Windows Server 2008 Active Directory, Configuring 70-642 - TS: Windows Server 2008 Network Infrastructure, Configuring 70-270 - Installing, Configuring, and Administering Microsoft® Windows® XP Professional 70-290 - Managing and Maintaining a Microsoft Windows Server 2003 Environment
$55 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$35 AUD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello Sir, I have more than 10 years of experience in Software development. I have been working with .net and other technologies. Your requirements seems to be well defined. Some more things can be done to check failures in operations, like copying.
$45 AUD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$35 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I created a similar script on my managed servers. Its proved that it's works, I only need an easy modification on it, and it's compatible with Powershell 2 or upper.
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am trying to get started here on freelancer. I need the opportunity to do a job and get verified. That is the reason for the bid price. it also looks like a fun project to do. If you can work with me on timing etc I would like the opportunity to do this.
$20 AUD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Brisbane, Australia
5.0
15
Payment method verified
Member since Mar 28, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.