|
2023-06-27 16:59:38,172 1772 [DEBUG] - XmlConfiguration is now operational
|
|
2023-06-27 16:59:38,330 1772 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-27 16:59:38,330 1772 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-27 16:59:38,330 1772 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-27 16:59:38,344 1772 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-27 16:59:38,344 1772 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-27 16:59:38,344 1772 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-06-27 16:59:38,643 1772 [DEBUG] - Registering new command 'templates' in assembly 'choco'
|
|
2023-06-27 16:59:38,657 1772 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-06-27 16:59:38,657 1772 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-06-27 16:59:38,657 1772 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-06-27 16:59:38,673 1772 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-06-27 16:59:38,673 1772 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-06-27 16:59:38,673 1772 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-06-27 16:59:38,673 1772 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-06-27 16:59:38,688 1772 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-06-27 16:59:38,688 1772 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-06-27 16:59:38,688 1772 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-06-27 16:59:38,688 1772 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-06-27 16:59:38,703 1772 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-06-27 16:59:38,703 1772 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-06-27 16:59:38,703 1772 [DEBUG] - Registering new command 'sources' in assembly 'choco'
|
|
2023-06-27 16:59:38,703 1772 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-06-27 16:59:38,719 1772 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-06-27 16:59:38,719 1772 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-06-27 16:59:39,017 1772 [INFO ] - ============================================================
|
|
2023-06-27 16:59:39,594 1772 [INFO ] - Chocolatey v1.3.0
|
|
2023-06-27 16:59:39,626 1772 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-06-27 16:59:39,641 1772 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-06-27 16:59:39,641 1772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-06-27 16:59:39,657 1772 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install pester --version 5.5.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-06-27 16:59:39,673 1772 [DEBUG] - Received arguments: install pester --version 5.5.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-06-27 16:59:39,860 1772 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-06-27 16:59:39,892 1772 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-06-27 16:59:39,955 1772 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-06-27 16:59:40,095 1772 [DEBUG] - Performing validation checks.
|
|
2023-06-27 16:59:40,110 1772 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-06-27 16:59:40,110 1772 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-06-27 16:59:40,126 1772 [DEBUG] - System State Validation Checks:
|
|
2023-06-27 16:59:40,141 1772 [DEBUG] - Reboot Requirement Checks:
|
|
2023-06-27 16:59:40,157 1772 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-06-27 16:59:40,157 1772 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-06-27 16:59:40,173 1772 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-06-27 16:59:40,173 1772 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-06-27 16:59:40,189 1772 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-06-27 16:59:40,189 1772 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-06-27 16:59:40,204 1772 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
|
|
2023-06-27 16:59:40,267 1772 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-06-27 16:59:40,282 1772 [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.
|
|
2023-06-27 16:59:40,329 1772 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
ContainsLegacyPackageInstalls='True'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|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='pester'|
|
|
Version='5.5.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='pester'|Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
AllowMultipleVersions='False'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='1.3.0.0'|
|
|
Information.ChocolateyProductVersion='1.3.0'|
|
|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-OK1IC0AUG25'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='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'|
|
|
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.Remove='False'|PinCommand.Command='unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|
|
|
2023-06-27 16:59:40,344 1772 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-06-27 16:59:40,376 1772 [INFO ] - Installing the following packages:
|
|
2023-06-27 16:59:40,408 1772 [INFO ] - pester
|
|
2023-06-27 16:59:40,408 1772 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-06-27 16:59:40,439 1772 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-06-27 16:59:40,439 1772 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-06-27 16:59:40,454 1772 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-06-27 16:59:40,454 1772 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-06-27 16:59:40,469 1772 [DEBUG] - * 'ChocolateyLastPathUpdate'='133323412868988188' ('User')
|
|
2023-06-27 16:59:40,469 1772 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-06-27 16:59:40,469 1772 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-06-27 16:59:40,485 1772 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-06-27 16:59:40,485 1772 [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')
|
|
2023-06-27 16:59:40,501 1772 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-06-27 16:59:40,501 1772 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-06-27 16:59:40,516 1772 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-06-27 16:59:40,516 1772 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-06-27 16:59:40,516 1772 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-06-27 16:59:40,531 1772 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-06-27 16:59:40,531 1772 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-06-27 16:59:40,547 1772 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-06-27 16:59:40,547 1772 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-06-27 16:59:40,547 1772 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-06-27 16:59:40,563 1772 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-06-27 16:59:40,579 1772 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-06-27 16:59:43,501 1772 [INFO ] - [NuGet] Installing 'pester 5.5.0'.
|
|
2023-06-27 16:59:43,532 1772 [DEBUG] - [NuGet] Added file 'LICENSE' to folder 'pester\tools'.
|
|
2023-06-27 16:59:43,532 1772 [DEBUG] - [NuGet] Added file 'Pester.Format.ps1xml' to folder 'pester\tools'.
|
|
2023-06-27 16:59:43,547 1772 [DEBUG] - [NuGet] Added file 'Pester.ps1' to folder 'pester\tools'.
|
|
2023-06-27 16:59:43,547 1772 [DEBUG] - [NuGet] Added file 'Pester.psd1' to folder 'pester\tools'.
|
|
2023-06-27 16:59:43,563 1772 [DEBUG] - [NuGet] Added file 'Pester.psm1' to folder 'pester\tools'.
|
|
2023-06-27 16:59:43,579 1772 [DEBUG] - [NuGet] Added file 'PesterConfiguration.Format.ps1xml' to folder 'pester\tools'.
|
|
2023-06-27 16:59:43,595 1772 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'pester\tools'.
|
|
2023-06-27 16:59:43,610 1772 [DEBUG] - [NuGet] Added file 'Pester.dll' to folder 'pester\tools\bin\net452'.
|
|
2023-06-27 16:59:43,610 1772 [DEBUG] - [NuGet] Added file 'Pester.pdb' to folder 'pester\tools\bin\net452'.
|
|
2023-06-27 16:59:43,626 1772 [DEBUG] - [NuGet] Added file 'Pester.dll' to folder 'pester\tools\bin\netstandard2.0'.
|
|
2023-06-27 16:59:43,642 1772 [DEBUG] - [NuGet] Added file 'Pester.pdb' to folder 'pester\tools\bin\netstandard2.0'.
|
|
2023-06-27 16:59:43,657 1772 [DEBUG] - [NuGet] Added file 'about_BeforeEach_AfterEach.help.txt' to folder 'pester\tools\en-US'.
|
|
2023-06-27 16:59:43,657 1772 [DEBUG] - [NuGet] Added file 'about_Mocking.help.txt' to folder 'pester\tools\en-US'.
|
|
2023-06-27 16:59:43,673 1772 [DEBUG] - [NuGet] Added file 'about_Pester.help.txt' to folder 'pester\tools\en-US'.
|
|
2023-06-27 16:59:43,737 1772 [DEBUG] - [NuGet] Added file 'about_Should.help.txt' to folder 'pester\tools\en-US'.
|
|
2023-06-27 16:59:43,751 1772 [DEBUG] - [NuGet] Added file 'about_TestDrive.help.txt' to folder 'pester\tools\en-US'.
|
|
2023-06-27 16:59:43,751 1772 [DEBUG] - [NuGet] Added file 'report.dtd' to folder 'pester\tools\schemas\JaCoCo'.
|
|
2023-06-27 16:59:43,766 1772 [DEBUG] - [NuGet] Added file 'junit_schema_4.xsd' to folder 'pester\tools\schemas\JUnit4'.
|
|
2023-06-27 16:59:43,782 1772 [DEBUG] - [NuGet] Added file 'nunit_schema_2.5.xsd' to folder 'pester\tools\schemas\NUnit25'.
|
|
2023-06-27 16:59:43,782 1772 [DEBUG] - [NuGet] Added file 'TestDefinitions.xsd' to folder 'pester\tools\schemas\NUnit3'.
|
|
2023-06-27 16:59:43,798 1772 [DEBUG] - [NuGet] Added file 'TestFilterDefinitions.xsd' to folder 'pester\tools\schemas\NUnit3'.
|
|
2023-06-27 16:59:43,814 1772 [DEBUG] - [NuGet] Added file 'TestResult.xsd' to folder 'pester\tools\schemas\NUnit3'.
|
|
2023-06-27 16:59:43,814 1772 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'pester'.
|
|
2023-06-27 16:59:43,814 1772 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'pester'.
|
|
2023-06-27 16:59:43,829 1772 [DEBUG] - [NuGet] Added file '.signature.p7s' to folder 'pester'.
|
|
2023-06-27 16:59:43,860 1772 [DEBUG] - [NuGet] Added file 'pester.nupkg' to folder 'pester'.
|
|
2023-06-27 16:59:44,360 1772 [DEBUG] - [NuGet] Added file 'pester.nuspec' to folder 'pester'.
|
|
2023-06-27 16:59:44,376 1772 [INFO ] - [NuGet] Successfully installed 'pester 5.5.0'.
|
|
2023-06-27 16:59:44,376 1772 [INFO ] -
|
|
pester v5.5.0 (forced)
|
|
2023-06-27 16:59:44,407 1772 [INFO ] - pester package files install completed. Performing other installation steps.
|
|
2023-06-27 16:59:44,610 1772 [DEBUG] - Setting installer args for pester
|
|
2023-06-27 16:59:44,610 1772 [DEBUG] - Setting package parameters for pester
|
|
2023-06-27 16:59:44,610 1772 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\pester\chocolateyInstall.ps1':
|
|
2023-06-27 16:59:44,642 1772 [DEBUG] - [CmdletBinding()]
|
|
param ( )
|
|
|
|
end {
|
|
$modulePath = Join-Path -Path $env:ProgramFiles -ChildPath WindowsPowerShell\Modules
|
|
$targetDirectory = Join-Path -Path $modulePath -ChildPath Pester
|
|
$scriptRoot = Split-Path -Path $MyInvocation.MyCommand.Path -Parent
|
|
$sourceDirectory = Join-Path -Path $scriptRoot -ChildPath Tools
|
|
|
|
if ($PSVersionTable.PSVersion.Major -ge 5) {
|
|
$manifestFile = Join-Path -Path $sourceDirectory -ChildPath Pester.psd1
|
|
$manifest = Test-ModuleManifest -Path $manifestFile -WarningAction Ignore -ErrorAction Stop
|
|
$targetDirectory = Join-Path -Path $targetDirectory -ChildPath $manifest.Version.ToString()
|
|
}
|
|
|
|
Update-Directory -Source $sourceDirectory -Destination $targetDirectory
|
|
|
|
$binPath = Join-Path -Path $targetDirectory -ChildPath bin
|
|
Install-ChocolateyPath $binPath
|
|
|
|
if ($PSVersionTable.PSVersion.Major -lt 4) {
|
|
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
|
|
if ($modulePaths -notcontains $modulePath) {
|
|
Write-Verbose -Message "Adding '$modulePath' to PSModulePath."
|
|
|
|
$modulePaths = @(
|
|
$modulePath
|
|
$modulePaths
|
|
)
|
|
|
|
$newModulePath = $modulePaths -join ';'
|
|
|
|
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
|
|
$env:PSModulePath += ";$modulePath"
|
|
}
|
|
}
|
|
}
|
|
|
|
begin {
|
|
function Update-Directory {
|
|
[CmdletBinding()]
|
|
param (
|
|
[Parameter(Mandatory = $true)]
|
|
[string] $Source,
|
|
|
|
[Parameter(Mandatory = $true)]
|
|
[string] $Destination
|
|
)
|
|
|
|
$Source = $PSCmdlet.GetUnresolvedProviderPathFromPSPath($Source)
|
|
$Destination = $PSCmdlet.GetUnresolvedProviderPathFromPSPath($Destination)
|
|
|
|
if (-not (Test-Path -LiteralPath $Destination)) {
|
|
$null = New-Item -Path $Destination -ItemType Directory -ErrorAction Stop
|
|
}
|
|
|
|
try {
|
|
$sourceItem = Get-Item -LiteralPath $Source -ErrorAction Stop
|
|
$destItem = Get-Item -LiteralPath $Destination -ErrorAction Stop
|
|
|
|
if ($sourceItem -isnot [System.IO.DirectoryInfo] -or $destItem -isnot [System.IO.DirectoryInfo]) {
|
|
throw 'Not Directory Info'
|
|
}
|
|
}
|
|
catch {
|
|
throw 'Both Source and Destination must be directory paths.'
|
|
}
|
|
|
|
$sourceFiles = Get-ChildItem -Path $Source -Recurse |
|
|
Where-Object -FilterScript { -not $_.PSIsContainer }
|
|
|
|
foreach ($sourceFile in $sourceFiles) {
|
|
$relativePath = Get-RelativePath $sourceFile.FullName -RelativeTo $Source
|
|
$targetPath = Join-Path -Path $Destination -ChildPath $relativePath
|
|
|
|
$sourceHash = Get-FileHash -Path $sourceFile.FullName
|
|
$destHash = Get-FileHash -Path $targetPath
|
|
|
|
if ($sourceHash -ne $destHash) {
|
|
$targetParent = Split-Path -Path $targetPath -Parent
|
|
|
|
if (-not (Test-Path -Path $targetParent -PathType Container)) {
|
|
$null = New-Item -Path $targetParent -ItemType Directory -ErrorAction Stop
|
|
}
|
|
|
|
Write-Verbose -Message "Updating file $relativePath to new version."
|
|
Copy-Item -Path $sourceFile.FullName -Destination $targetPath -Force -ErrorAction Stop
|
|
}
|
|
}
|
|
|
|
$targetFiles = Get-ChildItem -Path $Destination -Recurse |
|
|
Where-Object -FilterScript { -not $_.PSIsContainer }
|
|
|
|
foreach ($targetFile in $targetFiles) {
|
|
$relativePath = Get-RelativePath $targetFile.FullName -RelativeTo $Destination
|
|
$sourcePath = Join-Path -Path $Source -ChildPath $relativePath
|
|
|
|
if (-not (Test-Path $sourcePath -PathType Leaf)) {
|
|
Write-Verbose -Message "Removing unknown file $relativePath from module folder."
|
|
Remove-Item -LiteralPath $targetFile.FullName -Force -ErrorAction Stop
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function Get-RelativePath {
|
|
param ( [string] $Path, [string] $RelativeTo )
|
|
return $Path -replace "^$([regex]::Escape($RelativeTo))\\?"
|
|
}
|
|
|
|
function Get-FileHash {
|
|
param ([string] $Path)
|
|
|
|
if (-not (Test-Path -LiteralPath $Path -PathType Leaf)) {
|
|
return $null
|
|
}
|
|
|
|
$item = Get-Item -LiteralPath $Path
|
|
if ($item -isnot [System.IO.FileSystemInfo]) {
|
|
return $null
|
|
}
|
|
|
|
$stream = $null
|
|
|
|
try {
|
|
$sha = [System.Security.Cryptography.SHA256CryptoServiceProvider]::Create()
|
|
$stream = $item.OpenRead()
|
|
$bytes = $sha.ComputeHash($stream)
|
|
return [convert]::ToBase64String($bytes)
|
|
}
|
|
finally {
|
|
if ($null -ne $stream) {
|
|
$stream.Close()
|
|
}
|
|
if ($null -ne $sha) {
|
|
$sha.Clear()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
2023-06-27 16:59:44,767 1772 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\pester\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-06-27 16:59:44,782 1772 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-06-27 16:59:45,454 1772 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-06-27 16:59:45,954 1772 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-27 16:59:45,954 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-27 16:59:45,969 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-27 16:59:45,969 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-27 16:59:45,985 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-27 16:59:45,985 1772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-27 16:59:46,001 1772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-27 16:59:46,001 1772 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-27 16:59:46,016 1772 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-27 16:59:46,016 1772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-27 16:59:46,016 1772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-27 16:59:46,032 1772 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-27 16:59:46,048 1772 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-27 16:59:46,048 1772 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-27 16:59:46,048 1772 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-27 16:59:46,063 1772 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-27 16:59:46,063 1772 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-27 16:59:46,078 1772 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-27 16:59:46,078 1772 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-27 16:59:46,095 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-27 16:59:46,095 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-27 16:59:46,110 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-27 16:59:46,110 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-27 16:59:46,126 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-27 16:59:46,126 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-27 16:59:46,141 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-27 16:59:46,141 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-27 16:59:46,157 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-27 16:59:46,157 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-27 16:59:46,157 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-27 16:59:46,173 1772 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-27 16:59:46,173 1772 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-27 16:59:46,188 1772 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-27 16:59:46,188 1772 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-27 16:59:46,203 1772 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-27 16:59:46,203 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-27 16:59:46,219 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-27 16:59:46,219 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-27 16:59:46,235 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-27 16:59:46,235 1772 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-27 16:59:46,251 1772 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-27 16:59:46,251 1772 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-27 16:59:46,267 1772 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-27 16:59:46,267 1772 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-27 16:59:46,282 1772 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-27 16:59:46,282 1772 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-27 16:59:46,297 1772 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-27 16:59:46,297 1772 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-27 16:59:46,313 1772 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-27 16:59:46,328 1772 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-27 16:59:46,361 1772 [DEBUG] - Loading community extensions
|
|
2023-06-27 16:59:46,391 1772 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-06-27 16:59:46,407 1772 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-06-27 16:59:46,517 1772 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-27 16:59:46,532 1772 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-27 16:59:46,547 1772 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-27 16:59:46,547 1772 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-27 16:59:46,563 1772 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-27 16:59:46,563 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-27 16:59:46,579 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-27 16:59:46,579 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-27 16:59:46,595 1772 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-27 16:59:46,610 1772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-27 16:59:46,610 1772 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-27 16:59:46,626 1772 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-27 16:59:46,626 1772 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-27 16:59:46,641 1772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-27 16:59:46,641 1772 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-27 16:59:46,657 1772 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-27 16:59:46,657 1772 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-27 16:59:46,657 1772 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-27 16:59:46,719 1772 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-27 16:59:46,719 1772 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-27 16:59:46,735 1772 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-27 16:59:46,735 1772 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-27 16:59:46,750 1772 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-27 16:59:46,750 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-27 16:59:46,766 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-27 16:59:46,782 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-27 16:59:46,782 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-27 16:59:46,798 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-27 16:59:46,798 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-27 16:59:46,813 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-27 16:59:46,829 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-27 16:59:46,829 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-27 16:59:46,845 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-27 16:59:46,845 1772 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-27 16:59:46,860 1772 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-27 16:59:46,860 1772 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-27 16:59:46,860 1772 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-27 16:59:46,876 1772 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-27 16:59:46,892 1772 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-27 16:59:46,908 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-27 16:59:46,922 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-27 16:59:46,922 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-27 16:59:46,922 1772 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-27 16:59:46,938 1772 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-27 16:59:46,954 1772 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-27 16:59:46,954 1772 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-27 16:59:46,954 1772 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-27 16:59:46,970 1772 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-27 16:59:46,986 1772 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-27 16:59:46,986 1772 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-27 16:59:47,001 1772 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-27 16:59:47,001 1772 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-27 16:59:47,001 1772 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-27 16:59:47,016 1772 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-27 16:59:47,016 1772 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-27 16:59:47,032 1772 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-27 16:59:47,032 1772 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-06-27 16:59:47,048 1772 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-06-27 16:59:47,048 1772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-06-27 16:59:47,063 1772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-06-27 16:59:47,063 1772 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-06-27 16:59:47,063 1772 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-06-27 16:59:47,079 1772 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-06-27 16:59:47,079 1772 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-06-27 16:59:47,094 1772 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-06-27 16:59:47,094 1772 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-06-27 16:59:47,110 1772 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-27 16:59:47,110 1772 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-06-27 16:59:47,110 1772 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-06-27 16:59:47,126 1772 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-06-27 16:59:47,126 1772 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-06-27 16:59:47,142 1772 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-06-27 16:59:47,142 1772 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-06-27 16:59:47,157 1772 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-06-27 16:59:47,157 1772 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-06-27 16:59:47,173 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-27 16:59:47,173 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-27 16:59:47,188 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-27 16:59:47,188 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-27 16:59:47,204 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-06-27 16:59:47,219 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-06-27 16:59:47,219 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-27 16:59:47,219 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-27 16:59:47,236 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-06-27 16:59:47,236 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-27 16:59:47,251 1772 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-06-27 16:59:47,266 1772 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-06-27 16:59:47,266 1772 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-27 16:59:47,266 1772 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-06-27 16:59:47,282 1772 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-06-27 16:59:47,282 1772 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-27 16:59:47,298 1772 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-06-27 16:59:47,298 1772 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-27 16:59:47,313 1772 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-06-27 16:59:47,313 1772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-27 16:59:47,329 1772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-27 16:59:47,329 1772 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-27 16:59:47,344 1772 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-06-27 16:59:47,344 1772 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-06-27 16:59:47,360 1772 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-06-27 16:59:47,360 1772 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-06-27 16:59:47,376 1772 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-06-27 16:59:47,376 1772 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-06-27 16:59:47,391 1772 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-06-27 16:59:47,391 1772 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-27 16:59:47,407 1772 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-06-27 16:59:47,407 1772 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-06-27 16:59:47,422 1772 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-06-27 16:59:47,533 1772 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-06-27 16:59:47,563 1772 [DEBUG] - Running 'ChocolateyScriptRunner' for pester v5.5.0 with packageScript 'C:\ProgramData\chocolatey\lib\pester\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\pester', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-06-27 16:59:47,625 1772 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\pester\chocolateyInstall.ps1'
|
|
2023-06-27 16:59:47,720 1772 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\pester\Tools\Pester.psm1'.
|
|
2023-06-27 16:59:48,157 1772 [INFO ] - VERBOSE: Updating file LICENSE to new version.
|
|
2023-06-27 16:59:48,190 1772 [INFO ] - VERBOSE: Updating file Pester.Format.ps1xml to new version.
|
|
2023-06-27 16:59:48,205 1772 [INFO ] - VERBOSE: Updating file Pester.ps1 to new version.
|
|
2023-06-27 16:59:48,235 1772 [INFO ] - VERBOSE: Updating file Pester.psd1 to new version.
|
|
2023-06-27 16:59:48,266 1772 [INFO ] - VERBOSE: Updating file Pester.psm1 to new version.
|
|
2023-06-27 16:59:48,313 1772 [INFO ] - VERBOSE: Updating file PesterConfiguration.Format.ps1xml to new version.
|
|
2023-06-27 16:59:48,345 1772 [INFO ] - VERBOSE: Updating file VERIFICATION.txt to new version.
|
|
2023-06-27 16:59:48,377 1772 [INFO ] - VERBOSE: Updating file bin\net452\Pester.dll to new version.
|
|
2023-06-27 16:59:48,392 1772 [INFO ] - VERBOSE: Updating file bin\net452\Pester.pdb to new version.
|
|
2023-06-27 16:59:48,408 1772 [INFO ] - VERBOSE: Updating file bin\netstandard2.0\Pester.dll to new version.
|
|
2023-06-27 16:59:48,439 1772 [INFO ] - VERBOSE: Updating file bin\netstandard2.0\Pester.pdb to new version.
|
|
2023-06-27 16:59:48,454 1772 [INFO ] - VERBOSE: Updating file en-US\about_BeforeEach_AfterEach.help.txt to new version.
|
|
2023-06-27 16:59:48,469 1772 [INFO ] - VERBOSE: Updating file en-US\about_Mocking.help.txt to new version.
|
|
2023-06-27 16:59:48,502 1772 [INFO ] - VERBOSE: Updating file en-US\about_Pester.help.txt to new version.
|
|
2023-06-27 16:59:48,516 1772 [INFO ] - VERBOSE: Updating file en-US\about_Should.help.txt to new version.
|
|
2023-06-27 16:59:48,532 1772 [INFO ] - VERBOSE: Updating file en-US\about_TestDrive.help.txt to new version.
|
|
2023-06-27 16:59:48,564 1772 [INFO ] - VERBOSE: Updating file schemas\JaCoCo\report.dtd to new version.
|
|
2023-06-27 16:59:48,938 1772 [INFO ] - VERBOSE: Updating file schemas\JUnit4\junit_schema_4.xsd to new version.
|
|
2023-06-27 16:59:48,955 1772 [INFO ] - VERBOSE: Updating file schemas\NUnit25\nunit_schema_2.5.xsd to new version.
|
|
2023-06-27 16:59:49,016 1772 [INFO ] - VERBOSE: Updating file schemas\NUnit3\TestDefinitions.xsd to new version.
|
|
2023-06-27 16:59:49,032 1772 [INFO ] - VERBOSE: Updating file schemas\NUnit3\TestFilterDefinitions.xsd to new version.
|
|
2023-06-27 16:59:49,047 1772 [INFO ] - VERBOSE: Updating file schemas\NUnit3\TestResult.xsd to new version.
|
|
2023-06-27 16:59:49,205 1772 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\bin'
|
|
2023-06-27 16:59:49,314 1772 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-06-27 16:59:49,314 1772 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-06-27 16:59:49,829 1772 [INFO ] - PATH environment variable does not have C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\bin in it. Adding...
|
|
2023-06-27 16:59:49,829 1772 [INFO ] - VERBOSE: Choosing not to expand environment names
|
|
2023-06-27 16:59:49,938 1772 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\bin;' -Scope 'User'
|
|
2023-06-27 16:59:50,204 1772 [DEBUG] - Registry type for Path is/will be ExpandString
|
|
2023-06-27 16:59:50,238 1772 [DEBUG] - |
|
using System; |
|
using System.Runtime.InteropServices; |
|
|
|
namespace Win32 |
|
{ |
|
public class NativeMethods |
|
{ |
|
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
|
public static extern IntPtr SendMessageTimeout(
|
|
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
|
|
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult); |
|
|
|
} |
|
|
|
} |
|
|
|
2023-06-27 16:59:50,610 1772 [DEBUG] - Running Update-SessionEnvironment
|
|
2023-06-27 16:59:50,626 1772 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
|
|
2023-06-27 16:59:50,845 1772 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-06-27 16:59:50,860 1772 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\pester\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-06-27 16:59:50,876 1772 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-06-27 16:59:51,001 1772 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-06-27 16:59:51,032 1772 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
|
|
see the changes (or in powershell/cmd.exe just type `refreshenv`).
|
|
2023-06-27 16:59:51,047 1772 [DEBUG] - The following values have been added/changed (may contain sensitive data):
|
|
2023-06-27 16:59:51,047 1772 [DEBUG] - * Path='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;C:\Program Files\WindowsPowerShell\Modules\Pester\5.5.0\bin;' (User)
|
|
2023-06-27 16:59:51,064 1772 [DEBUG] - * ChocolateyLastPathUpdate='133323587905481288' (User)
|
|
2023-06-27 16:59:51,251 1772 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\pester'
|
|
2023-06-27 16:59:51,251 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\.signature.p7s'
|
|
with checksum 'AF796EF1389EA715AA3B0F091E37D121'
|
|
2023-06-27 16:59:51,266 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\chocolateyInstall.ps1'
|
|
with checksum 'D8F06A4547B3ED882963431A79D0CDEC'
|
|
2023-06-27 16:59:51,266 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\pester.nupkg'
|
|
with checksum '6796A6499B2880A3A3A92C7637EB62FD'
|
|
2023-06-27 16:59:51,282 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\pester.nuspec'
|
|
with checksum '1885E4C43755C9DAA0F5C45E1929AA2F'
|
|
2023-06-27 16:59:51,282 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\VERIFICATION.txt'
|
|
with checksum '0BD8920E6706D9D4F3F470B3837EC0CB'
|
|
2023-06-27 16:59:51,297 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\LICENSE'
|
|
with checksum 'F5DAF8889E741AB6628AEECB30B82D33'
|
|
2023-06-27 16:59:51,316 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\Pester.Format.ps1xml'
|
|
with checksum '29495E9F4E8B8E835A80CD4EF128C09F'
|
|
2023-06-27 16:59:51,316 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\Pester.ps1'
|
|
with checksum '86749FA3C6CFB0CAF103AF0570D83631'
|
|
2023-06-27 16:59:51,316 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\Pester.psd1'
|
|
with checksum 'A71774FA94A76B3F2C24BCAF90EF2AEE'
|
|
2023-06-27 16:59:51,329 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\Pester.psm1'
|
|
with checksum '073696B9DA68D6ADBC3A0FB9FC94C032'
|
|
2023-06-27 16:59:51,344 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\PesterConfiguration.Format.ps1xml'
|
|
with checksum '66A916CAA3B2F50569BD5DEE84856ADF'
|
|
2023-06-27 16:59:51,344 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\VERIFICATION.txt'
|
|
with checksum '0BD8920E6706D9D4F3F470B3837EC0CB'
|
|
2023-06-27 16:59:51,360 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\bin\net452\Pester.dll'
|
|
with checksum '3414E3C8B95C9D9677A1410BC912822C'
|
|
2023-06-27 16:59:51,360 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\bin\net452\Pester.pdb'
|
|
with checksum '1DEA9DD7EFCBF245367CCC290DFC64CC'
|
|
2023-06-27 16:59:51,376 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\bin\netstandard2.0\Pester.dll'
|
|
with checksum 'B5BDAF565AA8BBF70B384C2D18EC8CEA'
|
|
2023-06-27 16:59:51,376 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\bin\netstandard2.0\Pester.pdb'
|
|
with checksum '94D02E162F5169867CC5F5589E2DC431'
|
|
2023-06-27 16:59:51,391 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\en-US\about_BeforeEach_AfterEach.help.txt'
|
|
with checksum 'BED229424CE15D973B6736DF1535DAF5'
|
|
2023-06-27 16:59:51,407 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\en-US\about_Mocking.help.txt'
|
|
with checksum '5A4892C1821A46CEB3621B319620630F'
|
|
2023-06-27 16:59:51,407 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\en-US\about_Pester.help.txt'
|
|
with checksum '71EC03B233095AF1D6A3EDD56F290EB1'
|
|
2023-06-27 16:59:51,422 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\en-US\about_Should.help.txt'
|
|
with checksum '391F835F73D8B977F363CB90D9151663'
|
|
2023-06-27 16:59:51,422 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\en-US\about_TestDrive.help.txt'
|
|
with checksum '3FB2F2074E3DF7E484325CBB4B7CA70E'
|
|
2023-06-27 16:59:51,438 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\schemas\JaCoCo\report.dtd'
|
|
with checksum '87DF924CECA5132B94F22FEE8377FDD4'
|
|
2023-06-27 16:59:51,438 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\schemas\JUnit4\junit_schema_4.xsd'
|
|
with checksum 'A50E854DABDE268F0248021D9BADC786'
|
|
2023-06-27 16:59:51,454 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\schemas\NUnit25\nunit_schema_2.5.xsd'
|
|
with checksum 'B1E28D542B4C2EE04279E023CA605418'
|
|
2023-06-27 16:59:51,454 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\schemas\NUnit3\TestDefinitions.xsd'
|
|
with checksum '9AD87C1D3EA3B7A7DE7D1FA9B8FA19B5'
|
|
2023-06-27 16:59:51,469 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\schemas\NUnit3\TestFilterDefinitions.xsd'
|
|
with checksum '5961F6E1D383672EFA66908C44079933'
|
|
2023-06-27 16:59:51,469 1772 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\pester\tools\schemas\NUnit3\TestResult.xsd'
|
|
with checksum 'E752424CDB92D1F1E832637B0CAFDF30'
|
|
2023-06-27 16:59:51,532 1772 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\pester.5.5.0".
|
|
2023-06-27 16:59:51,579 1772 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\pester.5.5.0\.files'
|
|
2023-06-27 16:59:51,594 1772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\pester.5.5.0\.extra".
|
|
2023-06-27 16:59:51,594 1772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\pester.5.5.0\.version".
|
|
2023-06-27 16:59:51,610 1772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\pester.5.5.0\.sxs".
|
|
2023-06-27 16:59:51,610 1772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\pester.5.5.0\.pin".
|
|
2023-06-27 16:59:51,626 1772 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-06-27 16:59:51,641 1772 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\pester\.chocolateyPending".
|
|
2023-06-27 16:59:51,657 1772 [INFO ] - The install of pester was successful.
|
|
2023-06-27 16:59:51,657 1772 [INFO ] - Software install location not explicitly set, it could be in package or
|
|
default install location of installer.
|
|
2023-06-27 16:59:51,672 1772 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\pester.5.5.0.nupkg".
|
|
2023-06-27 16:59:51,704 1772 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-06-27 16:59:51,720 1772 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-06-27 16:59:51,784 1772 [DEBUG] - Exiting with 0
|