Files
PowerShell-PSDscResources/Examples/Sample_ServiceSet_BuiltInAccount.ps1
2019-04-28 18:51:33 +01:00

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'
}
}