Skip to content

Instantly share code, notes, and snippets.

@chaim1221
Created November 28, 2016 01:30
Show Gist options
  • Save chaim1221/b342e438c21aaacf4493dc01e6988be9 to your computer and use it in GitHub Desktop.
Save chaim1221/b342e438c21aaacf4493dc01e6988be9 to your computer and use it in GitHub Desktop.
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> choco --version
0.10.3
PS C:\Windows\system32> choco install -y dotnet3.5
Chocolatey v0.10.3
Installing the following packages:
dotnet3.5
By installing you accept licenses for the packages.
DotNet3.5 v3.5.20160716 [Approved]
dotnet3.5 package files install completed. Performing other installation steps.
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="debug">Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.</S><SS="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><SS="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="verbose">Importing function 'Format-FileSize'.</S><S S="verbose">Importing function 'Get-ChecksumValid'.</S><S S="verbose">Importing function 'Get-ChocolateyUnzip'.</S><S S="verbose">Importing function 'Get-ChocolateyWebFile'.</S><S S="verbose">Importing function 'Get-EnvironmentVariable'.</S><S S="verbose">Importing function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Importing function 'Get-FtpFile'.</S><S S="verbose">Importing function 'Get-OSArchitectureWidth'.</S><S S="verbose">Importing function 'Get-ToolsLocation'.</S><S S="verbose">Importing function 'Get-UACEnabled'.</S><S S="verbose">Importing function 'Get-UninstallRegistryKey'.</S><S S="verbose">Importing function 'Get-VirusCheckValid'.</S><S S="verbose">Importing function'Get-WebFile'.</S><S S="verbose">Importing function 'Get-WebFileName'.</S><S S="verbose">Importing function 'Get-WebHeaders'.</S><S S="verbose">Importing function 'Install-BinFile'.</S><S S="verbose">Importing function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Importing function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Importing function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Importing function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPath'.</S><S S="verbose">Importing function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Importing function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Importing function 'Install-ChocolateyShortcut'.</S><S S="verbose">Importing function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Install-Vsix'.</S><S S="verbose">Importing function 'Set-EnvironmentVariable'.</S><S S="verbose">Importing function 'Set-PowerShellExitCode'.</S><S S="verbose">Importing function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Importing function 'Test-ProcessAdminRights'.</S><S S="verbose">Importing function 'Uninstall-BinFile'.</S><S S="verbose">Importingfunction 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Update-SessionEnvironment'.</S><S S="verbose">Importing function 'Write-ChocolateyFailure'.</S><S S="verbose">Importing function 'Write-ChocolateySuccess'.</S><S S="verbose">Importing function 'Write-FileUpdateLog'.</S><S S="verbose">Importing function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Importing alias 'Add-BinFile'.</S><S S="verbose">Importing alias 'Generate-BinFile'.</S><S S="verbose">Importing alias 'Get-InstallRegistryKey'.</S><S S="verbose">Importing alias 'Get-OSBitness'.</S><S S="verbose">Importing alias 'Get-ProcessorBits'.</S><S S="verbose">Importing alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Importing alias 'refreshenv'.</S><S S="verbose">Importing alias 'Remove-BinFile'.</S><S S="verbose">Importing alias 'Start-ChocolateyProcess'.</S></Objs>
0
Exiting chocolatey abnormally. Please manually clean up anything that
was not finished.
Please do not ever use Control+C or close the window to exit.
PS C:\Windows\system32> choco install -y dotnet3.5
Chocolatey v0.10.3
[Pending] Removing incomplete install for 'DotNet3.5'
Installing the following packages:
dotnet3.5
By installing you accept licenses for the packages.
DotNet3.5 v3.5.20160716 [Approved]
dotnet3.5 package files install completed. Performing other installation steps.
#< CLIXML
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="debug">Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.</S><SS="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbo
se">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S
="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmi
n'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><SS="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="verbose">Importing function 'Format-FileSize'.</S><S S="verbose">Importing function 'Get-ChecksumValid'.</S><S S="verbose">Importing function 'Get-ChocolateyUnzip'.</S><S S="verbose">Importing function 'Get-ChocolateyWebFile'.</S><S S="verbose">Importing function 'Get-EnvironmentVariable'.</S><S S="verbose">Importing function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Importing fun
ction 'Get-FtpFile'.</S><S S="verbose">Importing function 'Get-OSArchitectureWidth'.</S><S S="verbose">Importing function 'Get-ToolsLocation'.</S><S S="verbose">Importing function 'Get-UACEnabled'.</S><S S="verbose">Importing function 'Get-UninstallRegistryKey'.</S><S S="verbose">Importing function 'Get-VirusCheckValid'.</S><S S="verbose">Importing function'Get-WebFile'.</S><S S="verbose">Importing function 'Get-WebFileName'.</S><S S="verbose">Importing function 'Get-WebHeaders'.</S><S S="verbose">Importing function 'Install-BinFile'.</S><S S="verbose">Importing function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Importing function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Importing function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Importing function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPath'.</S><S S="verbose">Importing function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Importing function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Importing function 'Install-ChocolateyShortcut'.</S><S S="verbose">Importing function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Install-Vsix'.</S><S S="verbose">Importing function 'Set-EnvironmentVariable'.</S><S S="verbose">Importing function 'Set-PowerShellExitCode'.</S><S S="verbose">Importing function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Importing function 'Test-ProcessAdminRights'.</S><S S="verbose">Importing function 'Uninstall-BinFile'.</S><S S="verbose">Importingfunction 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Update-SessionEnvironment'.</S><S S="verbose">Importing function 'Write-ChocolateyFailure'.</S><S S="verbose">Importing function 'Write-ChocolateySuccess'.</S><S S="verbose">Importing function 'Write-FileUpdateLog'.</S><S S="verbose">Importing function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Importing alias 'Add-BinFile'.</S><S S="verbose">Importing alias 'Generate-BinFile'.</S><S S="verbose">Importing alias 'Get-InstallRegistryKey'.</S><S S="verbose">Importing alias 'Get-OSBitness'.</S><S S="verbose">Importing alias 'Get-ProcessorBits'.</S><S S="verbose">Importing alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Importing alias 'refreshenv'.</S><S S="verbose">Importing alias 'Remove-BinFile'.</S><S S="verbose">Importing alias 'Start-ChocolateyProcess'.</S></Objs>
0
Exiting chocolatey abnormally. Please manually clean up anything that
was not finished.
Please do not ever use Control+C or close the window to exit.
PS C:\Windows\system32> cd\
PS C:\> ls
Directory: C:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 11/27/2016 4:45 PM git
d---- 4/24/2016 10:10 PM inetpub
d---- 8/22/2013 8:52 AM PerfLogs
d-r-- 11/27/2016 5:02 PM Program Files
d---- 11/27/2016 5:05 PM Program Files (x86)
d-r-- 4/24/2016 10:15 PM Users
d---- 4/24/2016 10:10 PM Windows
PS C:\> cd .\ProgramData\chocolatey
PS C:\ProgramData\chocolatey> ls
Directory: C:\ProgramData\chocolatey
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 11/27/2016 4:34 PM bin
d---- 11/27/2016 5:12 PM config
d---- 11/27/2016 4:01 PM helpers
d---- 11/27/2016 5:13 PM lib
d---- 11/27/2016 4:23 PM logs
d---- 11/27/2016 4:01 PM redirects
d---- 11/27/2016 4:01 PM tools
-a--- 10/7/2016 2:58 AM 7480976 choco.exe
-a--- 10/7/2016 2:58 AM 0 choco.exe.ignore
-a--- 10/7/2016 2:58 AM 620 LICENSE.txt
PS C:\ProgramData\chocolatey> cd lib
PS C:\ProgramData\chocolatey\lib> ls
Directory: C:\ProgramData\chocolatey\lib
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 11/27/2016 4:01 PM chocolatey
d---- 11/27/2016 4:23 PM chromium
d---- 11/27/2016 5:13 PM DotNet3.5
d---- 11/27/2016 4:25 PM git
d---- 11/27/2016 4:25 PM git.install
d---- 11/27/2016 4:34 PM nano
PS C:\ProgramData\chocolatey\lib> rm .\DotNet3.5
Confirm
The item at C:\ProgramData\chocolatey\lib\DotNet3.5 has children and the Recurse parameter was not specified. If you
continue, all children will be removed with the item. Are you sure you want to continue?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
PS C:\ProgramData\chocolatey\lib> cd\
PS C:\> choco install dotnet3.5
Chocolatey v0.10.3
Installing the following packages:
dotnet3.5
By installing you accept licenses for the packages.
DotNet3.5 v3.5.20160716 [Approved]
dotnet3.5 package files install completed. Performing other installation steps.
The package DotNet3.5 wants to run 'ChocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?([Y]es/[N]o/[P]rint): y
#< CLIXML<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="debug">Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.</S><SS="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><SS="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="verbose">Importing function 'Format-FileSize'.</S><S S="verbose">Importing function 'Get-ChecksumValid'.</S><S S="verbose">Importing function 'Get-ChocolateyUnzip'.</S><S S="verbose">Importing function 'Get-ChocolateyWebFile'.</S><S S="verbose">Importing function 'Get-EnvironmentVariable'.</S><S S="verbose">Importing function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Importing function 'Get-FtpFile'.</S><S S="verbose">Importing function 'Get-OSArchitectureWidth'.</S><S S="verbose">Importing function 'Get-ToolsLocation'.</S><S S="verbose">Importing function 'Get-UACEnabled'.</S><S S="verbose">Importing function 'Get-UninstallRegistryKey'.</S><S S="verbose">Importing function 'Get-VirusCheckValid'.</S><S S="verbose">Importing function'Get-WebFile'.</S><S S="verbose">Importing function 'Get-WebFileName'.</S><S S="verbose">Importing function 'Get-WebHeaders'.</S><S S="verbose">Importing function 'Install-BinFile'.</S><S S="verbose">Importing function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Importing function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Importing function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Importing function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyPath'.</S><S S="verbose">Importing function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Importing function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Importing function 'Install-ChocolateyShortcut'.</S><S S="verbose">Importing function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Importing function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Install-Vsix'.</S><S S="verbose">Importing function 'Set-EnvironmentVariable'.</S><S S="verbose">Importing function 'Set-PowerShellExitCode'.</S><S S="verbose">Importing function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Importing function 'Test-ProcessAdminRights'.</S><S S="verbose">Importing function 'Uninstall-BinFile'.</S><S S="verbose">Importingfunction 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Importing function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Importing function 'Update-SessionEnvironment'.</S><S S="verbose">Importing function 'Write-ChocolateyFailure'.</S><S S="verbose">Importing function 'Write-ChocolateySuccess'.</S><S S="verbose">Importing function 'Write-FileUpdateLog'.</S><S S="verbose">Importing function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Importing alias 'Add-BinFile'.</S><S S="verbose">Importing alias 'Generate-BinFile'.</S><S S="verbose">Importing alias 'Get-InstallRegistryKey'.</S><S S="verbose">Importing alias 'Get-OSBitness'.</S><S S="verbose">Importing alias 'Get-ProcessorBits'.</S><S S="verbose">Importing alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Importing alias 'refreshenv'.</S><S S="verbose">Importing alias 'Remove-BinFile'.</S><S S="verbose">Importing alias 'Start-ChocolateyProcess'.</S></Objs>
0
Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
The install of dotnet3.5 was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
Chocolatey installed 1/1 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment