Skip to content

Latest commit

 

History

History
106 lines (74 loc) · 2.99 KB

HelpersWriteFileUpdateLog.md

File metadata and controls

106 lines (74 loc) · 2.99 KB

Write-FileUpdateLog

DEPRECATED - DO NOT USE. Will be removed in v1.

Syntax

Write-FileUpdateLog `
  [-LogFilePath <String>] `
  [-LocationToMonitor <String>] `
  [-ScriptToRun <ScriptBlock>] `
  [-ArgumentList <Object[]>] `
  [-IgnoredArguments <Object[]>] [<CommonParameters>]

Description

Monitors a location and writes changes to a log file.

Notes

DEPRECATED.

Has issues with paths longer than 260 characters. See chocolatey/choco#156

Aliases

None

Inputs

None

Outputs

None

Parameters

-LogFilePath [<String>]

The full path to where to write the log file.

Property Value
Aliases
Required? false
Position? 1
Default Value
Accept Pipeline Input? false

-LocationToMonitor [<String>]

The location to watch for changes at.

Property Value
Aliases
Required? false
Position? 2
Default Value
Accept Pipeline Input? false

-ScriptToRun [<ScriptBlock>]

The script block of what to run and monitor changes.

Property Value
Aliases
Required? false
Position? 3
Default Value
Accept Pipeline Input? false

-ArgumentList [<Object[]>]

Property Value
Aliases
Required? false
Position? 4
Default Value
Accept Pipeline Input? false

-IgnoredArguments [<Object[]>]

Allows splatting with arguments that do not apply. Do not use directly.

Property Value
Aliases
Required? false
Position? 5
Default Value
Accept Pipeline Input? false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/p/?LinkID=113216 .

[[Function Reference|HelpersReference]]

NOTE: This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Write-FileUpdateLog -Full.

View the source for Write-FileUpdateLog