< Back

Add-PSBookmark

Sun Jan 12, 2020 6:04 pm

NAME Add-PSBookmark



SYNOPSIS

Add folder to bookmarks list.





SYNTAX

Add-PSBookmark [-Name] <Object> [[-dir] <String>] [<CommonParameters>]





DESCRIPTION

Add folder to bookmarks list.





PARAMETERS

-Name <Object>

The bookmark name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-dir <String>



Required? false

Position? 2

Default value

Accept pipeline input? true (ByValue)

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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Add bookmark with name.



./Add-PSBookmark [ ba ] BookmarkName (Opt)Directory









-------------------------- EXAMPLE 2 --------------------------



PS C:\\># Add bookmark from pipeline.



$pwd | Add-PSBookmark -Name "ThisDirectory"











RELATED LINKS