【发布时间】:2018-05-21 21:09:46
【问题描述】:
鉴于这个简单的配置文件:
Configuration MyDscConfiguration {
Node "TEST-PC1" {
WindowsFeature MyFeatureInstance {
Ensure = "Present"
Name = "RSAT"
}
WindowsFeature My2ndFeatureInstance {
Ensure = "Present"
Name = "Bitlocker"
}
}
}
MyDscConfiguration
运行时,为节点“TEST-PC1”生成的 MOF 文件将放置在名为 MyDscConfiguration 的子目录中。
我正在寻找一种将 MOF 输出到自定义目录位置的方法,例如mofs\MyDscConfiguration\
这可能吗?
【问题讨论】:
标签: powershell dsc