Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mkht/dscr_autologon
- Owner: mkht
- License: mit
- Created: 2017-05-28T09:45:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-08T15:46:41.000Z (over 7 years ago)
- Last Synced: 2024-03-14T18:35:58.098Z (10 months ago)
- Language: PowerShell
- Homepage:
- Size: 19.5 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.