From 08297fba6404b77a6fb9d0f7889397bc5322a8cf Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sun, 28 Jul 2019 09:13:16 +0200 Subject: [PATCH] Changes to ActiveDirectoryDsc - Updated all the examples files to be prefixed with the resource name so they are more easily discovered in PowerShell Gallery and Azure Automation (issue #416). --- CHANGELOG.md | 6 +++++- ...onfig.ps1 => 1-ADComputer_AddComputerAccount_Config.ps1} | 2 +- ...1 => 2-ADComputer_AddComputerAccountDisabled_Config.ps1} | 2 +- ... 3-ADComputer_AddComputerAccountSpecificPath_Config.ps1} | 2 +- ...mputer_AddComputerAccountAndCreateODJRequest_Config.ps1} | 2 +- ...NewForest_Config.ps1 => 1-ADDomain_NewForest_Config.ps1} | 2 +- ...main_Config.ps1 => 2-ADDomain_NewChildDomain_Config.ps1} | 2 +- ...3-ADDomain_NewForestwithParentAndChildDomain_Config.ps1} | 2 +- ...Config.ps1 => 4-ADDomain_NewDomainWithTwoDCs_Config.ps1} | 2 +- ...ontroller_AddDomainControllerToDomainMinimal_Config.ps1} | 2 +- ...ler_AddDomainControllerToDomainAllProperties_Config.ps1} | 2 +- ...ntroller_AddDomainControllerToDomainUsingIFM_Config.ps1} | 2 +- ...DomainController_AddReadOnlyDomainController_Config.ps1} | 2 +- ...asswordPolicy_ConfigureDefaultPasswordPolicy_Config.ps1} | 2 +- ...Config.ps1 => 1-ADDomainTrust_NewOneWayTrust_Config.ps1} | 2 +- ...1-ADForestProperties_ReplaceForestProperties_Config.ps1} | 2 +- ...ADForestProperties_AddRemoveForestProperties_Config.ps1} | 2 +- ...{1-NewGroup_Config.ps1 => 1-ADGroup_NewGroup_Config.ps1} | 2 +- ..._Config.ps1 => 2-ADGroup_NewGroupWithMembers_Config.ps1} | 2 +- ....ps1 => 3-ADGroup_NewGroupMultidomainMembers_Config.ps1} | 2 +- ...ey_Config.ps1 => 1-ADKDSKey_CreateKDSRootKey_Config.ps1} | 2 +- ...fig.ps1 => 2-ADKDSKey_CreateKDSRootKeyInPast_Config.ps1} | 2 +- ... => 3-ADKDSKey_CreateKDSRootKeyRemoveLastKey_Config.ps1} | 2 +- ...edServiceAccount_CreateManagedServiceAccount_Config.ps1} | 2 +- ...viceAccount_CreateGroupManagedServiceAccount_Config.ps1} | 2 +- ..._CreateGroupManagedServiceAccountWithMembers_Config.ps1} | 2 +- ...-ADObjectEnabledState_EnabledComputerAccount_Config.ps1} | 2 +- ...ectEnabledState_CreateClusterComputerAccount_Config.ps1} | 2 +- ...State_EnabledPrestagedClusterComputerAccount_Config.ps1} | 2 +- ...-ADObjectPermissionEntry_DelegateFullControl_Config.ps1} | 2 +- ...ctPermissionEntry_CreateDeleteComputerObject_Config.ps1} | 2 +- ...ssionEntry_ReadWriteComputerObjectProperties_Config.ps1} | 2 +- ...fig.ps1 => 1-ADOrganizationalUnit_CreateADOU_Config.ps1} | 2 +- ...fig.ps1 => 1-ADRecycleBin_EnableADRecycleBin_Config.ps1} | 2 +- ... 1-ADReplicationSite_CreateADReplicationSite_Config.ps1} | 2 +- ...ionSite_CreateADReplicationSiteRenameDefault_Config.ps1} | 2 +- ... 3-ADReplicationSite_RemoveADReplicationSite_Config.ps1} | 2 +- ...eplicationSiteLink_CreateReplicationSiteLink_Config.ps1} | 2 +- ...onSiteLink_ModifyExistingReplicationSiteLink_Config.ps1} | 2 +- ...-ADReplicationSubnet_CreateReplicationSubnet_Config.ps1} | 2 +- ...icePrincipalName_AddUserServicePrincipalName_Config.ps1} | 2 +- ...rincipalName_AddComputerServicePrincipalName_Config.ps1} | 2 +- ....ps1 => 1-ADUser_CreateUserAndManagePassword_Config.ps1} | 2 +- ... 2-ADUser_CreateUserAndIgnorePasswordChanges_Config.ps1} | 2 +- 44 files changed, 48 insertions(+), 44 deletions(-) rename Examples/Resources/ADComputer/{1-AddComputerAccount_Config.ps1 => 1-ADComputer_AddComputerAccount_Config.ps1} (96%) rename Examples/Resources/ADComputer/{2-AddComputerAccountDisabled_Config.ps1 => 2-ADComputer_AddComputerAccountDisabled_Config.ps1} (95%) rename Examples/Resources/ADComputer/{3-AddComputerAccountSpecificPath_Config.ps1 => 3-ADComputer_AddComputerAccountSpecificPath_Config.ps1} (95%) rename Examples/Resources/ADComputer/{4-AddComputerAccountAndCreateODJRequest_Config.ps1 => 4-ADComputer_AddComputerAccountAndCreateODJRequest_Config.ps1} (95%) rename Examples/Resources/ADDomain/{1-NewForest_Config.ps1 => 1-ADDomain_NewForest_Config.ps1} (97%) rename Examples/Resources/ADDomain/{2-NewChildDomain_Config.ps1 => 2-ADDomain_NewChildDomain_Config.ps1} (97%) rename Examples/Resources/ADDomain/{3-NewForestwithParentAndChildDomain_Config.ps1 => 3-ADDomain_NewForestwithParentAndChildDomain_Config.ps1} (98%) rename Examples/Resources/ADDomain/{4-NewDomainWithTwoDCs_Config.ps1 => 4-ADDomain_NewDomainWithTwoDCs_Config.ps1} (98%) rename Examples/Resources/ADDomainController/{1-AddDomainControllerToDomainMinimal_Config.ps1 => 1-ADDomainController_AddDomainControllerToDomainMinimal_Config.ps1} (96%) rename Examples/Resources/ADDomainController/{2-AddDomainControllerToDomainAllProperties_Config.ps1 => 2-ADDomainController_AddDomainControllerToDomainAllProperties_Config.ps1} (96%) rename Examples/Resources/ADDomainController/{3-AddDomainControllerToDomainUsingIFM_Config.ps1 => 3-ADDomainController_AddDomainControllerToDomainUsingIFM_Config.ps1} (96%) rename Examples/Resources/ADDomainController/{4-AddReadOnlyDomainController_Config.ps1 => 4-ADDomainController_AddReadOnlyDomainController_Config.ps1} (97%) rename Examples/Resources/ADDomainDefaultPasswordPolicy/{1-ConfigureDefaultPasswordPolicy_Config.ps1 => 1-ADDomainDefaultPasswordPolicy_ConfigureDefaultPasswordPolicy_Config.ps1} (94%) rename Examples/Resources/ADDomainTrust/{1-NewOneWayTrust_Config.ps1 => 1-ADDomainTrust_NewOneWayTrust_Config.ps1} (96%) rename Examples/Resources/ADForestProperties/{1-ReplaceForestProperties_Config.ps1 => 1-ADForestProperties_ReplaceForestProperties_Config.ps1} (95%) rename Examples/Resources/ADForestProperties/{2-AddRemoveForestProperties_Config.ps1 => 2-ADForestProperties_AddRemoveForestProperties_Config.ps1} (94%) rename Examples/Resources/ADGroup/{1-NewGroup_Config.ps1 => 1-ADGroup_NewGroup_Config.ps1} (97%) rename Examples/Resources/ADGroup/{2-NewGroupWithMembers_Config.ps1 => 2-ADGroup_NewGroupWithMembers_Config.ps1} (94%) rename Examples/Resources/ADGroup/{3-NewGroupMultidomainMembers_Config.ps1 => 3-ADGroup_NewGroupMultidomainMembers_Config.ps1} (95%) rename Examples/Resources/ADKDSKey/{1-CreateKDSRootKey_Config.ps1 => 1-ADKDSKey_CreateKDSRootKey_Config.ps1} (95%) rename Examples/Resources/ADKDSKey/{2-CreateKDSRootKeyInPast_Config.ps1 => 2-ADKDSKey_CreateKDSRootKeyInPast_Config.ps1} (95%) rename Examples/Resources/ADKDSKey/{3-CreateKDSRootKeyRemoveLastKey_Config.ps1 => 3-ADKDSKey_CreateKDSRootKeyRemoveLastKey_Config.ps1} (94%) rename Examples/Resources/ADManagedServiceAccount/{1-CreateManagedServiceAccount_Config.ps1 => 1-ADManagedServiceAccount_CreateManagedServiceAccount_Config.ps1} (92%) rename Examples/Resources/ADManagedServiceAccount/{2-CreateGroupManagedServiceAccount_Config.ps1 => 2-ADManagedServiceAccount_CreateGroupManagedServiceAccount_Config.ps1} (92%) rename Examples/Resources/ADManagedServiceAccount/{3-CreateGroupManagedServiceAccountWithMembers_Config.ps1 => 3-ADManagedServiceAccount_CreateGroupManagedServiceAccountWithMembers_Config.ps1} (94%) rename Examples/Resources/ADObjectEnabledState/{1-EnabledComputerAccount_Config.ps1 => 1-ADObjectEnabledState_EnabledComputerAccount_Config.ps1} (94%) rename Examples/Resources/ADObjectEnabledState/{2-CreateClusterComputerAccount_Config.ps1 => 2-ADObjectEnabledState_CreateClusterComputerAccount_Config.ps1} (96%) rename Examples/Resources/ADObjectEnabledState/{3-EnabledPrestagedClusterComputerAccount_Config.ps1 => 3-ADObjectEnabledState_EnabledPrestagedClusterComputerAccount_Config.ps1} (95%) rename Examples/Resources/ADObjectPermissionEntry/{1-DelegateFullControl_Config.ps1 => 1-ADObjectPermissionEntry_DelegateFullControl_Config.ps1} (95%) rename Examples/Resources/ADObjectPermissionEntry/{2-CreateDeleteComputerObject_Config.ps1 => 2-ADObjectPermissionEntry_CreateDeleteComputerObject_Config.ps1} (95%) rename Examples/Resources/ADObjectPermissionEntry/{3-ReadWriteComputerObjectProperties_Config.ps1 => 3-ADObjectPermissionEntry_ReadWriteComputerObjectProperties_Config.ps1} (95%) rename Examples/Resources/ADOrganizationalUnit/{1-CreateADOU_Config.ps1 => 1-ADOrganizationalUnit_CreateADOU_Config.ps1} (96%) rename Examples/Resources/ADRecycleBin/{1-EnableADRecycleBin_Config.ps1 => 1-ADRecycleBin_EnableADRecycleBin_Config.ps1} (95%) rename Examples/Resources/ADReplicationSite/{1-CreateADReplicationSite_Config.ps1 => 1-ADReplicationSite_CreateADReplicationSite_Config.ps1} (93%) rename Examples/Resources/ADReplicationSite/{2-CreateADReplicationSiteRenameDefault_Config.ps1 => 2-ADReplicationSite_CreateADReplicationSiteRenameDefault_Config.ps1} (93%) rename Examples/Resources/ADReplicationSite/{3-RemoveADReplicationSite_Config.ps1 => 3-ADReplicationSite_RemoveADReplicationSite_Config.ps1} (90%) rename Examples/Resources/ADReplicationSiteLInk/{1-CreateReplicationSiteLink_Config.ps1 => 1-ADReplicationSiteLink_CreateReplicationSiteLink_Config.ps1} (93%) rename Examples/Resources/ADReplicationSiteLInk/{2-ModifyExistingReplicationSiteLink_Config.ps1 => 2-ADReplicationSiteLink_ModifyExistingReplicationSiteLink_Config.ps1} (93%) rename Examples/Resources/ADReplicationSubnet/{1-CreateReplicationSubnet_Config.ps1 => 1-ADReplicationSubnet_CreateReplicationSubnet_Config.ps1} (92%) rename Examples/Resources/ADServicePrincipalName/{1-AddUserServicePrincipalName_Config.ps1 => 1-ADServicePrincipalName_AddUserServicePrincipalName_Config.ps1} (92%) rename Examples/Resources/ADServicePrincipalName/{2-AddComputerServicePrincipalName_Config.ps1 => 2-ADServicePrincipalName_AddComputerServicePrincipalName_Config.ps1} (92%) rename Examples/Resources/ADUser/{1-CreateUserAndManagePassword_Config.ps1 => 1-ADUser_CreateUserAndManagePassword_Config.ps1} (95%) rename Examples/Resources/ADUser/{2-CreateUserAndIgnorePasswordChanges_Config.ps1 => 2-ADUser_CreateUserAndIgnorePasswordChanges_Config.ps1} (95%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2521e9497..48cd8d2f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,8 @@ ## Unreleased - Changes to ActiveDirectoryDsc - - BREAKING CHANGE: Renamed the xActiveDirectory to ActiveDirectoryDsc and removed the 'x' from all resource names. + - BREAKING CHANGE: Renamed the xActiveDirectory to ActiveDirectoryDsc + and removed the 'x' from all resource names ([issue #312](https://github.com/PowerShell/ActiveDirectoryDsc/issues/312)). - Added a Requirements section to every DSC resource README with the bullet point stating "Target machine must be running Windows Server 2008 R2 or later" ([issue #399](https://github.com/PowerShell/ActiveDirectoryDsc/issues/399)). @@ -40,6 +41,9 @@ [new helper functions for localization](https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#helper-functions-for-localization) ([issue #316](https://github.com/PowerShell/ActiveDirectoryDsc/issues/316), [issue #317](https://github.com/PowerShell/ActiveDirectoryDsc/issues/317)). + - Updated all the examples files to be prefixed with the resource + name so they are more easily discovered in PowerShell Gallery and + Azure Automation ([issue #416](https://github.com/PowerShell/ActiveDirectoryDsc/issues/416)). - Changes to ADManagedServiceAccount - Added a requirement to README stating "Group Managed Service Accounts need at least one Windows Server 2012 Domain Controller" diff --git a/Examples/Resources/ADComputer/1-AddComputerAccount_Config.ps1 b/Examples/Resources/ADComputer/1-ADComputer_AddComputerAccount_Config.ps1 similarity index 96% rename from Examples/Resources/ADComputer/1-AddComputerAccount_Config.ps1 rename to Examples/Resources/ADComputer/1-ADComputer_AddComputerAccount_Config.ps1 index f29d5cd8e..7003335cb 100644 --- a/Examples/Resources/ADComputer/1-AddComputerAccount_Config.ps1 +++ b/Examples/Resources/ADComputer/1-ADComputer_AddComputerAccount_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create two Active Directory computer accounts enabled. The property Enabled will not be enforced in either case. #> -Configuration AddComputerAccount_Config +Configuration ADComputer_AddComputerAccount_Config { param ( diff --git a/Examples/Resources/ADComputer/2-AddComputerAccountDisabled_Config.ps1 b/Examples/Resources/ADComputer/2-ADComputer_AddComputerAccountDisabled_Config.ps1 similarity index 95% rename from Examples/Resources/ADComputer/2-AddComputerAccountDisabled_Config.ps1 rename to Examples/Resources/ADComputer/2-ADComputer_AddComputerAccountDisabled_Config.ps1 index 8f9ec4437..a10c6cc9a 100644 --- a/Examples/Resources/ADComputer/2-AddComputerAccountDisabled_Config.ps1 +++ b/Examples/Resources/ADComputer/2-ADComputer_AddComputerAccountDisabled_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create an Active Directory computer account disabled. The property Enabled will not be enforced. #> -Configuration AddComputerAccountDisabled_Config +Configuration ADComputer_AddComputerAccountDisabled_Config { param ( diff --git a/Examples/Resources/ADComputer/3-AddComputerAccountSpecificPath_Config.ps1 b/Examples/Resources/ADComputer/3-ADComputer_AddComputerAccountSpecificPath_Config.ps1 similarity index 95% rename from Examples/Resources/ADComputer/3-AddComputerAccountSpecificPath_Config.ps1 rename to Examples/Resources/ADComputer/3-ADComputer_AddComputerAccountSpecificPath_Config.ps1 index d3c43ebc9..f5f026fc5 100644 --- a/Examples/Resources/ADComputer/3-AddComputerAccountSpecificPath_Config.ps1 +++ b/Examples/Resources/ADComputer/3-ADComputer_AddComputerAccountSpecificPath_Config.ps1 @@ -23,7 +23,7 @@ on the specified domain controller and in the specific organizational unit. #> -Configuration AddComputerAccountSpecificPath_Config +Configuration ADComputer_AddComputerAccountSpecificPath_Config { param ( diff --git a/Examples/Resources/ADComputer/4-AddComputerAccountAndCreateODJRequest_Config.ps1 b/Examples/Resources/ADComputer/4-ADComputer_AddComputerAccountAndCreateODJRequest_Config.ps1 similarity index 95% rename from Examples/Resources/ADComputer/4-AddComputerAccountAndCreateODJRequest_Config.ps1 rename to Examples/Resources/ADComputer/4-ADComputer_AddComputerAccountAndCreateODJRequest_Config.ps1 index 41a538e41..2767668ed 100644 --- a/Examples/Resources/ADComputer/4-AddComputerAccountAndCreateODJRequest_Config.ps1 +++ b/Examples/Resources/ADComputer/4-ADComputer_AddComputerAccountAndCreateODJRequest_Config.ps1 @@ -24,7 +24,7 @@ unit. After the account is create an Offline Domain Join Request file is created to the specified path. #> -Configuration AddComputerAccountAndCreateODJRequest_Config +Configuration ADComputer_AddComputerAccountAndCreateODJRequest_Config { param ( diff --git a/Examples/Resources/ADDomain/1-NewForest_Config.ps1 b/Examples/Resources/ADDomain/1-ADDomain_NewForest_Config.ps1 similarity index 97% rename from Examples/Resources/ADDomain/1-NewForest_Config.ps1 rename to Examples/Resources/ADDomain/1-ADDomain_NewForest_Config.ps1 index c0b655c49..500480ca9 100644 --- a/Examples/Resources/ADDomain/1-NewForest_Config.ps1 +++ b/Examples/Resources/ADDomain/1-ADDomain_NewForest_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create a new domain with a new forest and a forest functional level of Server 2016. #> -Configuration NewForest_Config +Configuration ADDomain_NewForest_Config { param ( diff --git a/Examples/Resources/ADDomain/2-NewChildDomain_Config.ps1 b/Examples/Resources/ADDomain/2-ADDomain_NewChildDomain_Config.ps1 similarity index 97% rename from Examples/Resources/ADDomain/2-NewChildDomain_Config.ps1 rename to Examples/Resources/ADDomain/2-ADDomain_NewChildDomain_Config.ps1 index 37e0bc3f1..425d7ec85 100644 --- a/Examples/Resources/ADDomain/2-NewChildDomain_Config.ps1 +++ b/Examples/Resources/ADDomain/2-ADDomain_NewChildDomain_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create a new child domain in an existing forest with a Domain Functional Level of Windows Server 2012R2. #> -Configuration NewChildDomain_Config +Configuration ADDomain_NewChildDomain_Config { param ( diff --git a/Examples/Resources/ADDomain/3-NewForestwithParentAndChildDomain_Config.ps1 b/Examples/Resources/ADDomain/3-ADDomain_NewForestwithParentAndChildDomain_Config.ps1 similarity index 98% rename from Examples/Resources/ADDomain/3-NewForestwithParentAndChildDomain_Config.ps1 rename to Examples/Resources/ADDomain/3-ADDomain_NewForestwithParentAndChildDomain_Config.ps1 index 09bd950f2..f702a56c9 100644 --- a/Examples/Resources/ADDomain/3-NewForestwithParentAndChildDomain_Config.ps1 +++ b/Examples/Resources/ADDomain/3-ADDomain_NewForestwithParentAndChildDomain_Config.ps1 @@ -47,7 +47,7 @@ $ConfigurationData = @{ This configuration will create a domain, and then create a child domain on another node. #> -Configuration NewForestWithParentAndChildDomain_Config +Configuration ADDomain_NewForestWithParentAndChildDomain_Config { param ( diff --git a/Examples/Resources/ADDomain/4-NewDomainWithTwoDCs_Config.ps1 b/Examples/Resources/ADDomain/4-ADDomain_NewDomainWithTwoDCs_Config.ps1 similarity index 98% rename from Examples/Resources/ADDomain/4-NewDomainWithTwoDCs_Config.ps1 rename to Examples/Resources/ADDomain/4-ADDomain_NewDomainWithTwoDCs_Config.ps1 index dd8428f7e..bd519bb2d 100644 --- a/Examples/Resources/ADDomain/4-NewDomainWithTwoDCs_Config.ps1 +++ b/Examples/Resources/ADDomain/4-ADDomain_NewDomainWithTwoDCs_Config.ps1 @@ -48,7 +48,7 @@ $ConfigurationData = @{ The WaitForDomain resource is used to ensure that the domain is present before the second domain controller is added. #> -Configuration NewDomainWithTwoDCs_Config +Configuration ADDomain_NewDomainWithTwoDCs_Config { param ( diff --git a/Examples/Resources/ADDomainController/1-AddDomainControllerToDomainMinimal_Config.ps1 b/Examples/Resources/ADDomainController/1-ADDomainController_AddDomainControllerToDomainMinimal_Config.ps1 similarity index 96% rename from Examples/Resources/ADDomainController/1-AddDomainControllerToDomainMinimal_Config.ps1 rename to Examples/Resources/ADDomainController/1-ADDomainController_AddDomainControllerToDomainMinimal_Config.ps1 index 634b15e88..20a8ba37b 100644 --- a/Examples/Resources/ADDomainController/1-AddDomainControllerToDomainMinimal_Config.ps1 +++ b/Examples/Resources/ADDomainController/1-ADDomainController_AddDomainControllerToDomainMinimal_Config.ps1 @@ -22,7 +22,7 @@ This configuration will add a domain controller to the domain contoso.com. #> -Configuration AddDomainControllerToDomainMinimal_Config +Configuration ADDomainController_AddDomainControllerToDomainMinimal_Config { param ( diff --git a/Examples/Resources/ADDomainController/2-AddDomainControllerToDomainAllProperties_Config.ps1 b/Examples/Resources/ADDomainController/2-ADDomainController_AddDomainControllerToDomainAllProperties_Config.ps1 similarity index 96% rename from Examples/Resources/ADDomainController/2-AddDomainControllerToDomainAllProperties_Config.ps1 rename to Examples/Resources/ADDomainController/2-ADDomainController_AddDomainControllerToDomainAllProperties_Config.ps1 index f6e492d23..75e283431 100644 --- a/Examples/Resources/ADDomainController/2-AddDomainControllerToDomainAllProperties_Config.ps1 +++ b/Examples/Resources/ADDomainController/2-ADDomainController_AddDomainControllerToDomainAllProperties_Config.ps1 @@ -22,7 +22,7 @@ This configuration will add a domain controller to the domain contoso.com, specifying all properties of the resource. #> -Configuration AddDomainControllerToDomainAllProperties_Config +Configuration ADDomainController_AddDomainControllerToDomainAllProperties_Config { param ( diff --git a/Examples/Resources/ADDomainController/3-AddDomainControllerToDomainUsingIFM_Config.ps1 b/Examples/Resources/ADDomainController/3-ADDomainController_AddDomainControllerToDomainUsingIFM_Config.ps1 similarity index 96% rename from Examples/Resources/ADDomainController/3-AddDomainControllerToDomainUsingIFM_Config.ps1 rename to Examples/Resources/ADDomainController/3-ADDomainController_AddDomainControllerToDomainUsingIFM_Config.ps1 index bed9dfd12..87c7b9945 100644 --- a/Examples/Resources/ADDomainController/3-AddDomainControllerToDomainUsingIFM_Config.ps1 +++ b/Examples/Resources/ADDomainController/3-ADDomainController_AddDomainControllerToDomainUsingIFM_Config.ps1 @@ -22,7 +22,7 @@ This configuration will add a domain controller to the domain contoso.com using the information from media. #> -Configuration AddDomainControllerToDomainUsingIFM_Config +Configuration ADDomainController_AddDomainControllerToDomainUsingIFM_Config { param ( diff --git a/Examples/Resources/ADDomainController/4-AddReadOnlyDomainController_Config.ps1 b/Examples/Resources/ADDomainController/4-ADDomainController_AddReadOnlyDomainController_Config.ps1 similarity index 97% rename from Examples/Resources/ADDomainController/4-AddReadOnlyDomainController_Config.ps1 rename to Examples/Resources/ADDomainController/4-ADDomainController_AddReadOnlyDomainController_Config.ps1 index e596d17cb..1f617c9b0 100644 --- a/Examples/Resources/ADDomainController/4-AddReadOnlyDomainController_Config.ps1 +++ b/Examples/Resources/ADDomainController/4-ADDomainController_AddReadOnlyDomainController_Config.ps1 @@ -22,7 +22,7 @@ This configuration will add a read-only domain controller to the domain contoso.com and specify a list of account, whose passwords are allowed/denied for synchronisation. #> -Configuration AddReadOnlyDomainController_Config +Configuration ADDomainController_AddReadOnlyDomainController_Config { param ( diff --git a/Examples/Resources/ADDomainDefaultPasswordPolicy/1-ConfigureDefaultPasswordPolicy_Config.ps1 b/Examples/Resources/ADDomainDefaultPasswordPolicy/1-ADDomainDefaultPasswordPolicy_ConfigureDefaultPasswordPolicy_Config.ps1 similarity index 94% rename from Examples/Resources/ADDomainDefaultPasswordPolicy/1-ConfigureDefaultPasswordPolicy_Config.ps1 rename to Examples/Resources/ADDomainDefaultPasswordPolicy/1-ADDomainDefaultPasswordPolicy_ConfigureDefaultPasswordPolicy_Config.ps1 index 14988f7b1..f881938b4 100644 --- a/Examples/Resources/ADDomainDefaultPasswordPolicy/1-ConfigureDefaultPasswordPolicy_Config.ps1 +++ b/Examples/Resources/ADDomainDefaultPasswordPolicy/1-ADDomainDefaultPasswordPolicy_ConfigureDefaultPasswordPolicy_Config.ps1 @@ -22,7 +22,7 @@ This configuration will set an Active Directory domain's default password policy to set the minimum password length and complexity. #> -Configuration ConfigureDefaultPasswordPolicy_Config +Configuration ADDomainDefaultPasswordPolicy_ConfigureDefaultPasswordPolicy_Config { Param ( diff --git a/Examples/Resources/ADDomainTrust/1-NewOneWayTrust_Config.ps1 b/Examples/Resources/ADDomainTrust/1-ADDomainTrust_NewOneWayTrust_Config.ps1 similarity index 96% rename from Examples/Resources/ADDomainTrust/1-NewOneWayTrust_Config.ps1 rename to Examples/Resources/ADDomainTrust/1-ADDomainTrust_NewOneWayTrust_Config.ps1 index 678698e5a..679dede1b 100644 --- a/Examples/Resources/ADDomainTrust/1-NewOneWayTrust_Config.ps1 +++ b/Examples/Resources/ADDomainTrust/1-ADDomainTrust_NewOneWayTrust_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create a new one way inbound trust between two domains. #> -Configuration NewOneWayTrust_Config +Configuration ADDomainTrust_NewOneWayTrust_Config { param ( diff --git a/Examples/Resources/ADForestProperties/1-ReplaceForestProperties_Config.ps1 b/Examples/Resources/ADForestProperties/1-ADForestProperties_ReplaceForestProperties_Config.ps1 similarity index 95% rename from Examples/Resources/ADForestProperties/1-ReplaceForestProperties_Config.ps1 rename to Examples/Resources/ADForestProperties/1-ADForestProperties_ReplaceForestProperties_Config.ps1 index 38d293ece..22cdc4532 100644 --- a/Examples/Resources/ADForestProperties/1-ReplaceForestProperties_Config.ps1 +++ b/Examples/Resources/ADForestProperties/1-ADForestProperties_ReplaceForestProperties_Config.ps1 @@ -23,7 +23,7 @@ in the forest by replacing any existing suffixes with the ones specified in the configuration. #> -Configuration ReplaceForestProperties_Config +Configuration ADForestProperties_ReplaceForestProperties_Config { Import-DscResource -ModuleName ActiveDirectoryDsc diff --git a/Examples/Resources/ADForestProperties/2-AddRemoveForestProperties_Config.ps1 b/Examples/Resources/ADForestProperties/2-ADForestProperties_AddRemoveForestProperties_Config.ps1 similarity index 94% rename from Examples/Resources/ADForestProperties/2-AddRemoveForestProperties_Config.ps1 rename to Examples/Resources/ADForestProperties/2-ADForestProperties_AddRemoveForestProperties_Config.ps1 index 0e641961c..8b95b9e41 100644 --- a/Examples/Resources/ADForestProperties/2-AddRemoveForestProperties_Config.ps1 +++ b/Examples/Resources/ADForestProperties/2-ADForestProperties_AddRemoveForestProperties_Config.ps1 @@ -23,7 +23,7 @@ the forest by adding and removing the desired suffixes. This will not overwrite existing suffixes in the forest. #> -Configuration AddRemoveForestProperties_Config +Configuration ADForestProperties_AddRemoveForestProperties_Config { Import-DscResource -ModuleName ActiveDirectoryDsc diff --git a/Examples/Resources/ADGroup/1-NewGroup_Config.ps1 b/Examples/Resources/ADGroup/1-ADGroup_NewGroup_Config.ps1 similarity index 97% rename from Examples/Resources/ADGroup/1-NewGroup_Config.ps1 rename to Examples/Resources/ADGroup/1-ADGroup_NewGroup_Config.ps1 index 32a7655d7..67741d97b 100644 --- a/Examples/Resources/ADGroup/1-NewGroup_Config.ps1 +++ b/Examples/Resources/ADGroup/1-ADGroup_NewGroup_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will create a new domain-local group #> -Configuration NewGroup_Config +Configuration ADGroup_NewGroup_Config { param ( diff --git a/Examples/Resources/ADGroup/2-NewGroupWithMembers_Config.ps1 b/Examples/Resources/ADGroup/2-ADGroup_NewGroupWithMembers_Config.ps1 similarity index 94% rename from Examples/Resources/ADGroup/2-NewGroupWithMembers_Config.ps1 rename to Examples/Resources/ADGroup/2-ADGroup_NewGroupWithMembers_Config.ps1 index f9bb482a9..e05af7dad 100644 --- a/Examples/Resources/ADGroup/2-NewGroupWithMembers_Config.ps1 +++ b/Examples/Resources/ADGroup/2-ADGroup_NewGroupWithMembers_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will create a new domain-local group with three members. #> -Configuration NewGroupWithMembers_Config +Configuration ADGroup_NewGroupWithMembers_Config { Import-DscResource -ModuleName ActiveDirectoryDsc diff --git a/Examples/Resources/ADGroup/3-NewGroupMultidomainMembers_Config.ps1 b/Examples/Resources/ADGroup/3-ADGroup_NewGroupMultidomainMembers_Config.ps1 similarity index 95% rename from Examples/Resources/ADGroup/3-NewGroupMultidomainMembers_Config.ps1 rename to Examples/Resources/ADGroup/3-ADGroup_NewGroupMultidomainMembers_Config.ps1 index cd8c6a32f..92f05a10a 100644 --- a/Examples/Resources/ADGroup/3-NewGroupMultidomainMembers_Config.ps1 +++ b/Examples/Resources/ADGroup/3-ADGroup_NewGroupMultidomainMembers_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create a new domain-local group in contoso with three members in different domains. #> -Configuration NewGroupMultiDomainMembers_Config +Configuration ADGroup_NewGroupMultiDomainMembers_Config { Import-DscResource -ModuleName ActiveDirectoryDsc diff --git a/Examples/Resources/ADKDSKey/1-CreateKDSRootKey_Config.ps1 b/Examples/Resources/ADKDSKey/1-ADKDSKey_CreateKDSRootKey_Config.ps1 similarity index 95% rename from Examples/Resources/ADKDSKey/1-CreateKDSRootKey_Config.ps1 rename to Examples/Resources/ADKDSKey/1-ADKDSKey_CreateKDSRootKey_Config.ps1 index 0d73a8789..767bf74c8 100644 --- a/Examples/Resources/ADKDSKey/1-CreateKDSRootKey_Config.ps1 +++ b/Examples/Resources/ADKDSKey/1-ADKDSKey_CreateKDSRootKey_Config.ps1 @@ -23,7 +23,7 @@ slightly ahead in the future, the key won't be usable for at least 10 hours from the creation time. #> -Configuration CreateKDSRootKey_Config +Configuration ADKDSKey_CreateKDSRootKey_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADKDSKey/2-CreateKDSRootKeyInPast_Config.ps1 b/Examples/Resources/ADKDSKey/2-ADKDSKey_CreateKDSRootKeyInPast_Config.ps1 similarity index 95% rename from Examples/Resources/ADKDSKey/2-CreateKDSRootKeyInPast_Config.ps1 rename to Examples/Resources/ADKDSKey/2-ADKDSKey_CreateKDSRootKeyInPast_Config.ps1 index 264bd856f..da93e787e 100644 --- a/Examples/Resources/ADKDSKey/2-CreateKDSRootKeyInPast_Config.ps1 +++ b/Examples/Resources/ADKDSKey/2-ADKDSKey_CreateKDSRootKeyInPast_Config.ps1 @@ -24,7 +24,7 @@ replicated yet, there may be issues when retrieving the gMSA password. Use with caution #> -Configuration CreateKDSRootKeyInPast_Config +Configuration ADKDSKey_CreateKDSRootKeyInPast_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADKDSKey/3-CreateKDSRootKeyRemoveLastKey_Config.ps1 b/Examples/Resources/ADKDSKey/3-ADKDSKey_CreateKDSRootKeyRemoveLastKey_Config.ps1 similarity index 94% rename from Examples/Resources/ADKDSKey/3-CreateKDSRootKeyRemoveLastKey_Config.ps1 rename to Examples/Resources/ADKDSKey/3-ADKDSKey_CreateKDSRootKeyRemoveLastKey_Config.ps1 index 295e6fc06..ac3535dc0 100644 --- a/Examples/Resources/ADKDSKey/3-CreateKDSRootKeyRemoveLastKey_Config.ps1 +++ b/Examples/Resources/ADKDSKey/3-ADKDSKey_CreateKDSRootKeyRemoveLastKey_Config.ps1 @@ -23,7 +23,7 @@ If gMSAs are installed on the network, they will not be able to reset their passwords and it may cause services to fail. #> -Configuration CreateKDSRootKeyRemoveLastKey_Config +Configuration ADKDSKey_CreateKDSRootKeyRemoveLastKey_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADManagedServiceAccount/1-CreateManagedServiceAccount_Config.ps1 b/Examples/Resources/ADManagedServiceAccount/1-ADManagedServiceAccount_CreateManagedServiceAccount_Config.ps1 similarity index 92% rename from Examples/Resources/ADManagedServiceAccount/1-CreateManagedServiceAccount_Config.ps1 rename to Examples/Resources/ADManagedServiceAccount/1-ADManagedServiceAccount_CreateManagedServiceAccount_Config.ps1 index e396243dc..3c47008e4 100644 --- a/Examples/Resources/ADManagedServiceAccount/1-CreateManagedServiceAccount_Config.ps1 +++ b/Examples/Resources/ADManagedServiceAccount/1-ADManagedServiceAccount_CreateManagedServiceAccount_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will create a managed service account. #> -Configuration CreateManagedServiceAccount_Config +Configuration ADManagedServiceAccount_CreateManagedServiceAccount_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADManagedServiceAccount/2-CreateGroupManagedServiceAccount_Config.ps1 b/Examples/Resources/ADManagedServiceAccount/2-ADManagedServiceAccount_CreateGroupManagedServiceAccount_Config.ps1 similarity index 92% rename from Examples/Resources/ADManagedServiceAccount/2-CreateGroupManagedServiceAccount_Config.ps1 rename to Examples/Resources/ADManagedServiceAccount/2-ADManagedServiceAccount_CreateGroupManagedServiceAccount_Config.ps1 index ed4d48800..8e6d115d3 100644 --- a/Examples/Resources/ADManagedServiceAccount/2-CreateGroupManagedServiceAccount_Config.ps1 +++ b/Examples/Resources/ADManagedServiceAccount/2-ADManagedServiceAccount_CreateGroupManagedServiceAccount_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will create a group managed service account. #> -Configuration CreateGroupManagedServiceAccount_Config +Configuration ADManagedServiceAccount_CreateGroupManagedServiceAccount_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADManagedServiceAccount/3-CreateGroupManagedServiceAccountWithMembers_Config.ps1 b/Examples/Resources/ADManagedServiceAccount/3-ADManagedServiceAccount_CreateGroupManagedServiceAccountWithMembers_Config.ps1 similarity index 94% rename from Examples/Resources/ADManagedServiceAccount/3-CreateGroupManagedServiceAccountWithMembers_Config.ps1 rename to Examples/Resources/ADManagedServiceAccount/3-ADManagedServiceAccount_CreateGroupManagedServiceAccountWithMembers_Config.ps1 index a3863adb2..f2debd498 100644 --- a/Examples/Resources/ADManagedServiceAccount/3-CreateGroupManagedServiceAccountWithMembers_Config.ps1 +++ b/Examples/Resources/ADManagedServiceAccount/3-ADManagedServiceAccount_CreateGroupManagedServiceAccountWithMembers_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will create a group managed service account with members. #> -Configuration CreateGroupManagedServiceAccountWithMembers_Config +Configuration ADManagedServiceAccount_CreateGroupManagedServiceAccountWithMembers_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADObjectEnabledState/1-EnabledComputerAccount_Config.ps1 b/Examples/Resources/ADObjectEnabledState/1-ADObjectEnabledState_EnabledComputerAccount_Config.ps1 similarity index 94% rename from Examples/Resources/ADObjectEnabledState/1-EnabledComputerAccount_Config.ps1 rename to Examples/Resources/ADObjectEnabledState/1-ADObjectEnabledState_EnabledComputerAccount_Config.ps1 index 2eb780001..9b4724806 100644 --- a/Examples/Resources/ADObjectEnabledState/1-EnabledComputerAccount_Config.ps1 +++ b/Examples/Resources/ADObjectEnabledState/1-ADObjectEnabledState_EnabledComputerAccount_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create a computer account disabled, and enforcing the account to be enabled. #> -Configuration EnabledComputerAccount_Config +Configuration ADObjectEnabledState_EnabledComputerAccount_Config { Import-DscResource -ModuleName ActiveDirectoryDsc diff --git a/Examples/Resources/ADObjectEnabledState/2-CreateClusterComputerAccount_Config.ps1 b/Examples/Resources/ADObjectEnabledState/2-ADObjectEnabledState_CreateClusterComputerAccount_Config.ps1 similarity index 96% rename from Examples/Resources/ADObjectEnabledState/2-CreateClusterComputerAccount_Config.ps1 rename to Examples/Resources/ADObjectEnabledState/2-ADObjectEnabledState_CreateClusterComputerAccount_Config.ps1 index c7b506650..e93baea61 100644 --- a/Examples/Resources/ADObjectEnabledState/2-CreateClusterComputerAccount_Config.ps1 +++ b/Examples/Resources/ADObjectEnabledState/2-ADObjectEnabledState_CreateClusterComputerAccount_Config.ps1 @@ -24,7 +24,7 @@ a cluster using the disabled computer account, and enforcing the computer account to be enabled. #> -Configuration CreateClusterComputerAccount_Config +Configuration ADObjectEnabledState_CreateClusterComputerAccount_Config { param ( diff --git a/Examples/Resources/ADObjectEnabledState/3-EnabledPrestagedClusterComputerAccount_Config.ps1 b/Examples/Resources/ADObjectEnabledState/3-ADObjectEnabledState_EnabledPrestagedClusterComputerAccount_Config.ps1 similarity index 95% rename from Examples/Resources/ADObjectEnabledState/3-EnabledPrestagedClusterComputerAccount_Config.ps1 rename to Examples/Resources/ADObjectEnabledState/3-ADObjectEnabledState_EnabledPrestagedClusterComputerAccount_Config.ps1 index cb46492dc..2ce211243 100644 --- a/Examples/Resources/ADObjectEnabledState/3-EnabledPrestagedClusterComputerAccount_Config.ps1 +++ b/Examples/Resources/ADObjectEnabledState/3-ADObjectEnabledState_EnabledPrestagedClusterComputerAccount_Config.ps1 @@ -23,7 +23,7 @@ This configuration will configure a cluster using a pre-staged computer account, and enforcing the pre-staged computer account to be enabled. #> -Configuration EnabledPrestagedClusterComputerAccount_Config +Configuration ADObjectEnabledState_EnabledPrestagedClusterComputerAccount_Config { param ( diff --git a/Examples/Resources/ADObjectPermissionEntry/1-DelegateFullControl_Config.ps1 b/Examples/Resources/ADObjectPermissionEntry/1-ADObjectPermissionEntry_DelegateFullControl_Config.ps1 similarity index 95% rename from Examples/Resources/ADObjectPermissionEntry/1-DelegateFullControl_Config.ps1 rename to Examples/Resources/ADObjectPermissionEntry/1-ADObjectPermissionEntry_DelegateFullControl_Config.ps1 index b6d25881f..0a8fda26c 100644 --- a/Examples/Resources/ADObjectPermissionEntry/1-DelegateFullControl_Config.ps1 +++ b/Examples/Resources/ADObjectPermissionEntry/1-ADObjectPermissionEntry_DelegateFullControl_Config.ps1 @@ -24,7 +24,7 @@ CONTOSO\CLUSTER01$. This is used so that the Windows Failover Cluster can control the roles AD objects. #> -Configuration DelegateFullControl_Config +Configuration ADObjectPermissionEntry_DelegateFullControl_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADObjectPermissionEntry/2-CreateDeleteComputerObject_Config.ps1 b/Examples/Resources/ADObjectPermissionEntry/2-ADObjectPermissionEntry_CreateDeleteComputerObject_Config.ps1 similarity index 95% rename from Examples/Resources/ADObjectPermissionEntry/2-CreateDeleteComputerObject_Config.ps1 rename to Examples/Resources/ADObjectPermissionEntry/2-ADObjectPermissionEntry_CreateDeleteComputerObject_Config.ps1 index 9de7a4d93..8ba6d7dc7 100644 --- a/Examples/Resources/ADObjectPermissionEntry/2-CreateDeleteComputerObject_Config.ps1 +++ b/Examples/Resources/ADObjectPermissionEntry/2-ADObjectPermissionEntry_CreateDeleteComputerObject_Config.ps1 @@ -23,7 +23,7 @@ (CreateChild,DeleteChild) computer objects in an OU and any sub-OUs that may get created. #> -Configuration CreateDeleteComputerObject_Config +Configuration ADObjectPermissionEntry_CreateDeleteComputerObject_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADObjectPermissionEntry/3-ReadWriteComputerObjectProperties_Config.ps1 b/Examples/Resources/ADObjectPermissionEntry/3-ADObjectPermissionEntry_ReadWriteComputerObjectProperties_Config.ps1 similarity index 95% rename from Examples/Resources/ADObjectPermissionEntry/3-ReadWriteComputerObjectProperties_Config.ps1 rename to Examples/Resources/ADObjectPermissionEntry/3-ADObjectPermissionEntry_ReadWriteComputerObjectProperties_Config.ps1 index eebbeb55f..057e2c45d 100644 --- a/Examples/Resources/ADObjectPermissionEntry/3-ReadWriteComputerObjectProperties_Config.ps1 +++ b/Examples/Resources/ADObjectPermissionEntry/3-ADObjectPermissionEntry_ReadWriteComputerObjectProperties_Config.ps1 @@ -23,7 +23,7 @@ (ReadProperty, WriteProperty) of all properties of computer objects in an OU and any sub-OUs that may get created. #> -Configuration ReadWriteComputerObjectProperties_Config +Configuration ADObjectPermissionEntry_ReadWriteComputerObjectProperties_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADOrganizationalUnit/1-CreateADOU_Config.ps1 b/Examples/Resources/ADOrganizationalUnit/1-ADOrganizationalUnit_CreateADOU_Config.ps1 similarity index 96% rename from Examples/Resources/ADOrganizationalUnit/1-CreateADOU_Config.ps1 rename to Examples/Resources/ADOrganizationalUnit/1-ADOrganizationalUnit_CreateADOU_Config.ps1 index 2c9703111..d0743606a 100644 --- a/Examples/Resources/ADOrganizationalUnit/1-CreateADOU_Config.ps1 +++ b/Examples/Resources/ADOrganizationalUnit/1-ADOrganizationalUnit_CreateADOU_Config.ps1 @@ -22,7 +22,7 @@ This configuration will add an Active Directory organizational unit to the domain. #> -Configuration CreateADOU_Config +Configuration ADOrganizationalUnit_CreateADOU_Config { param ( diff --git a/Examples/Resources/ADRecycleBin/1-EnableADRecycleBin_Config.ps1 b/Examples/Resources/ADRecycleBin/1-ADRecycleBin_EnableADRecycleBin_Config.ps1 similarity index 95% rename from Examples/Resources/ADRecycleBin/1-EnableADRecycleBin_Config.ps1 rename to Examples/Resources/ADRecycleBin/1-ADRecycleBin_EnableADRecycleBin_Config.ps1 index e15a7e0f8..84f544ef2 100644 --- a/Examples/Resources/ADRecycleBin/1-EnableADRecycleBin_Config.ps1 +++ b/Examples/Resources/ADRecycleBin/1-ADRecycleBin_EnableADRecycleBin_Config.ps1 @@ -22,7 +22,7 @@ This configuration will enable the Active Directory Recycle Bin for a specified Domain #> -Configuration EnableADRecycleBin_Config +Configuration ADRecycleBin_EnableADRecycleBin_Config { param ( diff --git a/Examples/Resources/ADReplicationSite/1-CreateADReplicationSite_Config.ps1 b/Examples/Resources/ADReplicationSite/1-ADReplicationSite_CreateADReplicationSite_Config.ps1 similarity index 93% rename from Examples/Resources/ADReplicationSite/1-CreateADReplicationSite_Config.ps1 rename to Examples/Resources/ADReplicationSite/1-ADReplicationSite_CreateADReplicationSite_Config.ps1 index 3e947cec0..3137c4560 100644 --- a/Examples/Resources/ADReplicationSite/1-CreateADReplicationSite_Config.ps1 +++ b/Examples/Resources/ADReplicationSite/1-ADReplicationSite_CreateADReplicationSite_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create an Active Directory replication site called 'Seattle'. #> -Configuration CreateADReplicationSite_Config +Configuration ADReplicationSite_CreateADReplicationSite_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADReplicationSite/2-CreateADReplicationSiteRenameDefault_Config.ps1 b/Examples/Resources/ADReplicationSite/2-ADReplicationSite_CreateADReplicationSiteRenameDefault_Config.ps1 similarity index 93% rename from Examples/Resources/ADReplicationSite/2-CreateADReplicationSiteRenameDefault_Config.ps1 rename to Examples/Resources/ADReplicationSite/2-ADReplicationSite_CreateADReplicationSiteRenameDefault_Config.ps1 index 5758c31a8..0acb248e0 100644 --- a/Examples/Resources/ADReplicationSite/2-CreateADReplicationSiteRenameDefault_Config.ps1 +++ b/Examples/Resources/ADReplicationSite/2-ADReplicationSite_CreateADReplicationSiteRenameDefault_Config.ps1 @@ -23,7 +23,7 @@ 'Seattle'. If the 'Default-First-Site-Name' site exists, it will rename this site instead of create a new one. #> -Configuration CreateADReplicationSiteRenameDefault_Config +Configuration ADReplicationSite_CreateADReplicationSiteRenameDefault_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADReplicationSite/3-RemoveADReplicationSite_Config.ps1 b/Examples/Resources/ADReplicationSite/3-ADReplicationSite_RemoveADReplicationSite_Config.ps1 similarity index 90% rename from Examples/Resources/ADReplicationSite/3-RemoveADReplicationSite_Config.ps1 rename to Examples/Resources/ADReplicationSite/3-ADReplicationSite_RemoveADReplicationSite_Config.ps1 index a0af75d3d..bc3a8c962 100644 --- a/Examples/Resources/ADReplicationSite/3-RemoveADReplicationSite_Config.ps1 +++ b/Examples/Resources/ADReplicationSite/3-ADReplicationSite_RemoveADReplicationSite_Config.ps1 @@ -22,7 +22,7 @@ This configuration will remove the Active Directory replication site called 'Cupertino'. #> -Configuration RemoveADReplicationSite_Config +Configuration ADReplicationSiteLink_ADReplicationSite_RemoveADReplicationSite_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADReplicationSiteLInk/1-CreateReplicationSiteLink_Config.ps1 b/Examples/Resources/ADReplicationSiteLInk/1-ADReplicationSiteLink_CreateReplicationSiteLink_Config.ps1 similarity index 93% rename from Examples/Resources/ADReplicationSiteLInk/1-CreateReplicationSiteLink_Config.ps1 rename to Examples/Resources/ADReplicationSiteLInk/1-ADReplicationSiteLink_CreateReplicationSiteLink_Config.ps1 index f25ef1441..b18482fba 100644 --- a/Examples/Resources/ADReplicationSiteLInk/1-CreateReplicationSiteLink_Config.ps1 +++ b/Examples/Resources/ADReplicationSiteLInk/1-ADReplicationSiteLink_CreateReplicationSiteLink_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will create an AD Replication Site Link. #> -Configuration CreateReplicationSiteLink_Config +Configuration ADReplicationSiteLink_CreateReplicationSiteLink_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADReplicationSiteLInk/2-ModifyExistingReplicationSiteLink_Config.ps1 b/Examples/Resources/ADReplicationSiteLInk/2-ADReplicationSiteLink_ModifyExistingReplicationSiteLink_Config.ps1 similarity index 93% rename from Examples/Resources/ADReplicationSiteLInk/2-ModifyExistingReplicationSiteLink_Config.ps1 rename to Examples/Resources/ADReplicationSiteLInk/2-ADReplicationSiteLink_ModifyExistingReplicationSiteLink_Config.ps1 index c7f52a9c6..fdc91994e 100644 --- a/Examples/Resources/ADReplicationSiteLInk/2-ModifyExistingReplicationSiteLink_Config.ps1 +++ b/Examples/Resources/ADReplicationSiteLInk/2-ADReplicationSiteLink_ModifyExistingReplicationSiteLink_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will modify an existing AD Replication Site Link. #> -Configuration ModifyExistingReplicationSiteLink_Config +Configuration ADReplicationSiteLink_ModifyExistingReplicationSiteLink_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADReplicationSubnet/1-CreateReplicationSubnet_Config.ps1 b/Examples/Resources/ADReplicationSubnet/1-ADReplicationSubnet_CreateReplicationSubnet_Config.ps1 similarity index 92% rename from Examples/Resources/ADReplicationSubnet/1-CreateReplicationSubnet_Config.ps1 rename to Examples/Resources/ADReplicationSubnet/1-ADReplicationSubnet_CreateReplicationSubnet_Config.ps1 index f43e538a9..7f045d5e1 100644 --- a/Examples/Resources/ADReplicationSubnet/1-CreateReplicationSubnet_Config.ps1 +++ b/Examples/Resources/ADReplicationSubnet/1-ADReplicationSubnet_CreateReplicationSubnet_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will create an AD Replication Subnet. #> -Configuration CreateReplicationSubnet_Config +Configuration ADReplicationSubnet_CreateReplicationSubnet_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADServicePrincipalName/1-AddUserServicePrincipalName_Config.ps1 b/Examples/Resources/ADServicePrincipalName/1-ADServicePrincipalName_AddUserServicePrincipalName_Config.ps1 similarity index 92% rename from Examples/Resources/ADServicePrincipalName/1-AddUserServicePrincipalName_Config.ps1 rename to Examples/Resources/ADServicePrincipalName/1-ADServicePrincipalName_AddUserServicePrincipalName_Config.ps1 index a523dde17..abf9b84c6 100644 --- a/Examples/Resources/ADServicePrincipalName/1-AddUserServicePrincipalName_Config.ps1 +++ b/Examples/Resources/ADServicePrincipalName/1-ADServicePrincipalName_AddUserServicePrincipalName_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will add a Service Principal Name to a user account. #> -Configuration AddUserServicePrincipalName_Config +Configuration ADServicePrincipalName_AddUserServicePrincipalName_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADServicePrincipalName/2-AddComputerServicePrincipalName_Config.ps1 b/Examples/Resources/ADServicePrincipalName/2-ADServicePrincipalName_AddComputerServicePrincipalName_Config.ps1 similarity index 92% rename from Examples/Resources/ADServicePrincipalName/2-AddComputerServicePrincipalName_Config.ps1 rename to Examples/Resources/ADServicePrincipalName/2-ADServicePrincipalName_AddComputerServicePrincipalName_Config.ps1 index 59ae8e652..b385cf55a 100644 --- a/Examples/Resources/ADServicePrincipalName/2-AddComputerServicePrincipalName_Config.ps1 +++ b/Examples/Resources/ADServicePrincipalName/2-ADServicePrincipalName_AddComputerServicePrincipalName_Config.ps1 @@ -21,7 +21,7 @@ .DESCRIPTION This configuration will add a Service Principal Name to a computer account. #> -Configuration AddComputerServicePrincipalName_Config +Configuration ADServicePrincipalName_AddComputerServicePrincipalName_Config { Import-DscResource -Module ActiveDirectoryDsc diff --git a/Examples/Resources/ADUser/1-CreateUserAndManagePassword_Config.ps1 b/Examples/Resources/ADUser/1-ADUser_CreateUserAndManagePassword_Config.ps1 similarity index 95% rename from Examples/Resources/ADUser/1-CreateUserAndManagePassword_Config.ps1 rename to Examples/Resources/ADUser/1-ADUser_CreateUserAndManagePassword_Config.ps1 index bdb15582f..e3432b82a 100644 --- a/Examples/Resources/ADUser/1-CreateUserAndManagePassword_Config.ps1 +++ b/Examples/Resources/ADUser/1-ADUser_CreateUserAndManagePassword_Config.ps1 @@ -22,7 +22,7 @@ This configuration will create a user with a managed password. This might be used to manage the lifecycle of a service account. #> -Configuration CreateUserAndManagePassword_Config +Configuration ADUser_CreateUserAndManagePassword_Config { param ( diff --git a/Examples/Resources/ADUser/2-CreateUserAndIgnorePasswordChanges_Config.ps1 b/Examples/Resources/ADUser/2-ADUser_CreateUserAndIgnorePasswordChanges_Config.ps1 similarity index 95% rename from Examples/Resources/ADUser/2-CreateUserAndIgnorePasswordChanges_Config.ps1 rename to Examples/Resources/ADUser/2-ADUser_CreateUserAndIgnorePasswordChanges_Config.ps1 index 172349a6f..6a1bd37f3 100644 --- a/Examples/Resources/ADUser/2-CreateUserAndIgnorePasswordChanges_Config.ps1 +++ b/Examples/Resources/ADUser/2-ADUser_CreateUserAndIgnorePasswordChanges_Config.ps1 @@ -23,7 +23,7 @@ when the password has changed. This might be used with a traditional user account where a managed password is not desired. #> -Configuration CreateUserAndIgnorePasswordChanges_Config +Configuration ADUser_CreateUserAndIgnorePasswordChanges_Config { param (