Get Spaces
Last Modified: February 25, 2024 18:18 CEST

Get-Spaces #

SYNOPSIS #

Returns a string from spaces

SYNTAX #

Get-Spaces [[-count] <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION #

Returns a string of spaces. The number of spaces is specified by the count parameter.

EXAMPLES #

Example 1Returns spaces #

PS C:\> (Get-Spaces -count 10)+"This ends here"
# Output

          This ends here

Returns count spaces.

PARAMETERS #

-count #

Count of blanks to be output

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters #

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS #

None #

OUTPUTS #

System.Object #

NOTES #