DSCResources/xDownloadFile/xDownloadFile.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("xDownloadFile")]
class xDownloadFile : OMI_BaseResource
{
    [Key] String SourcePath;
    [Key] String FileName;
    [Write] String DestinationDirectoryPath;
    [Write, Description("Credentials to authenticate with."), EmbeddedInstance("MSFT_Credential")] string Credential;
    [Write, Description("Authentication Mode."), ValueMap{"Basic", "Digest", "Negotiate", "NTLM", "Passport"}, Values{"Basic", "Digest", "Negotiate", "NTLM", "Passport"}] string Authentication;
};