[PowerShell] Normal Commands
Create a new directory
New-Item -ItemType directory -Path C:\newDiretoryChange into a directory
Set-Location -Path D:\newDirectoryGet items in a folder
Get-ChildItem -Path D:\newDirectoryGet items, including hidden items, in a folder
Get-ChildItem -Force D:\newDirectoryOpen a file
Invoke-Item newFile.txt
留言
張貼留言