[PowerShell] Normal Commands

Create a new directory
New-Item -ItemType directory -Path C:\newDiretory
Change into a directory
Set-Location -Path D:\newDirectory 
Get items in a folder
Get-ChildItem -Path D:\newDirectory
Get items, including hidden items, in a folder
Get-ChildItem -Force D:\newDirectory
 Open a file
Invoke-Item newFile.txt

留言

這個網誌中的熱門文章

[Python] raw_input() function

[Golang] for