< Back

Set-PSADHealthConfig

Sun Jan 19, 2020 5:56 pm

NAME Set-PSADHealthConfig



SYNOPSIS

Sets the configuration data for this module





SYNTAX

Set-PSADHealthConfig [[-PSADHealthConfigPath] <Object>] [-SMTPServer <String>] [-MailFrom <String>] [-MailTo

<String[]>] [-MaxDaysSinceBackup <String>] [-MaxIntTimeDrift <Int32>] [-MaxExtTimeDrift <Int32>]

[-ExternalTimeServer <String>] [-MaxObjectReplCycles <Int32>] [-MaxSysvolReplCycles <Int32>] [-SupportArticleUrl

<String>] [-SlackToken <String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-PSADHealthConfigPath <Object>

The filesystem location to store configuration file data.



Required? false

Position? 1

Default value "$($PSScriptRoot)\\Config\\ADConfig.json"

Accept pipeline input? false

Accept wildcard characters? false



-SMTPServer <String>

The smtp server this module will use for reports.



Required? false

Position? named

Default value mail.server.fqdn

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-MailFrom <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MailTo <String[]>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MaxDaysSinceBackup <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MaxIntTimeDrift <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-MaxExtTimeDrift <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-ExternalTimeServer <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MaxObjectReplCycles <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-MaxSysvolReplCycles <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-SupportArticleUrl <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SlackToken <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-PSADHealthConfig -SMTPServer email.company.com













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Set-PSADHealthConfig -MailFrom admonitor@foobar.come -MailTo directoryadmins@foobar.com













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Set-PSADHealthConfig -MaxDaysSinceBackup 12















RELATED LINKS





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Test-ADConfigMailer; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-ADConfigMailer



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-ADConfigMailer

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-ADExternalTimeSync; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-ADExternalTimeSync [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-ADExternalTimeSync

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-ADInternalTimeSync; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-ADInternalTimeSync [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-ADInternalTimeSync

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-ADObjectReplication; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-ADObjectReplication [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-ADObjectReplication

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-ADReplication; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-ADReplication [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-ADReplication

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-ADServices; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-ADServices [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-ADServices

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-DCsOnline; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-DCsOnline [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-DCsOnline

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-ExternalDNSServers; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-ExternalDNSServers [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-ExternalDNSServers

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-SRVRecords; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-SRVRecords [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-SRVRecords

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Test-SysvolReplication; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Test-SysvolReplication [<CommonParameters>]



ModuleName : PSADHealth

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Test-SysvolReplication

Category : Function

Component :

Role :

Functionality :