Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created March 6, 2024 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/001107bd9f39f1be787e3b8293e3e253 to your computer and use it in GitHub Desktop.
Save choco-bot/001107bd9f39f1be787e3b8293e3e253 to your computer and use it in GitHub Desktop.
PSScriptAnalyzer v1.22.0 - Passed - Package Tests Results

PSScriptAnalyzer v1.22.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/PSScriptAnalyzer/1.22.0
  • Tested 06 Mar 2024 02:15:51 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\psscriptanalyzer.nupkg" checksum="856AA58B8AF2CBC06E4EA29A0516A5CD" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\psscriptanalyzer.nuspec" checksum="3869C70B6FC1DC2E60B99DE87402B286" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\PSScriptAnalyzer.zip.txt" checksum="996787F24ABCE27DBA6494704BA84FAA" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\.skipAutoUninstaller" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyBeforeModify.ps1" checksum="2CCF41B6AA40CFE0DC0973CF857B9A4B" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyInstall.ps1" checksum="121F9DBCD1C9E1C8DDA79B389036FF71" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyUninstall.ps1" checksum="D60DAAF4C5F49EB68D305B2F134F211D" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\LICENSE.txt" checksum="F8332076BAC09E25CB649A54D8A3375C" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\parameters.saved" checksum="8D49E173D3A6D704F1CDDA5695A8557F" />
