I'm trying to figure out what syntactical element is in use for a Powershell DSC resource declaration. For example:
SqlServerNetwork "RDBMS"
{
DependsOn = @("[SqlSetup]RDBMS")
InstanceName = "MSSQLSERVER"
ProtocolName = "tcp"
IsEnabled = $true
TCPPort = 1433
RestartService = $true
}
What exactly is the syntactical block between (and including) the two braces? It's not a hashtable (no @
) nor is it a scriptblock (cos that would make the properties be Powershell statements). It feels like a parameter to the resource, so I'd like to understand the syntax.