Published: 2020.04.23
Category: PowerShell
Set-LockScreen
Module sets lock screen to chosen image. It also allows to change Lock screen if setting is managed by your company.


To install module use
Script adds new node to regedit PersonalizationCSP which contains information where to found image displayed on lock screen.

Script copy chosen image to C: path.
Both actions required administrator permissions so you need to run PowerShell as administrator.
Dependencies:
Module depends on ProductivityTools.PSTestIfAdmin, which is installed automatically after invoking above command.