PowerShell/Docs/cd-desktop.md
2021-10-17 14:30:21 +02:00

1.5 KiB

## cd-desktop.ps1 - Sets the working directory to the user's desktop folder

This script changes the working directory to the user's desktop folder.

Parameters

C:\Users\Markus\Repos\PowerShell\Scripts\cd-desktop.ps1 [<CommonParameters>]

[<CommonParameters>]
    This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, 
    WarningVariable, OutBuffer, PipelineVariable, and OutVariable.

Example

PS> ./cd-desktop



📂/home/markus/Desktop

Notes

Author: Markus Fleschutz · License: CC0

https://github.com/fleschutz/PowerShell

Generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1