- バックアップ一覧
- 現在との差分 を表示
- ソース を表示
- バックアップ を表示
- PowerShell/シェル管理/エイリアス - ビルトインのエイリアスを削除する へ行く。
- 1 (2022-02-05 (土) 15:51:16)
- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2022-02-05T15:51:16+09:00","default:ryuichi","ryuichi") * エイリアス - ビルトインのエイリアスを削除する [#cf3ca6be] #shell(){{ > Remove-Item Alias:sl Remove-Item: Alias was not removed because alias sl is constant or read-only. > Remove-Item Alias:sl -Force }} - デフォルトで用意されてるエイリアスは削除できないので、-Forceオプションを使う ** 参考 [#j9d75dd2] https://stackoverflow.com/questions/24347758/remove-alias-in-script