< Back
Get-StackIndent
Post
NAME Get-StackIndent
SYNOPSIS
Return a string formated containing line numbre in the source code, function where the line resided
SYNTAX
Get-StackIndent [<CommonParameters>]
DESCRIPTION
Return a string formated as below
[ 132 DeleteTempAdminUser] Delete user
The leading number are the line of code number that is executed (max. 9999)
The following string is the calling function name
the string length within [] is a maximum of 25 characters
The string is padded with SPACE to match the indent level:
MAIN => no SPACE
FUNCTION => 1 SPACE
SUBFUNCTION of FUNCTION => 2 SPACES
PARAMETERS
<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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-StackIndent
RELATED LINKS
SYNOPSIS
Return a string formated containing line numbre in the source code, function where the line resided
SYNTAX
Get-StackIndent [<CommonParameters>]
DESCRIPTION
Return a string formated as below
[ 132 DeleteTempAdminUser] Delete user
The leading number are the line of code number that is executed (max. 9999)
The following string is the calling function name
the string length within [] is a maximum of 25 characters
The string is padded with SPACE to match the indent level:
MAIN => no SPACE
FUNCTION => 1 SPACE
SUBFUNCTION of FUNCTION => 2 SPACES
PARAMETERS
<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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-StackIndent
RELATED LINKS