I am currently creating a PowerShell script that allows me to configure scan to folder on my computer. I would need to check if a user named “Scanner” has the correct password “example123”. If so, leave it as is. Otherwise, create a user “Scanner2” with “example123” as the password. I must admit that I have been stuck on this for several hours. Could someone please help me please?
I just tried to use ChatGPT