DSCResources/MSFT_ADServicePrincipalName/MSFT_ADServicePrincipalName.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("ADServicePrincipalName")]
class MSFT_ADServicePrincipalName : OMI_BaseResource
{
    [Write, Description("Specifies if the service principal name should be added or removed. Default value is 'Present'."), ValueMap{"Present", "Absent"}, Values{"Present", "Absent"}] String Ensure;
    [Key, Description("The full SPN to add or remove, e.g. HOST/LON-DC1.")] String ServicePrincipalName;
    [Write, Description("The user or computer account to add or remove the SPN to, e.g. User1 or LON-DC1$. Default value is ''. If Ensure is set to Present, a value must be specified.")] String Account;
};