Size: 951
Comment:
|
← Revision 14 as of 2019-12-18 21:01:59 ⇥
Size: 1124
Comment: which
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
# Equivalent of UNIX `which` (Get-Command which).Path |
|
Line 13: | Line 10: |
== Equivalent Commands == || '''UNIX ''' || '''!PowerShell ''' || || `rm -rf ${target}` || `Remove-Item -Recurse -Force ${target}` || || `which which` || `(Get-Command which).Path` || |
|
Line 22: | Line 25: |
choco install -y cmake.portable git cmdermini | choco install -y cmake.portable python2 python3 7zip git visualstudiocode cmdermini |
Equivalent Commands
UNIX |
PowerShell |
rm -rf ${target} |
Remove-Item -Recurse -Force ${target} |
which which |
(Get-Command which).Path |
Choco
External links
Windows PowerShell Profiles: Where is the equivalent of .profile or .bashrc on Windows for PowerShell?
https://github.com/Disassembler0/Win10-Initial-Setup-Script: Script to remove stupid defaults and user tracking from Windows 10