Powershell: How to modify login script path

When you decide that the 90’s login script, .bat, .cmd files ;), has to leave for ex. GPO Drive maps, then you can remove it from all AD users with this simple command:

And it’s gone:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.