Files
PowerShell-PSDscResources/Examples/Sample_ServiceSet_BuiltInAccount.ps1
T
2016-12-15 19:55:13 -08:00

18 lines
454 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'
}
}