mirror of
https://github.com/PowerShell/PSDscResources
synced 2026-06-21 13:45:29 +00:00
18 lines
451 B
PowerShell
18 lines
451 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Sets the Secure Socket Tunneling Protocol and DHCP Client services to run under the
|
|
built-in account LocalService.
|
|
#>
|
|
Configuration ServiceSetBuiltInAccountExample
|
|
{
|
|
Import-DscResource -ModuleName 'PSDscResources'
|
|
|
|
ServiceSet ServiceSet1
|
|
{
|
|
Name = @( 'SstpSvc', 'Dhcp' )
|
|
Ensure = 'Present'
|
|
BuiltInAccount = 'LocalService'
|
|
State = 'Ignore'
|
|
}
|
|
}
|