diff --git a/README.md b/README.md index 89e41078..6bcf900d 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ PowerShell come with a built-in alias `ni` for `New Item`. To remove the alias i Create or edit file `C:\Windows\System32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1`, adding following line: ```ps -Del alias:ni -Force +Remove-Item Alias:ni -Force -ErrorAction Ignore ```