en-us/strings.psd1

# This is where the strings go, that are written by
# Write-PSFMessage, Stop-PSFFunction or the PSFramework validation scriptblocks
@{
    'Assert-ADConnection.Failed'              = 'Failed to connect to {0}' # $Server
    
    'Assert-Configuration.NotConfigured'      = 'No configuration data provided for: {0}' # $Type
    
    'General.Invalid.Input'                      = 'Invalid input: {1}! This command only accepts output objects from {0}' # 'Test-DCAccessRule', $testItem
    
    'Grant-ShareAccess.Execution.Failed'      = 'Failed to grant access to {0} on \\{2}\{1} with status {3} : {4}' # $Identity, $Name, $ComputerName, $results.Status, $results.Message
    'Grant-ShareAccess.WinRM.Failed'          = 'Failed to grant access to {0} on \\{2}\{1}: Remoting access failed' # $Identity, $Name, $ComputerName
    
    'Install-DCChildDomain.Installing'          = 'Installing a new domain' #
    'Install-DCChildDomain.Results'              = 'Finished installation of domain {0}. The result object (including the SafeMode Administrator Password) has been stored in $DomainCreationResult' # $DomainName
    
    'Install-DCDomainController.Installing'   = 'Installing Domaincontroller into domain {0}' # $DomainName
    'Install-DCDomainController.Results'      = 'Finished installation of DC {0}. The result object (including the SafeMode Administrator Password) has been stored in $DCCreationResult' # $DnsName
    
    'Install-DCRootDomain.Installing'          = 'Installing a new forest' #
    'Install-DCRootDomain.Results'              = 'Finished installation of domain {0}. The result object (including the SafeMode Administrator Password) has been stored in $ForestCreationResult' # $DnsName
    
    'Invoke-DCAccessRule.Access.Error'          = 'Failed to connect to {0} using WinRM' # $testItem.Server
    'Invoke-DCAccessRule.AccessRule.Add'      = 'Granting {0} the right {1} ({2})' # $change.DisplayName, $change.FileSystemRights, $change.AccessControlType
    'Invoke-DCAccessRule.AccessRule.Remove'   = 'Revoking {0} the right {1} ({2})' # $change.DisplayName, $change.FileSystemRights, $change.AccessControlType
    
    'Invoke-DCShare.Access.Error'              = 'Failed to establish CIM session to {0}' # $testItem.Server
    'Invoke-DCShare.Share.Create'              = 'Creating share: {0}' # $testItem.Identity
    'Invoke-DCShare.Share.Delete'              = 'Deleting share: {0}' # $testItem.Identity
    'Invoke-DCShare.Share.Migrate'              = 'Migrating share to new folder: {0}' # $testItem.Identity
    'Invoke-DCShare.Share.Update'              = 'Updating share: {0}' # $testItem.Identity
    'Invoke-DCShare.Share.UpdateAccess'          = 'Updating share permissions on {0}: {1} > {2} ({3})' # $testItem.Identity, $accessEntry.Action, $accessEntry.Identity, $accessEntry.AccessRight
    
    'Revoke-ShareAccess.Execution.Failed'      = 'Failed to revoke access for {0} on \\{2}\{1} with status {3} : {4}' # $Identity, $Name, $ComputerName, $results.Status, $results.Message
    'Revoke-ShareAccess.WinRM.Failed'          = 'Failed to revoke access for {0} on \\{2}\{1}: Remoting access failed' # $Identity, $Name, $ComputerName
    
    'Test-DCAccessRule.Identity.Error'          = '{0} | Error resolving identities assigned permissions on {1}: Cannot resolve {2}' # $domainController.Name, $path.Name, ($errorCfg.Identity -join ",")
    'Test-DCAccessRule.Path.ExistsNot'          = '{0} | Configured path does not exist: {1}' # $domainController.Name, $path.Name
    'Test-DCAccessRule.Processing'              = '{0} | Processing' # $domainController.Name
    'Test-DCAccessRule.Processing.Path'          = '{0} | Testing access rules for {1}' # $domainController.Name, $path.Name
    'Test-DCAccessRule.PSSession.Failed'      = '{0} | Error connecting via WinRM' # $domainController.Name
    
    'Test-DCShare.Access.IntegrityError'      = 'Unable to resolve all identities for \\{1}\{0} . Skipping delegation check, as permissions integrity cannot be assured.' # $share.Name, $domainController.Name
    'Test-DCShare.CimSession.Failed'          = 'Failed to establish CIM session to {0}' # $domainController.Name
    'Test-DCShare.Identity.Resolution.Failed' = 'Failed to resolve identity of {0}' # $entry
    'Test-DCShare.Processing'                  = 'Processing shares on {0}' # $domainController.Name
    
    'Validate.Child.DomainName'                  = 'Invalid domain name: {0}. Please enter a valid domain name without special characters and without the full dns tail (as it will be attached to the parent domain name)' # <user input>, <validation item>
    'Validate.ForestRoot.DnsDomainName'          = 'Invalid DNS domain name: {0}. Please enter a valid DNS name that is not a single label domain name.' # <user input>, <validation item>
    'Validate.Parent.DnsDomainName'              = 'Invalid DNS domain name: {0}. Please enter a valid DNS name that is not a single label domain name.' # <user input>, <validation item>
}