윈도우 10에서 Compress-Archive를 실행하려면 powershell-admin으로 해야 한다.
일반 terminal에서는 사용할 수 없다..
Compress-Archive -Path Earth, Mercury, Venus Planets.zip
S C:\Windows\system32> cd C:\Users\Qwiklab\Documents
S C:\Users\Qwiklab\Documents> Compress-Archive -Path Earth, Mercury, Venus Planets.zip
S C:\Users\Qwiklab\Documents> $ErrorActionPreference= 'silentlycontinue'
S C:\Users\Qwiklab\Documents> Unregister-PackageSource -Name chocolatey
S C:\Users\Qwiklab\Documents> Register-PackageSource -Name chocolatey -ProviderName Chocolatey -Location http://chocola
ey.org/api/v2/
he provider 'chocolatey v2.8.5.130' is not installed.
hocolatey may be manually downloaded from https://oneget.org/ChocolateyPrototype-2.8.5.130.exe and installed.
ould you like PackageManagement to automatically download and install 'chocolatey' now?
Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
S C:\Users\Qwiklab\Documents> Install-Package -Name vlc -Source chocolatey
he provider 'nuget v2.8.5.208' is not installed.
uget may be manually downloaded from https://oneget.org/Microsoft.PackageManagement.NuGetProvider-2.8.5.208.dll and
nstalled.
ould you like PackageManagement to automatically download and install 'nuget' now?
Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
he package(s) come(s) from a package source that is not marked as trusted.
re you sure you want to install software from 'chocolatey'?
Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):
ARNING: User declined to install untrusted package (vlc).
S C:\Users\Qwiklab\Documents> Install-Package -Name vlc -Source chocolatey
he package(s) come(s) from a package source that is not marked as trusted.
re you sure you want to install software from 'chocolatey'?
Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
ame Version Source Summary
--- ------- ------ -------
hocolatey-core.extension 1.3.3 chocolatey Helper functions extending core choco functionality
lc 3.0.3 chocolatey VLC Media Player
S C:\Users\Qwiklab\Documents> Get-Package -Name vlc
ame Version Source ProviderName
--- ------- ------ ------------
lc 3.0.3 C:\Chocolatey\lib\vlc.3.0.3\v... Chocolatey
S C:\Users\Qwiklab\Documents> Choco Uninstall GIMP
hocolatey v0.10.11
ninstalling the following packages:
IMP
imp v2.10.4.20180712
Running auto uninstaller...
Auto uninstaller has successfully uninstalled gimp or detected previous uninstall.
gimp has been successfully uninstalled.
hocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
S C:\Users\Qwiklab\Documents> Get-Package
ame Version Source ProviderName
--- ------- ------ ------------
-Zip 18.05 (x64) 18.05 Programs
ooGet - googet 2.14.2@1 Programs
ooGet - google-compute-eng... 1.2.1@1 Programs
ooGet - google-compute-eng... 4.2.0@1 Programs
ooGet - google-compute-eng... 3.9.0@1 Programs
ooGet - google-compute-eng... 1.1.0@4 Programs
ooGet - google-compute-eng... 4.4.0@1 Programs
tom 1.28.2 Programs
oogle Cloud SDK Programs
oogle Chrome 68.0.3440.75 msi
oogle Update Helper 1.3.33.17 msi
hocolatey-core.extension 1.3.3 C:\Chocolatey\lib\chocolatey-... Chocolatey
lc 3.0.3 C:\Chocolatey\lib\vlc.3.0.3\v... Chocolatey
S C:\Users\Qwiklab\Documents>
S C:\Users\Qwiklab\Documents> Get-Package
ame Version Source ProviderName
--- ------- ------ ------------
-Zip 18.05 (x64) 18.05 Programs
ooGet - googet 2.14.2@1 Programs
ooGet - google-compute-eng... 1.2.1@1 Programs
ooGet - google-compute-eng... 4.2.0@1 Programs
ooGet - google-compute-eng... 3.9.0@1 Programs
ooGet - google-compute-eng... 1.1.0@4 Programs
ooGet - google-compute-eng... 4.4.0@1 Programs
tom 1.28.2 Programs
oogle Cloud SDK Programs
oogle Chrome 68.0.3440.75 msi
oogle Update Helper 1.3.33.17 msi
hocolatey-core.extension 1.3.3 C:\Chocolatey\lib\chocolatey-... Chocolatey
lc 3.0.3 C:\Chocolatey\lib\vlc.3.0.3\v... Chocolatey
S C:\Users\Qwiklab\Documents>