Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mkht/dscr_autologon

PowerShell DSC Resource & Functions to turn on / off automatic logon in Windows.
https://github.com/mkht/dscr_autologon

Last synced: about 1 month ago
JSON representation

PowerShell DSC Resource & Functions to turn on / off automatic logon in Windows.

Awesome Lists containing this project

README

        

DSCR_AutoLogon
====

PowerShell DSC Resource & Functions to turn on / off automatic logon in Windows.

## Install
You can install Resource through [PowerShell Gallery](https://www.powershellgallery.com/packages/DSCR_AutoLogon/).
```PowerShell
Install-Module -Name DSCR_AutoLogon
```
----
## DSC Resources
* **cAutoLogon**
PowerShell DSC Resource to turn on / off automatic logon in Windows.

## Properties

+ [string] **Ensure** (Key):
+ Specifies enable or disable automatic logon.
+ This is Key property. You need to specify this. { Present | Absent }

+ [PSCredential] **AutoLogonCredential** (Required):
+ The credential for logon in Windows.

+ [Boolean] **Encrypt** (Write):
+ Specifies whether or not the password should be encrypted. If the value is `$false`, The password is saved in the registry as plain text.
+ The default value is `$false`

## Examples
Please look in the [Example](https://github.com/mkht/DSCR_AutoLogon/tree/master/Example) folder.

----
## Functions
* **Set-AutoLogon**
Set automatic logon
```PowerShell
Set-AutoLogon [-Credential] [-Encrypt ]
```

* **Disable-AutoLogon**
Disable automatic logon
```PowerShell
Disable-AutoLogon
```
----
## ChangeLog
### 2.1.0
+ Export useful functions (Set-AutoLogon & Disable-AutoLogon)
+ Fix security issues

### 2.0.1
+ Fix PSSA Issues

### 2.0.0
+ Supports password encryption
+ Change resource type from composite to MOF-based.
+ [Breaking change] The "Ensure" property is now mandatory.