<file path="C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\VERIFICATION.txt" checksum="E0F8D9A0FCC11C341B93092C290B8A8F" />
</files>
</fileSnapshot>
2024-03-06 02:14:39,834 6048 [DEBUG] - XmlConfiguration is now operational
2024-03-06 02:14:40,163 6048 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,163 6048 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,180 6048 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,180 6048 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,194 6048 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,209 6048 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,209 6048 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,224 6048 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,224 6048 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-06 02:14:40,240 6048 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-06 02:14:40,240 6048 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-06 02:14:41,751 6048 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,756 6048 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,771 6048 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,771 6048 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,792 6048 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,802 6048 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,818 6048 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,818 6048 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,851 6048 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:41,867 6048 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:14:42,007 6048 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-06 02:14:42,022 6048 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-06 02:14:42,038 6048 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-06 02:14:42,052 6048 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-06 02:14:42,071 6048 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-06 02:14:42,094 6048 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-06 02:14:42,100 6048 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-06 02:14:42,123 6048 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-06 02:14:42,131 6048 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-06 02:14:42,147 6048 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-06 02:14:42,163 6048 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-06 02:14:42,163 6048 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-06 02:14:42,180 6048 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-06 02:14:42,180 6048 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-06 02:14:42,193 6048 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-06 02:14:42,209 6048 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-06 02:14:42,209 6048 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-06 02:14:42,224 6048 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-06 02:14:42,241 6048 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-06 02:14:42,241 6048 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-06 02:14:42,787 6048 [INFO ] - ============================================================
2024-03-06 02:14:43,365 6048 [INFO ] - Chocolatey v2.2.2
2024-03-06 02:14:43,396 6048 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-06 02:14:43,412 6048 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-06 02:14:43,412 6048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-06 02:14:43,443 6048 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install PSScriptAnalyzer --version 1.22.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-06 02:14:43,443 6048 [DEBUG] - Received arguments: install PSScriptAnalyzer --version 1.22.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-06 02:14:43,680 6048 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-06 02:14:43,724 6048 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-06 02:14:43,755 6048 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-06 02:14:44,116 6048 [DEBUG] - Performing validation checks.
2024-03-06 02:14:44,132 6048 [DEBUG] - Global Configuration Validation Checks:
2024-03-06 02:14:44,146 6048 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-06 02:14:44,161 6048 [DEBUG] - System State Validation Checks:
2024-03-06 02:14:44,161 6048 [DEBUG] - Reboot Requirement Checks:
2024-03-06 02:14:44,177 6048 [DEBUG] - - Pending Computer Rename = Checked
2024-03-06 02:14:44,193 6048 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-06 02:14:44,193 6048 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-06 02:14:44,210 6048 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-06 02:14:44,210 6048 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-06 02:14:44,224 6048 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-06 02:14:44,240 6048 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-06 02:14:44,240 6048 [DEBUG] - - Elevated State = Checked
2024-03-06 02:14:44,255 6048 [DEBUG] - - Folder Exists = Checked
2024-03-06 02:14:44,271 6048 [DEBUG] - - Folder lockdown = Checked
2024-03-06 02:14:44,287 6048 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-06 02:14:44,334 6048 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-06 02:14:44,349 6048 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-03-06 02:14:44,428 6048 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='PSScriptAnalyzer'|Version='1.22.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='PSScriptAnalyzer'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-894VMEKJ0VL'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-03-06 02:14:44,428 6048 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-03-06 02:14:44,444 6048 [INFO ] - Installing the following packages:
2024-03-06 02:14:44,460 6048 [INFO ] - PSScriptAnalyzer
2024-03-06 02:14:44,475 6048 [INFO ] - By installing, you accept licenses for the packages.
2024-03-06 02:14:44,491 6048 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-06 02:14:44,491 6048 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-06 02:14:44,506 6048 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-06 02:14:44,520 6048 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-06 02:14:44,520 6048 [DEBUG] - * 'ChocolateyLastPathUpdate'='133541167517528705' ('User')
2024-03-06 02:14:44,520 6048 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-06 02:14:44,536 6048 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-06 02:14:44,536 6048 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-06 02:14:44,553 6048 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2024-03-06 02:14:44,553 6048 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-06 02:14:44,568 6048 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-06 02:14:44,568 6048 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-06 02:14:44,568 6048 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-06 02:14:44,584 6048 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-06 02:14:44,584 6048 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-06 02:14:44,600 6048 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-06 02:14:44,600 6048 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-06 02:14:44,600 6048 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-06 02:14:44,615 6048 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-06 02:14:44,615 6048 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-06 02:14:44,631 6048 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-06 02:14:45,335 6048 [DEBUG] - Running list with the following filter = ''
2024-03-06 02:14:45,350 6048 [DEBUG] - --- Start of List ---
2024-03-06 02:14:45,397 6048 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-06 02:14:45,993 6048 [DEBUG] - chocolatey 2.2.2
2024-03-06 02:14:46,005 6048 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-06 02:14:46,022 6048 [DEBUG] - KB2919355 1.0.20160915
2024-03-06 02:14:46,039 6048 [DEBUG] - KB2919442 1.0.20160915
2024-03-06 02:14:46,039 6048 [DEBUG] - KB2999226 1.0.20181019
2024-03-06 02:14:46,053 6048 [DEBUG] - KB3035131 1.0.3
2024-03-06 02:14:46,099 6048 [DEBUG] - KB3118401 1.0.5
2024-03-06 02:14:46,099 6048 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-06 02:14:46,115 6048 [DEBUG] - --- End of List ---
2024-03-06 02:14:46,131 6048 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-03-06 02:14:46,787 6048 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-03-06 02:14:47,537 6048 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='psscriptanalyzer',Version='1.22.0')
2024-03-06 02:14:47,818 6048 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='psscriptanalyzer',Version='1.22.0') 276ms
2024-03-06 02:14:48,084 6048 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-03-06 02:14:48,802 6048 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-03-06 02:14:48,834 6048 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='PSScriptAnalyzer',Version='1.22.0')
2024-03-06 02:14:49,599 6048 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
2024-03-06 02:14:49,677 6048 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 70ms
2024-03-06 02:14:49,740 6048 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey'&semVerLevel=2.0.0
2024-03-06 02:14:49,802 6048 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='chocolatey'&semVerLevel=2.0.0 56ms
2024-03-06 02:14:50,271 6048 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.1.0'
2024-03-06 02:14:50,461 6048 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.1.0' 185ms
2024-03-06 02:14:50,646 6048 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.10-beta-20160531'
2024-03-06 02:14:50,772 6048 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.10-beta-20160531' 113ms
2024-03-06 02:14:50,866 6048 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.8.20-beta1'
2024-03-06 02:14:50,974 6048 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.8.20-beta1' 112ms
2024-03-06 02:14:51,099 6048 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.8.31'
2024-03-06 02:14:51,225 6048 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','0.9.8.31' 113ms
2024-03-06 02:14:51,443 6048 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','1.0.0'
2024-03-06 02:14:51,568 6048 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='chocolatey'&$skiptoken='chocolatey','1.0.0' 116ms
2024-03-06 02:14:51,927 6048 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-03-06 02:14:51,959 6048 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-03-06 02:14:52,037 6048 [DEBUG] - Attempting to delete file "".
2024-03-06 02:14:52,083 6048 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/PSScriptAnalyzer/1.22.0
2024-03-06 02:14:52,818 6048 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/PSScriptAnalyzer/1.22.0 712ms
2024-03-06 02:14:52,880 6048 [INFO ] - [NuGet] Acquiring lock for the installation of PSScriptAnalyzer 1.22.0
2024-03-06 02:14:52,991 6048 [INFO ] - [NuGet] Acquired lock for the installation of PSScriptAnalyzer 1.22.0
2024-03-06 02:14:56,943 6048 [INFO ] - [NuGet] Installed PSScriptAnalyzer 1.22.0 from https://community.chocolatey.org/api/v2/ with content hash 8UUs/6fSiRdPYMCAYvDX14FrVXgbb3qlc6vvTZlTwV2QM5A2mDLJkjV7+M+W5WJEqR+Je93i96iDhoPUbrzOCQ==.
2024-03-06 02:14:57,037 6048 [INFO ] - [NuGet] Adding package 'PSScriptAnalyzer.1.22.0 : chocolatey [0.10.8, )' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-06 02:14:57,209 6048 [INFO ] - [NuGet] Added package 'PSScriptAnalyzer.1.22.0 : chocolatey [0.10.8, )' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-06 02:14:57,224 6048 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\PSScriptAnalyzer/1.22.0\PSScriptAnalyzer.1.22.0.nupkg".
2024-03-06 02:14:57,239 6048 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\PSScriptAnalyzer/1.22.0\.nupkg.metadata".
2024-03-06 02:14:57,239 6048 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\PSScriptAnalyzer/1.22.0\PSScriptAnalyzer.1.22.0.nupkg.sha512".
2024-03-06 02:14:57,255 6048 [INFO ] -
psscriptanalyzer v1.22.0 (forced)
2024-03-06 02:14:57,396 6048 [INFO ] - psscriptanalyzer package files install completed. Performing other installation steps.
2024-03-06 02:14:57,505 6048 [DEBUG] - Setting installer args for PSScriptAnalyzer
2024-03-06 02:14:57,521 6048 [DEBUG] - Setting package parameters for PSScriptAnalyzer
2024-03-06 02:14:57,521 6048 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyInstall.ps1':
2024-03-06 02:14:57,552 6048 [DEBUG] - $ErrorActionPreference = 'Stop'
$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
$moduleName = $env:ChocolateyPackageName # this may be different from the package name and different case
$moduleVersion = $env:ChocolateyPackageVersion # this may change so keep this here
$savedParamsPath = Join-Path $toolsDir -ChildPath 'parameters.saved'
if ($PSVersionTable.PSVersion.Major -lt 3) {
throw "$moduleName module requires a minimum of PowerShell v3."
}
# module may already be installed outside of Chocolatey
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
# remove the saved parameters file if it exists
if (Test-Path -Path $savedParamsPath) {
Remove-Item -Path $savedParamsPath -Force
}
$params = Get-PackageParameters
$sourcePath = Join-Path -Path $toolsDir -ChildPath "$modulename.zip"
$destinationPath = @()
if ($params.Desktop -or (-not $params.Core)) {
$desktopPath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName"
# PS > 5 needs to extract to a folder with the module version
if ($PSVersionTable.PSVersion.Major -ge 5) {
$desktopPath = Join-Path -Path $desktopPath -ChildPath $moduleVersion
}
$destinationPath += $desktopPath
}
if ($params.Core) {
$destinationPath += Join-Path -Path $env:ProgramFiles -ChildPath "PowerShell\Modules\$moduleName\$moduleVersion"
}
ForEach ($destPath in $destinationPath) {
Write-Verbose "Installing '$modulename' to '$destPath'."
# check destination path exists and create if not
if (Test-Path -Path $destPath) {
$null = New-Item -Path $destPath -ItemType Directory -Force
}
Get-ChocolateyUnzip -FileFullPath $sourcePath -Destination $destPath -PackageName $moduleName
# save the locations where the module was installed so we can uninstall it
Add-Content -Path $savedParamsPath -Value $destPath
}
# For PowerShell 4 the module destination needs to be added to the PSModulePath
if ($PSVersionTable.PSVersion.Major -lt 4) {
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
if ($modulePaths -notcontains $destPath) {
Write-Verbose "Adding '$destPath' to PSModulePath."
$newModulePath = @($destPath, $modulePaths) -join ';'
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
$env:PSModulePath = $newModulePath
}
}
# cleanup the module from the Chocolatey $toolsDir folder
Remove-Item -Path $sourcePath -Force -Recurse
2024-03-06 02:14:57,616 6048 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-03-06 02:14:57,630 6048 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-06 02:14:58,818 6048 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-06 02:14:59,943 6048 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-06 02:14:59,959 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-06 02:14:59,959 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-06 02:14:59,975 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-06 02:14:59,975 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-06 02:14:59,991 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-06 02:14:59,991 6048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-06 02:15:00,005 6048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:00,023 6048 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-06 02:15:00,023 6048 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:00,037 6048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-06 02:15:00,037 6048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:00,053 6048 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-06 02:15:00,053 6048 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-06 02:15:00,069 6048 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:00,085 6048 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-06 02:15:00,085 6048 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-06 02:15:00,100 6048 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-06 02:15:00,100 6048 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-06 02:15:00,115 6048 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-06 02:15:00,115 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:00,132 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:00,132 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:00,147 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:00,147 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-06 02:15:00,164 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-06 02:15:00,177 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:00,177 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:00,193 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:00,193 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:00,208 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:00,208 6048 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-06 02:15:00,224 6048 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-06 02:15:00,224 6048 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-06 02:15:00,240 6048 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:00,240 6048 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-06 02:15:00,256 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-06 02:15:00,256 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:00,271 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:00,271 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:00,288 6048 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-06 02:15:00,288 6048 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:00,302 6048 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-06 02:15:00,318 6048 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-06 02:15:00,318 6048 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:00,333 6048 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-06 02:15:00,333 6048 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-06 02:15:00,349 6048 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:00,365 6048 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:00,365 6048 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-06 02:15:00,381 6048 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-06 02:15:00,442 6048 [DEBUG] - Loading community extensions
2024-03-06 02:15:00,490 6048 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-06 02:15:00,490 6048 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-06 02:15:00,646 6048 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-06 02:15:00,646 6048 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-06 02:15:00,661 6048 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-06 02:15:00,661 6048 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-06 02:15:00,678 6048 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-06 02:15:00,678 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-06 02:15:00,693 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:00,693 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-06 02:15:00,708 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:00,708 6048 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:00,708 6048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-06 02:15:00,725 6048 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:00,725 6048 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-06 02:15:00,740 6048 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:00,740 6048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-06 02:15:00,755 6048 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:00,771 6048 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-06 02:15:00,771 6048 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-06 02:15:00,787 6048 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:00,787 6048 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-06 02:15:00,802 6048 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-06 02:15:00,802 6048 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-06 02:15:00,802 6048 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-06 02:15:00,819 6048 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-06 02:15:00,819 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:00,834 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:00,834 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:00,849 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:00,849 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-06 02:15:00,865 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-06 02:15:00,865 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:00,880 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:00,880 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:00,896 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:00,896 6048 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:00,896 6048 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-06 02:15:00,912 6048 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-06 02:15:00,912 6048 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-06 02:15:00,928 6048 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:00,928 6048 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-06 02:15:00,943 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-06 02:15:00,943 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:00,943 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:00,959 6048 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:00,959 6048 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-06 02:15:00,974 6048 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:00,974 6048 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-06 02:15:00,990 6048 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-06 02:15:00,990 6048 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-06 02:15:01,006 6048 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-06 02:15:01,006 6048 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:01,021 6048 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-06 02:15:01,021 6048 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-06 02:15:01,037 6048 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:01,037 6048 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:01,052 6048 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-06 02:15:01,052 6048 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-06 02:15:01,069 6048 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-06 02:15:01,069 6048 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-06 02:15:01,086 6048 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:01,086 6048 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-06 02:15:01,100 6048 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:01,100 6048 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:01,115 6048 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-06 02:15:01,115 6048 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:01,130 6048 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-06 02:15:01,130 6048 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:01,146 6048 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-06 02:15:01,146 6048 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:01,161 6048 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-06 02:15:01,161 6048 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-06 02:15:01,179 6048 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:01,179 6048 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-06 02:15:01,193 6048 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-06 02:15:01,193 6048 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-06 02:15:01,208 6048 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-06 02:15:01,208 6048 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-06 02:15:01,317 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:01,334 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:01,334 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:01,349 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:01,349 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-06 02:15:01,365 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-06 02:15:01,365 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:01,381 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:01,381 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:01,396 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:01,396 6048 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:01,412 6048 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-06 02:15:01,428 6048 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-06 02:15:01,428 6048 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-06 02:15:01,446 6048 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-06 02:15:01,446 6048 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:01,459 6048 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-06 02:15:01,459 6048 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-06 02:15:01,476 6048 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-06 02:15:01,476 6048 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:01,492 6048 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:01,505 6048 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:01,505 6048 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-06 02:15:01,521 6048 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:01,521 6048 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-06 02:15:01,537 6048 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-06 02:15:01,537 6048 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:01,553 6048 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-06 02:15:01,553 6048 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-06 02:15:01,568 6048 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:01,568 6048 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-06 02:15:01,568 6048 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-06 02:15:01,584 6048 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:01,755 6048 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-06 02:15:01,802 6048 [DEBUG] - Running 'ChocolateyScriptRunner' for PSScriptAnalyzer v1.22.0 with packageScript 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-06 02:15:01,897 6048 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyInstall.ps1'
2024-03-06 02:15:02,428 6048 [DEBUG] - Running Get-PackageParameters
2024-03-06 02:15:02,477 6048 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2024-03-06 02:15:02,693 6048 [INFO ] - VERBOSE: Installing 'PSScriptAnalyzer' to 'C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0'.
2024-03-06 02:15:03,243 6048 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\PSScriptAnalyzer.zip' -destination 'C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0' -packageName 'PSScriptAnalyzer'
2024-03-06 02:15:03,289 6048 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-03-06 02:15:03,842 6048 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\PSScriptAnalyzer.zip to C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0...
2024-03-06 02:15:04,126 6048 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2024-03-06 02:15:04,318 6048 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0" -y "C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\PSScriptAnalyzer.zip"]
2024-03-06 02:15:09,976 6048 [INFO ] - VERBOSE:
2024-03-06 02:15:10,021 6048 [INFO ] - VERBOSE:
2024-03-06 02:15:10,037 6048 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-03-06 02:15:10,053 6048 [INFO ] - VERBOSE: Scanning the drive for archives:
2024-03-06 02:15:10,071 6048 [INFO ] - VERBOSE:
2024-03-06 02:15:10,086 6048 [INFO ] - VERBOSE: 1 file, 15740650 bytes (16 MiB)
2024-03-06 02:15:10,099 6048 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\PSScriptAnalyzer.zip
2024-03-06 02:15:10,117 6048 [INFO ] - VERBOSE: --
2024-03-06 02:15:10,117 6048 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\PSScriptAnalyzer.zip
2024-03-06 02:15:10,131 6048 [INFO ] - VERBOSE: Type = zip
2024-03-06 02:15:10,162 6048 [INFO ] - VERBOSE: Physical Size = 15740650
2024-03-06 02:15:10,180 6048 [INFO ] - VERBOSE:
2024-03-06 02:15:10,197 6048 [INFO ] - VERBOSE: - compatibility_profiles\ubuntu_x64_18.04_6.2.4_x64_4.0.30319.42000_core.json
2024-03-06 02:15:10,350 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-48_x64_10.0.17763.0_5.1.17763.316_x64_4.0.30319.42000_framework.json
2024-03-06 02:15:10,366 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-4_x64_10.0.18362.0_7.0.0_x64_3.1.2_core.json
2024-03-06 02:15:10,382 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-4_x64_10.0.18362.0_6.2.4_x64_4.0.30319.42000_core.json
2024-03-06 02:15:10,396 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_10.0.14393.0_5.1.14393.2791_x64_4.0.30319.42000_framework.json
2024-03-06 02:15:10,414 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_10.0.14393.0_7.0.0_x64_3.1.2_core.json
2024-03-06 02:15:10,428 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_10.0.17763.0_5.1.17763.316_x64_4.0.30319.42000_framework.json
2024-03-06 02:15:10,458 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_10.0.17763.0_6.2.4_x64_4.0.30319.42000_core.json
2024-03-06 02:15:10,458 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_10.0.14393.0_6.2.4_x64_4.0.30319.42000_core.json
2024-03-06 02:15:10,474 6048 [INFO ] - VERBOSE: - compatibility_profiles\ubuntu_x64_18.04_7.0.0_x64_3.1.2_core.json
2024-03-06 02:15:10,491 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_6.3.9600.0_4.0_x64_4.0.30319.42000_framework.json
2024-03-06 02:15:10,505 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_10.0.17763.0_7.0.0_x64_3.1.2_core.json
2024-03-06 02:15:10,538 6048 [INFO ] - VERBOSE: - en-US\Microsoft.Windows.PowerShell.ScriptAnalyzer.dll-Help.xml
2024-03-06 02:15:10,571 6048 [INFO ] - VERBOSE: - PSv3\Microsoft.PowerShell.CrossCompatibility.dll
2024-03-06 02:15:10,667 6048 [INFO ] - VERBOSE: - PSv3\Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.dll
2024-03-06 02:15:10,710 6048 [INFO ] - VERBOSE: - PSv3\Microsoft.Windows.PowerShell.ScriptAnalyzer.dll
2024-03-06 02:15:10,758 6048 [INFO ] - VERBOSE: - PSv3\Newtonsoft.Json.dll
2024-03-06 02:15:10,771 6048 [INFO ] - VERBOSE: - PSv4\Microsoft.PowerShell.CrossCompatibility.dll
2024-03-06 02:15:10,790 6048 [INFO ] - VERBOSE: - PSv4\Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.dll
2024-03-06 02:15:10,803 6048 [INFO ] - VERBOSE: - PSv4\Microsoft.Windows.PowerShell.ScriptAnalyzer.dll
2024-03-06 02:15:10,818 6048 [INFO ] - VERBOSE: - PSv4\Newtonsoft.Json.dll
2024-03-06 02:15:10,835 6048 [INFO ] - VERBOSE: - PSv7\Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.dll
2024-03-06 02:15:10,854 6048 [INFO ] - VERBOSE: - PSv7\Microsoft.Windows.PowerShell.ScriptAnalyzer.dll
2024-03-06 02:15:10,865 6048 [INFO ] - VERBOSE: - PSv7\Pluralize.NET.dll
2024-03-06 02:15:10,882 6048 [INFO ] - VERBOSE: - Settings\CmdletDesign.psd1
2024-03-06 02:15:10,897 6048 [INFO ] - VERBOSE: - Settings\CodeFormatting.psd1
2024-03-06 02:15:10,912 6048 [INFO ] - VERBOSE: - Settings\CodeFormattingAllman.psd1
2024-03-06 02:15:10,927 6048 [INFO ] - VERBOSE: - Settings\CodeFormattingOTBS.psd1
2024-03-06 02:15:10,927 6048 [INFO ] - VERBOSE: - PSv7\Microsoft.PowerShell.CrossCompatibility.dll
2024-03-06 02:15:10,944 6048 [INFO ] - VERBOSE: - compatibility_profiles\win-8_x64_6.2.9200.0_3.0_x64_4.0.30319.42000_framework.json
2024-03-06 02:15:10,959 6048 [INFO ] - VERBOSE: - Settings\CodeFormattingStroustrup.psd1
2024-03-06 02:15:10,974 6048 [INFO ] - VERBOSE: - Settings\core-6.1.0-linux.json
2024-03-06 02:15:10,992 6048 [INFO ] - VERBOSE: - Settings\core-6.1.0-windows.json
2024-03-06 02:15:11,006 6048 [INFO ] - VERBOSE: - Settings\core-6.1.0-macos.json
2024-03-06 02:15:11,022 6048 [INFO ] - VERBOSE: - Settings\desktop-3.0-windows.json
2024-03-06 02:15:11,042 6048 [INFO ] - VERBOSE: - Settings\desktop-2.0-windows.json
2024-03-06 02:15:11,053 6048 [INFO ] - VERBOSE: - Settings\core-6.1.0-linux-arm.json
2024-03-06 02:15:11,068 6048 [INFO ] - VERBOSE: - Settings\desktop-4.0-windows.json
2024-03-06 02:15:11,068 6048 [INFO ] - VERBOSE: - Settings\DSC.psd1
2024-03-06 02:15:11,084 6048 [INFO ] - VERBOSE: - Settings\PSGallery.psd1
2024-03-06 02:15:11,099 6048 [INFO ] - VERBOSE: - Settings\ScriptFunctions.psd1
2024-03-06 02:15:11,115 6048 [INFO ] - VERBOSE: - Settings\ScriptingStyle.psd1
2024-03-06 02:15:11,115 6048 [INFO ] - VERBOSE: - Settings\ScriptSecurity.psd1
2024-03-06 02:15:11,130 6048 [INFO ] - VERBOSE: - _manifest\spdx_2.2\bsi.json
2024-03-06 02:15:11,147 6048 [INFO ] - VERBOSE: - Settings\desktop-5.1.14393.206-windows.json
2024-03-06 02:15:11,147 6048 [INFO ] - VERBOSE: - _manifest\spdx_2.2\manifest.cat
2024-03-06 02:15:11,163 6048 [INFO ] - VERBOSE: - _manifest\spdx_2.2\manifest.spdx.json
2024-03-06 02:15:11,179 6048 [INFO ] - VERBOSE: - _manifest\spdx_2.2\manifest.spdx.json.sha256
2024-03-06 02:15:11,197 6048 [INFO ] - VERBOSE: - Microsoft.PowerShell.CrossCompatibility.dll
2024-03-06 02:15:11,240 6048 [INFO ] - VERBOSE: - Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.dll
2024-03-06 02:15:11,240 6048 [INFO ] - VERBOSE: - Microsoft.Windows.PowerShell.ScriptAnalyzer.dll
2024-03-06 02:15:11,271 6048 [INFO ] - VERBOSE: - Newtonsoft.Json.dll
2024-03-06 02:15:11,287 6048 [INFO ] - VERBOSE: - PSScriptAnalyzer.psm1
2024-03-06 02:15:11,303 6048 [INFO ] - VERBOSE: - ScriptAnalyzer.format.ps1xml
2024-03-06 02:15:11,319 6048 [INFO ] - VERBOSE: - ScriptAnalyzer.types.ps1xml
2024-03-06 02:15:11,333 6048 [INFO ] - VERBOSE: Everything is Ok
2024-03-06 02:15:11,333 6048 [INFO ] - VERBOSE:
2024-03-06 02:15:11,351 6048 [INFO ] - VERBOSE: Files: 56
2024-03-06 02:15:11,382 6048 [INFO ] - VERBOSE: Size: 302245799
2024-03-06 02:15:11,384 6048 [INFO ] - VERBOSE: Compressed: 15740650
2024-03-06 02:15:11,396 6048 [INFO ] - VERBOSE: - PSScriptAnalyzer.psd1
2024-03-06 02:15:11,740 6048 [DEBUG] - $exitCode was passed null
2024-03-06 02:15:11,755 6048 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0" -y "C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\PSScriptAnalyzer.zip"] exited with '0'.
2024-03-06 02:15:11,927 6048 [DEBUG] - 7z exit code: 0
2024-03-06 02:15:11,974 6048 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0
2024-03-06 02:15:12,147 6048 [DEBUG] - ----------------------------------------------------------------------
2024-03-06 02:15:12,194 6048 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-03-06 02:15:12,244 6048 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-06 02:15:12,600 6048 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-06 02:15:13,069 6048 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer'
2024-03-06 02:15:13,161 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\psscriptanalyzer.nupkg'
with checksum '856AA58B8AF2CBC06E4EA29A0516A5CD'
2024-03-06 02:15:13,161 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\psscriptanalyzer.nuspec'
with checksum '3869C70B6FC1DC2E60B99DE87402B286'
2024-03-06 02:15:13,178 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\PSScriptAnalyzer.zip.txt'
with checksum '996787F24ABCE27DBA6494704BA84FAA'
2024-03-06 02:15:13,178 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-03-06 02:15:13,195 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyBeforeModify.ps1'
with checksum '2CCF41B6AA40CFE0DC0973CF857B9A4B'
2024-03-06 02:15:13,230 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyInstall.ps1'
with checksum '121F9DBCD1C9E1C8DDA79B389036FF71'
2024-03-06 02:15:13,257 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\chocolateyUninstall.ps1'
with checksum 'D60DAAF4C5F49EB68D305B2F134F211D'
2024-03-06 02:15:13,271 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\LICENSE.txt'
with checksum 'F8332076BAC09E25CB649A54D8A3375C'
2024-03-06 02:15:13,271 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\parameters.saved'
with checksum '8D49E173D3A6D704F1CDDA5695A8557F'
2024-03-06 02:15:13,287 6048 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\tools\VERIFICATION.txt'
with checksum 'E0F8D9A0FCC11C341B93092C290B8A8F'
2024-03-06 02:15:13,494 6048 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\psscriptanalyzer.1.22.0".
2024-03-06 02:15:13,633 6048 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\psscriptanalyzer.1.22.0\.files'
2024-03-06 02:15:13,709 6048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\psscriptanalyzer.1.22.0\.extra".
2024-03-06 02:15:13,725 6048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\psscriptanalyzer.1.22.0\.version".
2024-03-06 02:15:13,803 6048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\psscriptanalyzer.1.22.0\.sxs".
2024-03-06 02:15:13,821 6048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\psscriptanalyzer.1.22.0\.pin".
2024-03-06 02:15:13,851 6048 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-03-06 02:15:13,866 6048 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PSScriptAnalyzer\.chocolateyPending".
2024-03-06 02:15:13,898 6048 [INFO ] - The install of psscriptanalyzer was successful.
2024-03-06 02:15:13,914 6048 [INFO ] - Software installed to 'C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0'
2024-03-06 02:15:14,005 6048 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-06 02:15:14,068 6048 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-06 02:15:14,084 6048 [DEBUG] - Exiting with 0
2024-03-06 02:15:34,395 5292 [DEBUG] - XmlConfiguration is now operational
2024-03-06 02:15:34,632 5292 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,646 5292 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,646 5292 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,663 5292 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,663 5292 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,679 5292 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,694 5292 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,694 5292 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,709 5292 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-06 02:15:34,709 5292 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-06 02:15:34,723 5292 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-06 02:15:35,974 5292 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:35,990 5292 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:35,990 5292 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,005 5292 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,005 5292 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,005 5292 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,022 5292 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,022 5292 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,022 5292 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,038 5292 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-06 02:15:36,083 5292 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-06 02:15:36,100 5292 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-06 02:15:36,100 5292 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-06 02:15:36,115 5292 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-06 02:15:36,115 5292 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-06 02:15:36,115 5292 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-06 02:15:36,130 5292 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-06 02:15:36,130 5292 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-06 02:15:36,130 5292 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-06 02:15:36,145 5292 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-06 02:15:36,145 5292 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-06 02:15:36,145 5292 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-06 02:15:36,162 5292 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-06 02:15:36,162 5292 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-06 02:15:36,178 5292 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-06 02:15:36,178 5292 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-06 02:15:36,178 5292 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-06 02:15:36,194 5292 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-06 02:15:36,194 5292 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-06 02:15:36,209 5292 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-06 02:15:36,568 5292 [INFO ] - ============================================================
2024-03-06 02:15:37,008 5292 [INFO ] - Chocolatey v2.2.2
2024-03-06 02:15:37,037 5292 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-06 02:15:37,053 5292 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-06 02:15:37,053 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-06 02:15:37,084 5292 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall PSScriptAnalyzer --version 1.22.0 -dvy --execution-timeout=2700
2024-03-06 02:15:37,100 5292 [DEBUG] - Received arguments: uninstall PSScriptAnalyzer --version 1.22.0 -dvy --execution-timeout=2700
2024-03-06 02:15:37,286 5292 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-06 02:15:37,334 5292 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-06 02:15:37,365 5292 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-06 02:15:37,536 5292 [DEBUG] - Performing validation checks.
2024-03-06 02:15:37,552 5292 [DEBUG] - Global Configuration Validation Checks:
2024-03-06 02:15:37,567 5292 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-06 02:15:37,583 5292 [DEBUG] - System State Validation Checks:
2024-03-06 02:15:37,583 5292 [DEBUG] - Reboot Requirement Checks:
2024-03-06 02:15:37,599 5292 [DEBUG] - - Pending Computer Rename = Checked
2024-03-06 02:15:37,614 5292 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-06 02:15:37,614 5292 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-06 02:15:37,632 5292 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-06 02:15:37,645 5292 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-06 02:15:37,645 5292 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-06 02:15:37,677 5292 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-06 02:15:37,677 5292 [DEBUG] - - Elevated State = Checked
2024-03-06 02:15:37,693 5292 [DEBUG] - - Folder Exists = Checked
2024-03-06 02:15:37,708 5292 [DEBUG] - - Folder lockdown = Checked
2024-03-06 02:15:37,724 5292 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-06 02:15:37,786 5292 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-06 02:15:37,786 5292 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-03-06 02:15:37,866 5292 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|
Input='PSScriptAnalyzer'|Version='1.22.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='PSScriptAnalyzer'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-894VMEKJ0VL'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-03-06 02:15:37,881 5292 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-03-06 02:15:37,897 5292 [INFO ] - Uninstalling the following packages:
2024-03-06 02:15:37,911 5292 [INFO ] - PSScriptAnalyzer
2024-03-06 02:15:37,927 5292 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-06 02:15:37,942 5292 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-06 02:15:37,942 5292 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-06 02:15:37,959 5292 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-06 02:15:37,959 5292 [DEBUG] - * 'ChocolateyLastPathUpdate'='133541167517528705' ('User')
2024-03-06 02:15:37,959 5292 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-06 02:15:37,975 5292 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-06 02:15:37,975 5292 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-06 02:15:37,990 5292 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2024-03-06 02:15:37,990 5292 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-06 02:15:38,005 5292 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-06 02:15:38,005 5292 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-06 02:15:38,005 5292 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-06 02:15:38,021 5292 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-06 02:15:38,021 5292 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-06 02:15:38,037 5292 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-06 02:15:38,037 5292 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-06 02:15:38,037 5292 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-06 02:15:38,052 5292 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-06 02:15:38,052 5292 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-06 02:15:38,068 5292 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-06 02:15:38,349 5292 [DEBUG] - Running list with the following filter = ''
2024-03-06 02:15:38,365 5292 [DEBUG] - --- Start of List ---
2024-03-06 02:15:38,693 5292 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-06 02:15:39,304 5292 [DEBUG] - chocolatey 2.2.2
2024-03-06 02:15:39,318 5292 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-06 02:15:39,318 5292 [DEBUG] - KB2919355 1.0.20160915
2024-03-06 02:15:39,334 5292 [DEBUG] - KB2919442 1.0.20160915
2024-03-06 02:15:39,350 5292 [DEBUG] - KB2999226 1.0.20181019
2024-03-06 02:15:39,350 5292 [DEBUG] - KB3035131 1.0.3
2024-03-06 02:15:39,365 5292 [DEBUG] - KB3118401 1.0.5
2024-03-06 02:15:39,442 5292 [DEBUG] - psscriptanalyzer 1.22.0
2024-03-06 02:15:39,459 5292 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-06 02:15:39,473 5292 [DEBUG] - --- End of List ---
2024-03-06 02:15:39,473 5292 [DEBUG] - Running list with the following filter = ''
2024-03-06 02:15:39,491 5292 [DEBUG] - --- Start of List ---
2024-03-06 02:15:39,505 5292 [DEBUG] - chocolatey 2.2.2
2024-03-06 02:15:39,521 5292 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-06 02:15:39,538 5292 [DEBUG] - KB2919355 1.0.20160915
2024-03-06 02:15:39,553 5292 [DEBUG] - KB2919442 1.0.20160915
2024-03-06 02:15:39,569 5292 [DEBUG] - KB2999226 1.0.20181019
2024-03-06 02:15:39,569 5292 [DEBUG] - KB3035131 1.0.3
2024-03-06 02:15:39,584 5292 [DEBUG] - KB3118401 1.0.5
2024-03-06 02:15:39,614 5292 [DEBUG] - psscriptanalyzer 1.22.0
2024-03-06 02:15:39,614 5292 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-06 02:15:39,630 5292 [DEBUG] - --- End of List ---
2024-03-06 02:15:39,739 5292 [DEBUG] - Running list with the following filter = ''
2024-03-06 02:15:39,739 5292 [DEBUG] - --- Start of List ---
2024-03-06 02:15:39,757 5292 [DEBUG] - chocolatey 2.2.2
2024-03-06 02:15:39,771 5292 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-06 02:15:39,787 5292 [DEBUG] - KB2919355 1.0.20160915
2024-03-06 02:15:39,787 5292 [DEBUG] - KB2919442 1.0.20160915
2024-03-06 02:15:39,803 5292 [DEBUG] - KB2999226 1.0.20181019
2024-03-06 02:15:39,803 5292 [DEBUG] - KB3035131 1.0.3
2024-03-06 02:15:39,817 5292 [DEBUG] - KB3118401 1.0.5
2024-03-06 02:15:39,853 5292 [DEBUG] - psscriptanalyzer 1.22.0
2024-03-06 02:15:39,865 5292 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-06 02:15:39,865 5292 [DEBUG] - --- End of List ---
2024-03-06 02:15:39,927 5292 [INFO ] -
psscriptanalyzer v1.22.0
2024-03-06 02:15:39,958 5292 [DEBUG] - Running beforeModify step for 'psscriptanalyzer'
2024-03-06 02:15:40,021 5292 [DEBUG] - Setting installer args for psscriptanalyzer
2024-03-06 02:15:40,021 5292 [DEBUG] - Setting package parameters for psscriptanalyzer
2024-03-06 02:15:40,037 5292 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1':
2024-03-06 02:15:40,037 5292 [DEBUG] - $ErrorActionPreference = 'Stop'
$moduleName = $env:ChocolateyPackageName # this could be different from package name
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
2024-03-06 02:15:40,084 5292 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-03-06 02:15:40,099 5292 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-06 02:15:41,209 5292 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-06 02:15:41,850 5292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-06 02:15:41,865 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-06 02:15:41,865 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:41,865 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-06 02:15:41,880 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:41,880 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:41,896 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-06 02:15:41,896 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:41,912 5292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-06 02:15:41,912 5292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:41,928 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-06 02:15:41,928 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:41,942 5292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-06 02:15:41,942 5292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-06 02:15:41,942 5292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:41,959 5292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-06 02:15:41,959 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-06 02:15:41,975 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-06 02:15:41,975 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-06 02:15:41,990 5292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-06 02:15:41,990 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:42,006 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:42,006 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:42,021 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:42,021 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-06 02:15:42,037 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-06 02:15:42,037 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:42,053 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:42,053 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:42,068 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:42,068 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:42,068 5292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-06 02:15:42,084 5292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-06 02:15:42,100 5292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-06 02:15:42,100 5292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:42,116 5292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-06 02:15:42,116 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-06 02:15:42,116 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:42,130 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:42,150 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:42,150 5292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-06 02:15:42,161 5292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:42,177 5292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-06 02:15:42,177 5292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-06 02:15:42,194 5292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:42,194 5292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-06 02:15:42,194 5292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-06 02:15:42,210 5292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:42,210 5292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:42,224 5292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-06 02:15:42,224 5292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-06 02:15:42,271 5292 [DEBUG] - Loading community extensions
2024-03-06 02:15:42,318 5292 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-06 02:15:42,318 5292 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-06 02:15:42,475 5292 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-06 02:15:42,490 5292 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-06 02:15:42,490 5292 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-06 02:15:42,505 5292 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-06 02:15:42,505 5292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-06 02:15:42,520 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-06 02:15:42,520 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:42,536 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-06 02:15:42,536 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:42,553 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:42,553 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-06 02:15:42,553 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:42,568 5292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-06 02:15:42,568 5292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:42,584 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-06 02:15:42,584 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:42,600 5292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-06 02:15:42,600 5292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-06 02:15:42,600 5292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:42,616 5292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-06 02:15:42,616 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-06 02:15:42,630 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-06 02:15:42,630 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-06 02:15:42,647 5292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-06 02:15:42,740 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:42,755 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:42,755 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:42,770 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:42,770 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-06 02:15:42,788 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-06 02:15:42,788 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:42,788 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:42,802 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:42,802 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:42,818 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:42,818 5292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-06 02:15:42,833 5292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-06 02:15:42,833 5292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-06 02:15:42,849 5292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:42,849 5292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-06 02:15:42,865 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-06 02:15:42,865 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:42,880 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:42,880 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:42,880 5292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-06 02:15:42,896 5292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:42,896 5292 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-06 02:15:42,912 5292 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-06 02:15:42,912 5292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-06 02:15:42,927 5292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-06 02:15:42,927 5292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:42,943 5292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-06 02:15:42,943 5292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-06 02:15:42,959 5292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:42,959 5292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:42,974 5292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-06 02:15:42,974 5292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-06 02:15:42,989 5292 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-06 02:15:42,989 5292 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-06 02:15:42,989 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:43,006 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-06 02:15:43,006 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:43,021 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:43,021 5292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-06 02:15:43,037 5292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:43,053 5292 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-06 02:15:43,053 5292 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:43,069 5292 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-06 02:15:43,069 5292 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:43,083 5292 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-06 02:15:43,101 5292 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-06 02:15:43,101 5292 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:43,114 5292 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-06 02:15:43,114 5292 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-06 02:15:43,130 5292 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-06 02:15:43,130 5292 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-06 02:15:43,130 5292 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-06 02:15:43,147 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:43,147 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:43,161 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:43,161 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:43,178 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-06 02:15:43,178 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-06 02:15:43,194 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:43,194 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:43,210 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:43,210 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:43,228 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:43,240 5292 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-06 02:15:43,240 5292 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-06 02:15:43,240 5292 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-06 02:15:43,256 5292 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-06 02:15:43,256 5292 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:43,272 5292 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-06 02:15:43,272 5292 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-06 02:15:43,287 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-06 02:15:43,287 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:43,302 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:43,302 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:43,318 5292 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-06 02:15:43,318 5292 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:43,335 5292 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-06 02:15:43,335 5292 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-06 02:15:43,349 5292 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:43,349 5292 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-06 02:15:43,365 5292 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-06 02:15:43,365 5292 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:43,380 5292 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-06 02:15:43,380 5292 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-06 02:15:43,396 5292 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:43,537 5292 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-06 02:15:43,584 5292 [DEBUG] - Running 'ChocolateyScriptRunner' for psscriptanalyzer v1.22.0 with packageScript 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\psscriptanalyzer', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-06 02:15:43,661 5292 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1'
2024-03-06 02:15:43,756 5292 [DEBUG] - ----------------------------------------------------------------------
2024-03-06 02:15:43,771 5292 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-03-06 02:15:43,787 5292 [DEBUG] - Backing up package files for 'psscriptanalyzer'
2024-03-06 02:15:44,006 5292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer".
2024-03-06 02:15:44,068 5292 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\psscriptanalyzer to C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0
2024-03-06 02:15:44,084 5292 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\psscriptanalyzer'
to 'C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0'
2024-03-06 02:15:46,115 5292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\psscriptanalyzer".
2024-03-06 02:15:46,131 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\psscriptanalyzer.nupkg"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nupkg".
2024-03-06 02:15:46,146 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\psscriptanalyzer.nuspec"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nuspec".
2024-03-06 02:15:46,163 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\PSScriptAnalyzer.zip.txt"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\PSScriptAnalyzer.zip.txt".
2024-03-06 02:15:46,177 5292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools".
2024-03-06 02:15:46,177 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\tools\.skipAutoUninstaller"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\.skipAutoUninstaller".
2024-03-06 02:15:46,192 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\tools\chocolateyBeforeModify.ps1"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1".
2024-03-06 02:15:46,192 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyInstall.ps1".
2024-03-06 02:15:46,209 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1".
2024-03-06 02:15:46,209 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\LICENSE.txt".
2024-03-06 02:15:46,224 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\tools\parameters.saved"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\parameters.saved".
2024-03-06 02:15:46,224 5292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer\1.22.0\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\VERIFICATION.txt".
2024-03-06 02:15:47,741 5292 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\psscriptanalyzer'
2024-03-06 02:15:47,818 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nupkg'
with checksum '856AA58B8AF2CBC06E4EA29A0516A5CD'
2024-03-06 02:15:47,818 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nuspec'
with checksum '3869C70B6FC1DC2E60B99DE87402B286'
2024-03-06 02:15:47,833 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\PSScriptAnalyzer.zip.txt'
with checksum '996787F24ABCE27DBA6494704BA84FAA'
2024-03-06 02:15:47,833 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-03-06 02:15:47,851 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1'
with checksum '2CCF41B6AA40CFE0DC0973CF857B9A4B'
2024-03-06 02:15:47,851 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyInstall.ps1'
with checksum '121F9DBCD1C9E1C8DDA79B389036FF71'
2024-03-06 02:15:47,864 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1'
with checksum 'D60DAAF4C5F49EB68D305B2F134F211D'
2024-03-06 02:15:47,864 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\LICENSE.txt'
with checksum 'F8332076BAC09E25CB649A54D8A3375C'
2024-03-06 02:15:47,880 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\parameters.saved'
with checksum '8D49E173D3A6D704F1CDDA5695A8557F'
2024-03-06 02:15:47,897 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\VERIFICATION.txt'
with checksum 'E0F8D9A0FCC11C341B93092C290B8A8F'
2024-03-06 02:15:47,913 5292 [DEBUG] - Setting installer args for psscriptanalyzer
2024-03-06 02:15:47,927 5292 [DEBUG] - Setting package parameters for psscriptanalyzer
2024-03-06 02:15:47,927 5292 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1':
2024-03-06 02:15:47,943 5292 [DEBUG] - $ErrorActionPreference = 'Stop'
$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
$moduleName = $env:ChocolateyPackageName # this may be different from the package name and different case
$savedParamsPath = Join-Path $toolsDir -ChildPath 'parameters.saved'
if (Test-Path -Path $savedParamsPath) {
$removePath = Get-Content -Path $savedParamsPath
}
else {
$removePath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName"
}
ForEach ($path in $removePath) {
Write-Verbose "Removing all version of '$moduleName' from '$path'."
Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue
}
# remove path of module from $env:PSModulePath
if ($PSVersionTable.PSVersion.Major -lt 4) {
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
Write-Verbose "Removing '$sourcePath' from PSModulePath."
$newModulePath = $modulePaths | Where-Object { $_ -ne $sourcePath }
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
$env:PSModulePath = $newModulePath
}
2024-03-06 02:15:47,958 5292 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-03-06 02:15:47,992 5292 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-06 02:15:48,036 5292 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-06 02:15:48,272 5292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-06 02:15:48,287 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-06 02:15:48,287 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:48,304 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-06 02:15:48,323 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:48,333 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:48,333 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-06 02:15:48,349 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:48,349 5292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-06 02:15:48,365 5292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:48,365 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-06 02:15:48,381 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:48,398 5292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-06 02:15:48,398 5292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-06 02:15:48,411 5292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:48,411 5292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-06 02:15:48,427 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-06 02:15:48,427 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-06 02:15:48,442 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-06 02:15:48,442 5292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-06 02:15:48,458 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:48,458 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:48,473 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:48,473 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:48,491 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-06 02:15:48,491 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-06 02:15:48,568 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:48,583 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:48,600 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:48,600 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:48,614 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:48,614 5292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-06 02:15:48,631 5292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-06 02:15:48,631 5292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-06 02:15:48,646 5292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:48,646 5292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-06 02:15:48,663 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-06 02:15:48,663 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:48,677 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:48,695 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:48,695 5292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-06 02:15:48,709 5292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:48,709 5292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-06 02:15:48,725 5292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-06 02:15:48,740 5292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:48,740 5292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-06 02:15:48,757 5292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-06 02:15:48,757 5292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:48,770 5292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:48,770 5292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-06 02:15:48,787 5292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-06 02:15:48,803 5292 [DEBUG] - Loading community extensions
2024-03-06 02:15:48,803 5292 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-06 02:15:48,818 5292 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-06 02:15:48,849 5292 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-06 02:15:48,849 5292 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-06 02:15:48,865 5292 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-06 02:15:48,865 5292 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-06 02:15:48,880 5292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-06 02:15:48,896 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-06 02:15:48,896 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:48,896 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-06 02:15:48,911 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:48,911 5292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:48,927 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-06 02:15:48,927 5292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:48,942 5292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-06 02:15:48,942 5292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:48,958 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-06 02:15:48,958 5292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:48,974 5292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-06 02:15:48,974 5292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-06 02:15:48,990 5292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:48,990 5292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-06 02:15:49,005 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-06 02:15:49,007 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-06 02:15:49,021 5292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-06 02:15:49,021 5292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-06 02:15:49,021 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:49,038 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:49,038 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:49,052 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:49,068 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-06 02:15:49,068 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-06 02:15:49,084 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:49,084 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:49,101 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:49,101 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:49,115 5292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:49,115 5292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-06 02:15:49,130 5292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-06 02:15:49,130 5292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-06 02:15:49,145 5292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:49,145 5292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-06 02:15:49,161 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-06 02:15:49,161 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:49,177 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:49,177 5292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:49,177 5292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-06 02:15:49,194 5292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:49,194 5292 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-06 02:15:49,210 5292 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-06 02:15:49,210 5292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-06 02:15:49,224 5292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-06 02:15:49,224 5292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:49,241 5292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-06 02:15:49,241 5292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-06 02:15:49,255 5292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:49,255 5292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:49,271 5292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-06 02:15:49,271 5292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-06 02:15:49,286 5292 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-06 02:15:49,286 5292 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-06 02:15:49,303 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-06 02:15:49,318 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-06 02:15:49,318 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-06 02:15:49,336 5292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-06 02:15:49,336 5292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-06 02:15:49,351 5292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-06 02:15:49,365 5292 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-06 02:15:49,365 5292 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-06 02:15:49,381 5292 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-06 02:15:49,397 5292 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-06 02:15:49,397 5292 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-06 02:15:49,412 5292 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-06 02:15:49,412 5292 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-06 02:15:49,428 5292 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-06 02:15:49,428 5292 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-06 02:15:49,442 5292 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-06 02:15:49,442 5292 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-06 02:15:49,459 5292 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-06 02:15:49,459 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:49,473 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-06 02:15:49,473 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-06 02:15:49,491 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-06 02:15:49,491 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-06 02:15:49,505 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-06 02:15:49,505 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-06 02:15:49,521 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-06 02:15:49,521 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-06 02:15:49,537 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-06 02:15:49,537 5292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-06 02:15:49,552 5292 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-06 02:15:49,552 5292 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-06 02:15:49,568 5292 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-06 02:15:49,568 5292 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-06 02:15:49,583 5292 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-06 02:15:49,583 5292 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-06 02:15:49,599 5292 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-06 02:15:49,599 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-06 02:15:49,614 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-06 02:15:49,614 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-06 02:15:49,631 5292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-06 02:15:49,631 5292 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-06 02:15:49,646 5292 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-06 02:15:49,646 5292 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-06 02:15:49,662 5292 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-06 02:15:49,662 5292 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-06 02:15:49,678 5292 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-06 02:15:49,693 5292 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-06 02:15:49,693 5292 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-06 02:15:49,710 5292 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-06 02:15:49,710 5292 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-06 02:15:49,725 5292 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-06 02:15:49,725 5292 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-06 02:15:49,741 5292 [DEBUG] - Running 'ChocolateyScriptRunner' for psscriptanalyzer v1.22.0 with packageScript 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\psscriptanalyzer', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-06 02:15:49,755 5292 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1'
2024-03-06 02:15:49,834 5292 [INFO ] - VERBOSE: Removing all version of 'psscriptanalyzer' from 'C:\Program Files\WindowsPowerShell\Modules\PSScriptAnalyzer\1.22.0'.
2024-03-06 02:15:49,943 5292 [DEBUG] - ----------------------------------------------------------------------
2024-03-06 02:15:50,037 5292 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-03-06 02:15:50,052 5292 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
2024-03-06 02:15:50,068 5292 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-06 02:15:50,224 5292 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-06 02:15:50,256 5292 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\psscriptanalyzer".
2024-03-06 02:15:50,271 5292 [DEBUG] - Ensuring removal of installation files.
2024-03-06 02:15:50,350 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nupkg'
with checksum '856AA58B8AF2CBC06E4EA29A0516A5CD'
2024-03-06 02:15:50,350 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nupkg".
2024-03-06 02:15:50,365 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nuspec'
with checksum '3869C70B6FC1DC2E60B99DE87402B286'
2024-03-06 02:15:50,380 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\psscriptanalyzer.nuspec".
2024-03-06 02:15:50,380 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\PSScriptAnalyzer.zip.txt'
with checksum '996787F24ABCE27DBA6494704BA84FAA'
2024-03-06 02:15:50,395 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\PSScriptAnalyzer.zip.txt".
2024-03-06 02:15:50,395 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-03-06 02:15:50,395 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\.skipAutoUninstaller".
2024-03-06 02:15:50,412 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1'
with checksum '2CCF41B6AA40CFE0DC0973CF857B9A4B'
2024-03-06 02:15:50,412 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyBeforeModify.ps1".
2024-03-06 02:15:50,427 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyInstall.ps1'
with checksum '121F9DBCD1C9E1C8DDA79B389036FF71'
2024-03-06 02:15:50,427 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyInstall.ps1".
2024-03-06 02:15:50,443 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1'
with checksum 'D60DAAF4C5F49EB68D305B2F134F211D'
2024-03-06 02:15:50,443 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\chocolateyUninstall.ps1".
2024-03-06 02:15:50,443 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\LICENSE.txt'
with checksum 'F8332076BAC09E25CB649A54D8A3375C'
2024-03-06 02:15:50,459 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\LICENSE.txt".
2024-03-06 02:15:50,459 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\parameters.saved'
with checksum '8D49E173D3A6D704F1CDDA5695A8557F'
2024-03-06 02:15:50,473 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\parameters.saved".
2024-03-06 02:15:50,473 5292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\VERIFICATION.txt'
with checksum 'E0F8D9A0FCC11C341B93092C290B8A8F'
2024-03-06 02:15:50,490 5292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\psscriptanalyzer\tools\VERIFICATION.txt".
2024-03-06 02:15:50,490 5292 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\psscriptanalyzer".
2024-03-06 02:15:50,505 5292 [INFO ] - psscriptanalyzer has been successfully uninstalled.
2024-03-06 02:15:50,505 5292 [DEBUG] - Removing nupkg if it still exists.
2024-03-06 02:15:50,521 5292 [DEBUG] - Ensuring removal of installation files.
2024-03-06 02:15:50,584 5292 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-06 02:15:50,601 5292 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-06 02:15:50,615 5292 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment