Configuring logon PowerShell scripts with Group Policy. Home Blog Configuring logon PowerShell scripts with Group Policy. 4sysops - The online community for SysAdmins and DevOps. Is it possible to call the PowerShell script from a local directory? The file will be on every computer.
Wow.I'm sorry everyone. That question sucked bigtime. About as clear as mud. Every year we bring in and train about 1000 temps here where I work.
We have a generic account that we use in our training classes until all the paperwork is done and a real login is created. When the real login is created it gets put in a highly restrictive OU that allows almost nothing except a few apps. Well because of some functionality that is needed in training the generic login can't be locked down as tightly. As there are multiple training classes running nearly 24x7 there is no way to coordinate simply resetting the password. We've found instances where the temp workers were out on the call center floor and were using that less restrictive generic login to be able to do things we don't want them doing. As the computers that are in the training rooms change somewhat frequently, limiting the login to particular computers would be more difficult to manage then specifying that the account can only login to specific OU's (based on the training rooms).
So can you limit a user account to be able to login to computer accounts that are only part of a specific OU or is that not possible?