Problem to solve:
I have a list of animals in a text file. called [login to view URL]
I need a script to be able to monitor this file for changes on an hourly basis.
when I modify this list, add or remove an animal and I run the script on demand it needs to tell me what I modified.
I have this so far:
#Get contents of the file
$list = Get-Content .\Desktop\[login to view URL] -Raw
#if file changed then do ????
if ($list -gt 3)
if name added then write-host "Sheep was added to the animal list"
if name removed then write-host "Cat was removed from the animal list"
I can find how in PowerShell you track changes to the files in the folder
But I do not know what syntax to use to track changes inside the text file itself.
And the script can not have any dependent libraries
help is highly appreciated.
Bu iş için 18 freelancer ortalamada $23 teklif veriyor
Hello, I can provide your the shell script on linux, do let me know if I can assist you with this. Regards,
Hi there! Dear colleague. I can help you with this project. I would like to know more about it. Contact me by Chat to get more information. My Best Regards
Hey there, Are you done with your project or not yet. I had developed tons of PowerShell scripts. I'm downloading the attached files to check. I can help. Regards!
Hey There, Greeting for the day... i am Microsoft and VMware certified Engineer with 12 years of experience on various technologies. I am Powershell expert... I can help you to prepare Script to complete your task.. Daha Fazla
Hi there, I'm major in PowerShell and have done lot of PowerShell projects on Freelancer. Just text me and I can support you right now. Regards, kzb
You can use compare object in PS. Should get you going.. Good luck Quotation can be ignored as it won't let me post it other wise
I'm a experienced SysAdmin (10 years) and I already made this script. Please contact me if interested in the solution Go to my portfolio and you will see your script in action The script is already in my repository w Daha Fazla
Hi, I am interested in this. Please let me know for further discussion. I am AWS Certified Professional Solution Architect, having 7+ years of experience in AWS and Devops Technologies.