mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-12 09:40:45 +01:00
28 lines
696 B
Markdown
28 lines
696 B
Markdown
## cd-home.ps1 - Sets the working directory to the user's home directory
|
|
|
|
This script changes the working directory to the user's home directory.
|
|
|
|
## Parameters
|
|
```powershell
|
|
/home/markus/Repos/PowerShell/Scripts/cd-home.ps1 [<CommonParameters>]
|
|
|
|
[<CommonParameters>]
|
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
|
```
|
|
|
|
## Example
|
|
```powershell
|
|
PS> ./cd-home
|
|
📂/home/markus
|
|
|
|
```
|
|
|
|
## Notes
|
|
Author: Markus Fleschutz · License: CC0
|
|
|
|
## Related Links
|
|
https://github.com/fleschutz/PowerShell
|
|
|
|
*Generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1*
|