Skip to main content

Write-AdcChangeLog

SYNOPSIS

Writes a log entry for change objects.

SYNTAX

__AllParameterSets

Write-AdcChangeLog [-Changes] <Object> [<CommonParameters>]

DESCRIPTION

Writes a log entry for change objects. This is designed to provide standardized logging for changes being applied.

Use New-AdcChange to generate a change object in the format expected by this command.

EXAMPLES

EXAMPLE 1

Write-AdcChangeLog -Changes $testItem.Changed

Writes log entries, one for each change in the $testItem variable.

PARAMETERS

-Changes

The list of changes to log

Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.