Automate - logging a list of users in and out to cache credential

Nicholas Refalo 1 Reputation point
2021-08-04T03:16:00.167+00:00

Hi All,

I’m relatively new to PowerShell and looking for some guidance or advice on a task which I’ve been given.

Currently we have a security requirement to change 10 domain user passwords on 10 laptops every 6 months. There is nothing special about the laptops they are just domain joined Window 10 Pro units running one piece of software. It is also worth mentioning that these laptops use a wireless connection and don’t directly connect to our network at login due to a wireless security policy in place. It is only when the laptop has been logged in that the wireless will connect, so having cached credentials is very important.

Now changing domain passwords isn’t too difficult as we can connect a LAN cable to each laptop and manually login each user. The issue is that we need to sign all 10 users in on each laptop which is very time consuming.

I’m trying to work out a way in which this could be scripted using PowerShell. I’m thinking I could run something locally that would import a user list and cycle through each user, while logging in.

Any ideas or suggestion on how this could be achieved

Thanks Nick

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
0 comments No comments
{count} votes