History
Bật tính năng lịch sử câu lệnh ở PowerShell (giống fzf):
Set-PSReadLineOption -PredictionSource History
Creating Hard and Soft Links Using PowerShell
Function New-SymLink ($link, $target) {
if (test-path \-pathtype container $target) {
$command \= "cmd /c mklink /d"
} else {
$command \= "cmd /c mklink"
}
invoke-expression "$command $link $target"
}