< Back
New-pChecksBaselineAD
Post
NAME New-pChecksBaselineAD
SYNTAX
New-pChecksBaselineAD [[-TestTarget] {Nodes | General}] [[-ComputerName] <string[]>] [[-Credential]
<pscredential>] [[-HighGroups] <string[]>] [<CommonParameters>]
PARAMETERS
-ComputerName <string[]>
Required? false
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Credential <pscredential>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-HighGroups <string[]>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-TestTarget <string[]>
Target Type to test
Required? false
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=$tests = Invoke-Pester -Script
c:\\adminTools\\tests.ps1 -PassThru; remarks=System.Management.Automation.PSObject[];
title=-------------------------- EXAMPLE 1 --------------------------}}
inputTypes : @{inputType=@{type=@{name=Accepts PesterResults from Invoke-Pester -passThru}}}
details : @{name=Write-pChecksToEventLog; description=System.Management.Automation.PSObject[]}
parameters : @{parameter=System.Management.Automation.PSObject[]}
description : {@{Text=Accepts PesterResults from Invoke-Pester -passThru as input. Will parse through results and
write events to EventLog Application with provided EventSource.
EventIDBase will be used to calculate Information (+1) and Error (+2) EventIDs.}}
syntax : @{syntaxItem=@{name=Write-pChecksToEventLog; parameter=System.Management.Automation.PSObject[]}}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Write-pChecksToEventLog
Category : Function
Synopsis : Custom formating of Pester test results written to EventLog Application
Component :
Role :
Functionality :
ModuleName : pChecksAD
SYNTAX
New-pChecksBaselineAD [[-TestTarget] {Nodes | General}] [[-ComputerName] <string[]>] [[-Credential]
<pscredential>] [[-HighGroups] <string[]>] [<CommonParameters>]
PARAMETERS
-ComputerName <string[]>
Required? false
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Credential <pscredential>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-HighGroups <string[]>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-TestTarget <string[]>
Target Type to test
Required? false
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=$tests = Invoke-Pester -Script
c:\\adminTools\\tests.ps1 -PassThru; remarks=System.Management.Automation.PSObject[];
title=-------------------------- EXAMPLE 1 --------------------------}}
inputTypes : @{inputType=@{type=@{name=Accepts PesterResults from Invoke-Pester -passThru}}}
details : @{name=Write-pChecksToEventLog; description=System.Management.Automation.PSObject[]}
parameters : @{parameter=System.Management.Automation.PSObject[]}
description : {@{Text=Accepts PesterResults from Invoke-Pester -passThru as input. Will parse through results and
write events to EventLog Application with provided EventSource.
EventIDBase will be used to calculate Information (+1) and Error (+2) EventIDs.}}
syntax : @{syntaxItem=@{name=Write-pChecksToEventLog; parameter=System.Management.Automation.PSObject[]}}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Write-pChecksToEventLog
Category : Function
Synopsis : Custom formating of Pester test results written to EventLog Application
Component :
Role :
Functionality :
ModuleName : pChecksAD