How To Generate Random, Secure User Passwords With PowerShell

Everyday IT tasks like creating new Active Directory accounts or resetting account passwords require that a new password to be provided to complete the task. Using the same set of characters for these processes becomes a security concern, and thinking of a new set of characters each time can be come tedious and time consuming. Automating the process of generating a different random password for each of these tasks can be simplified greatly by PowerShell. During this video we will explore an extremely simple way of generating random passwords using PowerShell and a .NET method, and how to take what we learn and turn it into a function that can be dot-sourced or used in other scripts or functions.