I’m trying, and on the whole failing, to do stuff with ansible.windows.win_dsc:
To get the list of ‘parameters’ for the particular DSC resource you’re mucking about with you can do this:
Get-DscResource sqlrs | select -expand properties
Name PropertyType IsMandatory Values
---- ------------ ----------- ------
DatabaseInstanceName [string] True {}
DatabaseServerName [string] True {}
InstanceName [string] True {}
DependsOn [string[]] False {}
Encrypt [string] False {Mandatory, Optional, Strict}
PsDscRunAsCredential [PSCredential] False {}
ReportServerReservedUrl [string[]] False {}
ReportServerVirtualDirectory [string] False {}
ReportsReservedUrl [string[]] False {}
ReportsVirtualDirectory [string] False {}
RestartTimeout [UInt32] False {}
SuppressRestart [bool] False {}
UseSsl [bool] False {}