Get‑SqlDscManagedComputer - dsccommunity/SqlServerDsc GitHub Wiki
Returns the managed computer object.
Get-SqlDscManagedComputer [[-ServerName] <String>] [<CommonParameters>]
Returns the managed computer object, by default for the node the command is run on.
Get-SqlDscManagedComputer
Returns the managed computer object for the current node.
Get-SqlDscManagedComputer -ServerName 'MyServer'
Returns the managed computer object for the server 'MyServer'.
Specifies the server name for which to return the managed computer object.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: (Get-ComputerName)
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.