< Back

Invoke-pChecksAD

Sat Jan 18, 2020 6:40 pm

NAME Invoke-pChecksAD



SYNTAX

Invoke-pChecksAD [[-pChecksIndexFilePath] <string>] [[-pChecksFolderPath] <string>]

[[-BaselineConfigurationFolderPath] <string>] [[-TestType] {Simple | Comprehensive}] [[-Tag] <string[]>]

[[-TestTarget] {Nodes | General}] [[-NodeName] <string[]>] [[-Credential] <pscredential>] [[-EventSource]

<string>] [[-EventIDBase] <int>] [[-Identifier] <string>] [[-CustomerId] <string>] [[-SharedKey] <string>]

[[-OutputFolder] <string>] [[-FilePrefix] <string>] [[-Show] {All | Context | Default | Describe | Failed | Fails

| Header | Inconclusive | None | Passed | Pending | Skipped | Summary}] [-WriteToEventLog] [-WriteToAzureLog]

[-IncludeDate] [<CommonParameters>]





PARAMETERS

-BaselineConfigurationFolderPath <string>

Folder with current configuration (baseline)



Required? false

Position? 2

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Credential <pscredential>

Provide Credential



Required? false

Position? 7

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-CustomerId <string>



Required? false

Position? 11

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-EventIDBase <int>



Required? false

Position? 9

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-EventSource <string>



Required? false

Position? 8

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-FilePrefix <string>

FileName for Pester test results



Required? false

Position? 14

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-Identifier <string>

Name for checks to store in Azure Log Analytics



Required? false

Position? 10

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-IncludeDate

Include Date in File Name



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-NodeName <string[]>

Node to test



Required? false

Position? 6

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-OutputFolder <string>

Folder with Pester test results



Required? false

Position? 13

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-SharedKey <string>



Required? false

Position? 12

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-Show <string>

Show Pester Tests on console



Required? false

Position? 15

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-Tag <string[]>

Tag for Pester



Required? false

Position? 4

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-TestTarget <string[]>

Target Type to test



Required? false

Position? 5

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-TestType <string[]>

test type for Pester



Required? false

Position? 3

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-WriteToAzureLog



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-WriteToEventLog



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-pChecksFolderPath <string>

Folder with Pester tests



Required? false

Position? 1

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-pChecksIndexFilePath <string>

Path to Checks Index File



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

System.String[]

System.Management.Automation.PSCredential

System.Management.Automation.SwitchParameter

System.String

System.Int32





OUTPUTS

System.Collections.Hashtable





ALIASES

None





REMARKS

None





description : {@{Text=Will use ReportUnit executable to generate html report based on NUnit xml files}}

syntax : @{syntaxItem=@{name=Invoke-pChecksReportUnit; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=Invoke-pChecksReportUnit

-ReportUnitPath c:\\Tools\\ReportUnit.exe -InputFolder c:\\PesterTests -OutputFolder c:\\PesterReports;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

details : @{name=Invoke-pChecksReportUnit; description=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 : Invoke-pChecksReportUnit

Category : Function

Synopsis : Will generate html report based on NUnit XML files.

Component :

Role :

Functionality :

ModuleName : pChecksAD