< Back

Out-File

Mon Jan 13, 2020 8:45 pm

NAME Out-File



SYNTAX

Out-File [-FilePath] <string> [[-Encoding] {unknown | string | unicode | bigendianunicode | utf8 | utf7 | utf32 |

ascii | default | oem}] [-Append] [-Force] [-NoClobber] [-Width <int>] [-NoNewline] [-InputObject <psobject>]

[-WhatIf] [-Confirm] [<CommonParameters>]



Out-File [[-Encoding] {unknown | string | unicode | bigendianunicode | utf8 | utf7 | utf32 | ascii | default |

oem}] -LiteralPath <string> [-Append] [-Force] [-NoClobber] [-Width <int>] [-NoNewline] [-InputObject <psobject>]

[-WhatIf] [-Confirm] [<CommonParameters>]





PARAMETERS

-Append



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Confirm



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases cf

Dynamic? false



-Encoding <string>



Required? false

Position? 1

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-FilePath <string>



Required? true

Position? 0

Accept pipeline input? false

Parameter set name ByPath

Aliases None

Dynamic? false



-Force



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-InputObject <psobject>



Required? false

Position? Named

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-LiteralPath <string>



Required? true

Position? Named

Accept pipeline input? true (ByPropertyName)

Parameter set name ByLiteralPath

Aliases PSPath

Dynamic? false



-NoClobber



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases NoOverwrite

Dynamic? false



-NoNewline



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-WhatIf



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases wi

Dynamic? false



-Width <int>



Required? false

Position? Named

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.PSObject





OUTPUTS

System.Object



ALIASES

None





REMARKS

Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.

-- To download and install Help files for the module that includes this cmdlet, use Update-Help.

-- To view the Help topic for this cmdlet online, type: "Get-Help Out-File -Online" or

go to https://go.microsoft.com/fwlink/?LinkID=113363.