PC Falling off Domain Alert / Powershell Script

Completed Posted 4 years ago Paid on delivery
Completed Paid on delivery

I need a powershell script that will help alert users thats their PC is about to fall off the domain. Our domain policy is set to 90 days. If the machine is not connected to the network for 90 consecutive days it will lose domain trust (get kicked off the domain).

So I need a script to look for machines that have not connected for 80-89 days and are about to expire / fall off the domain soon, and send a email to the user informing them that their device is about to fall off the domain and advise them to connect to the network

I have a CSV file that has two columns (Computers Names and Email Addresses).

The script should look through the CSV and check how long each computer has been off the network. If the script finds that its been 80-89 days then it should send an email to the user of that PC to alert them.

I did a little research on this and found that we should be looking for the computers "PasswordLastSet" date.

Shell Script Powershell Active Directory Windows Desktop Microsoft

Project ID: #23997594

About the project

2 proposals Remote project Active 4 years ago

Awarded to:

dsengar121

Hi I can provide PowerShell script to alerts users through email if machines are about to fall off the domain. I can also incorporate the logic to email users manager if the system has been off-network more than 85 d More

$30 USD in 1 day
(47 Reviews)
5.2

2 freelancers are bidding on average $33 for this job

devdronebhowmik

I have 5 years of working experience in .NET development. During these years, i have made several desktop applications using Windows Froms and Windows Presentation Foundation. I have gone through the details. What i p More

$35 USD in 7 days
(1 Review)
2.5