OutFileCommand OutFileCommand OutFileCommand Class

Definition

implementation for the out-file command

[System.Management.Automation.Cmdlet("Out", "File", DefaultParameterSetName="ByPath", HelpUri="https://go.microsoft.com/fwlink/?LinkID=113363", SupportsShouldProcess=true)]
public class OutFileCommand : Microsoft.PowerShell.Commands.Internal.Format.FrontEndCommandBase
type OutFileCommand = class
    inherit FrontEndCommandBase
Public Class OutFileCommand
Inherits FrontEndCommandBase
Inheritance
Attributes

Constructors

OutFileCommand() OutFileCommand() OutFileCommand()

set inner command

Properties

Append Append Append

Property that sets append parameter.

CommandOrigin CommandOrigin CommandOrigin Inherited from InternalCommand
CommandRuntime CommandRuntime CommandRuntime Inherited from Cmdlet
CurrentPSTransaction CurrentPSTransaction CurrentPSTransaction Inherited from Cmdlet
Encoding Encoding Encoding

Encoding optional flag

Events Events Events Inherited from PSCmdlet
FilePath FilePath FilePath

mandatory file name to write to

Force Force Force

Property that sets force parameter.

Host Host Host Inherited from PSCmdlet
InputObject InputObject InputObject Inherited from FrontEndCommandBase
InvokeCommand InvokeCommand InvokeCommand Inherited from PSCmdlet
InvokeProvider InvokeProvider InvokeProvider Inherited from PSCmdlet
JobManager JobManager JobManager Inherited from PSCmdlet
JobRepository JobRepository JobRepository Inherited from PSCmdlet
LiteralPath LiteralPath LiteralPath

mandatory file name to write to

MyInvocation MyInvocation MyInvocation Inherited from PSCmdlet
NoClobber NoClobber NoClobber

Property that prevents file overwrite.

NoNewline NoNewline NoNewline

False to add a newline to the end of the output string, true if not.

PagingParameters PagingParameters PagingParameters Inherited from PSCmdlet
ParameterSetName ParameterSetName ParameterSetName Inherited from PSCmdlet
SessionState SessionState SessionState Inherited from PSCmdlet
Stopping Stopping Stopping Inherited from Cmdlet
Width Width Width

optional, number of columns to use when writing to device

Methods

BeginProcessing() BeginProcessing() BeginProcessing()

read command line parameters

CurrentProviderLocation(String) CurrentProviderLocation(String) CurrentProviderLocation(String) Inherited from PSCmdlet
Dispose() Dispose() Dispose() Inherited from FrontEndCommandBase
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Inherited from FrontEndCommandBase
EndProcessing() EndProcessing() EndProcessing()

execution entry point

GetResolvedProviderPathFromPSPath(String, ProviderInfo) GetResolvedProviderPathFromPSPath(String, ProviderInfo) GetResolvedProviderPathFromPSPath(String, ProviderInfo) Inherited from PSCmdlet
GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String) Inherited from Cmdlet
GetUnresolvedProviderPathFromPSPath(String) GetUnresolvedProviderPathFromPSPath(String) GetUnresolvedProviderPathFromPSPath(String) Inherited from PSCmdlet
GetVariableValue(String) GetVariableValue(String) GetVariableValue(String) Inherited from PSCmdlet
GetVariableValue(String, Object) GetVariableValue(String, Object) GetVariableValue(String, Object) Inherited from PSCmdlet
InputObjectCall() InputObjectCall() InputObjectCall() Inherited from FrontEndCommandBase
InternalDispose() InternalDispose() InternalDispose()
Invoke() Invoke() Invoke() Inherited from Cmdlet
Invoke<T>() Invoke<T>() Invoke<T>() Inherited from Cmdlet
OuterCmdletCall() OuterCmdletCall() OuterCmdletCall() Inherited from FrontEndCommandBase
ProcessRecord() ProcessRecord() ProcessRecord()

execution entry point

ShouldContinue(String, String) ShouldContinue(String, String) ShouldContinue(String, String) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) Inherited from Cmdlet
ShouldProcess(String) ShouldProcess(String) ShouldProcess(String) Inherited from Cmdlet
ShouldProcess(String, String) ShouldProcess(String, String) ShouldProcess(String, String) Inherited from Cmdlet
ShouldProcess(String, String, String) ShouldProcess(String, String, String) ShouldProcess(String, String, String) Inherited from Cmdlet
ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) Inherited from Cmdlet
StopProcessing() StopProcessing() StopProcessing() Inherited from FrontEndCommandBase
ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) Inherited from Cmdlet
TransactionAvailable() TransactionAvailable() TransactionAvailable() Inherited from Cmdlet
WriteCommandDetail(String) WriteCommandDetail(String) WriteCommandDetail(String) Inherited from Cmdlet
WriteDebug(String) WriteDebug(String) WriteDebug(String) Inherited from Cmdlet
WriteError(ErrorRecord) WriteError(ErrorRecord) WriteError(ErrorRecord) Inherited from Cmdlet
WriteInformation(InformationRecord) WriteInformation(InformationRecord) WriteInformation(InformationRecord) Inherited from Cmdlet
WriteInformation(Object, String[]) WriteInformation(Object, String[]) WriteInformation(Object, String[]) Inherited from Cmdlet
WriteObject(Object) WriteObject(Object) WriteObject(Object) Inherited from Cmdlet
WriteObject(Object, Boolean) WriteObject(Object, Boolean) WriteObject(Object, Boolean) Inherited from Cmdlet
WriteObjectCall(Object) WriteObjectCall(Object) WriteObjectCall(Object) Inherited from FrontEndCommandBase
WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) Inherited from Cmdlet
WriteVerbose(String) WriteVerbose(String) WriteVerbose(String) Inherited from Cmdlet
WriteWarning(String) WriteWarning(String) WriteWarning(String) Inherited from Cmdlet

Applies to