< Back

Clear-LocationStack

Sat Jan 18, 2020 9:47 am

NAME Clear-LocationStack



SYNOPSIS

Clears location stack.





SYNTAX

Clear-LocationStack [-force] [<CommonParameters>]





DESCRIPTION

Removes all entries from $LocationStack hashtable except the one with 'last' key.

Use <-force> to delete $LocationStack hashtable completely.





PARAMETERS

-force [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? 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



OUTPUTS





RELATED LINKS

https://github.com/PavelStsefanovich/LocationStack