Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Fix Unapproved Verbs and Nested Module Loading Consistency #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

X-Guardian
Copy link

Change the following exported functions to use approved verbs

Old Function Name New Function Name
Create-RegistrySettingsEntry New-RegistrySettingsEntry
Create-GPRegistryPolicyFile New-GPRegistryPolicyFile
Parse-PolFile Import-PolFile
Append-RegistryPolicies Add-RegistryPolicies

Aliases have been added for the old names, so current usage should be unaffected.

Change the Module import to Consistently use NestedModules

Currently each of the nested modules is loaded using a different method. Changed this to both be specified as NestedModules in the main module psd file, and removed the unnecessary Export-ModuleMember commands from each module, as the functions to export are listed in the main module psd file.

@X-Guardian
Copy link
Author

Can someone review this PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant