You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The name of the custom configuration must be consistent everywhere. The name of
@@ -176,7 +198,7 @@ and not communicating with the service.
176
198
177
199
## Step by step, creating a custom Guest Configuration audit policy for Windows
178
200
179
-
Create a DSC configuration. The following PowerShell script example creates a configuration named
201
+
Create a DSC configuration to audit settings. The following PowerShell script example creates a configuration named
180
202
**AuditBitLocker**, imports the **PsDscResources** resource module, and uses the `Service` resource
181
203
to audit for a running service. The configuration script can be executed from a Windows or macOS
182
204
machine.
@@ -208,7 +230,7 @@ configuration makes it easy to organize many files when operating at scale.
208
230
Once the MOF is compiled, the supporting files must be packaged together. The completed package is
209
231
used by Guest Configuration to create the Azure Policy definitions.
210
232
211
-
The `New-GuestConfigurationPackage` cmdlet creates the package. Parameters of the
233
+
The `New-GuestConfigurationPackage` cmdlet creates the package. Modules that are needed by the configuration must be in available in `$Env:PSModulePath`. Parameters of the
212
234
`New-GuestConfigurationPackage` cmdlet when creating Windows content:
213
235
214
236
-**Name**: Guest Configuration package name.
@@ -230,7 +252,8 @@ development environment as is used inside Azure machines. Using this solution, y
230
252
integration testing locally before releasing to billed cloud environments.
231
253
232
254
Since the agent is actually evaluating the local environment, in most cases you need to run the
233
-
Test- cmdlet on the same OS platform as you plan to audit.
255
+
Test- cmdlet on the same OS platform as you plan to audit. The test will only use modules that are included
256
+
in the content package.
234
257
235
258
Parameters of the `Test-GuestConfigurationPackage` cmdlet:
0 commit comments