Out-BoxstarterLog

SYNOPSIS

Logs provided text or objects to the console and
Boxstarter log.

SYNTAX

Out-BoxstarterLog -object <Object> <CommonParameters>

DESCRIPTION

This is essentially identical to Tee-Object wih the PS 3.0
only parameter -Append. This will work in either PS 2.0 or
PS 3.0.

PARAMETER

object

Object to log.

EXAMPLE

Out-BoxstarterLog "This can be seen on the screen and in the log file"

EXAMPLE

"This can be seen on the screen and in the log file" | Out-BoxstarterLog

LINK

about boxstarter logging

Last edited Mar 14, 2013 at 6:02 AM by mwrock, version 1