Show-FileContent¶
SYNOPSIS¶
Prints the content of a file with line numbers in front of each line.
SYNTAX¶
__AllParameterSets¶
Show-FileContent [-Path] <string> [<CommonParameters>]
ALIASES¶
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION¶
Prints the content of a file with line numbers in front of each line.
EXAMPLES¶
EXAMPLE 1¶
$Path = 'C:\Utilities\Show-FileContent.ps1' Show-FileContent -Path $Path
Shows the content of the file with line numbers in front of each line.
PARAMETERS¶
-Path¶
The path to the file to show the content of.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
OUTPUTS¶
NOTES¶
RELATED LINKS¶
{{ Fill in the related links here }}