File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
articles/governance/policy/concepts Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,27 @@ the same machine. There are no special steps required within the
42
42
operating system of guest configuration extension. There's no need to configure
43
43
[ partial configurations] ( /powershell/scripting/dsc/pull-server/partialConfigs ) .
44
44
45
+ ## Dependencies are managed per-configuration
46
+
47
+ When a configuration is
48
+ [ packaged using the available tools] ( ../how-to/guest-configuration-create.md ) ,
49
+ the required dependencies for the configuration are included in a .zip file.
50
+ Machines extract the contents into a unique folder for each configuration.
51
+ The agent delivered by the guest configuration extension creates a dedicated
52
+ PowerShell session for each configuration, using a ` $Env:PSModulePath ` that
53
+ limits automatic module loading to only the path where the package was
54
+ extracted.
55
+
56
+ Multiple benefits result from this change.
57
+
58
+ - It's possible to use difference module versions for each configuration, on
59
+ the same machine.
60
+ - When a configuration is no longer deleted on a machine, the entire folder
61
+ where it was extracted is safely deleted by the agent without the need to
62
+ manage shared dependencies across configurations.
63
+ - It's not requird to manage multiple versions of any module in a central
64
+ service.
65
+
45
66
## Configuration mode is set in the package artifact
46
67
47
68
When creating the configuration package, the mode is set using the following
You can’t perform that action at this time.
0 commit comments