markdown Windows Powershell

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Windows Powershell相关的知识,希望对你有一定的参考价值。

# powershell


### create a new file with `new-item`
`new-item -name 'foobar.txt' -itemtype file -path . -value 'foobarpop'`

### create a new directory with `new-item`
`new-item -name 'foobar' -itemtype directory -path .`

### moving items with `move-item`
`move-item -path ~/.gitconfig  -destination .`

### Opening files
#### vscode
`code ./` 

### Powershell Profile (Bash Profile Equivelant)
`~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1`

### Redirecting Output to File
`git diff develop.. > diff.txt`

以上是关于markdown Windows Powershell的主要内容,如果未能解决你的问题,请参考以下文章