Skip to content

Parser does not recognize "State" property in DSCResource #581

@yutingc

Description

@yutingc

PSSA will throw parse errors if DSC has "State" in its configuration:

Service [string] #ResourceName
{
Name = [string]
[ BuiltInAccount = [string] { LocalService | LocalSystem | NetworkService } ]
[ Credential = [PSCredential] ]
[ DependsOn = [string[]] ]
[ StartupType = [string] { Automatic | Disabled | Manual } ]
[ State = [string] { Running | Stopped } ]
[ Description = [string] ]
[ DisplayName = [string] ]
[ Ensure = [string] { Absent | Present } ]
[ Path = [string] ]
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions