Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Out-File

Out-File - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Sends output to a file.

Out-File [-FilePath] <String> [[-Encoding] <String>] [-Append] [-Force] [-InputObject <PSObject>] [-NoClobber] [-Width 
<Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Out-File [[-Encoding] <String>] [-Append] [-Force] [-InputObject <PSObject>] [-NoClobber] [-Width <Int32>] -LiteralPath
 <String> [-Confirm] [-WhatIf] [<CommonParameters>]

The Out-File cmdlet sends output to a file. You can use this cmdlet instead of the redirection operator (>) when you ne
ed to use its parameters.