PowerShell/Docs/cd-root.md

31 lines
1.4 KiB
Markdown
Raw Normal View History

2021-10-17 14:30:21 +02:00
<EFBFBD><EFBFBD>## cd-root.ps1 - Sets the working directory to the root directory (C:\ on Windows)
This script changes the working directory to the root directory (C:\ on Windows).
## Parameters
```powershell
C:\Users\Markus\Repos\PowerShell\Scripts\cd-root.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./cd-root
=<3D><><EFBFBD>C:\
```
## Notes
Author: Markus Fleschutz <00> License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1*