DSCResources/xPrinter/xPrinter.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("")] class xPrinter : OMI_BaseResource { [Required, ValueMap{"Absent","Present"}, Values{"Absent","Present"}] String Ensure; [Key, Description("要添加的打印机")] String PrinterName; [Required, Description("要添加的打印机端口")] String PrinterPort; [Required, Description("要添加的打印机IP")] String PortIP; [Required, Description("打印机驱动名称 该驱动必须已经安装")] String DirverName; }; |