Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
undo-winrmconfig-during-shutdown v1.2.0 - Passed - Package Tests Results

undo-winrmconfig-during-shutdown v1.2.0 - Passed - Package Test Results

<?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\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nupkg" checksum="0D8A4D6D90F90DA6D3FDF05F5F2C2304" />
<file path="C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nuspec" checksum="43668A5356D55FBAFE207C05459C7062" />
<file path="C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1" checksum="04092AA777CFF00A8C2775A919456941" />
<file path="C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1" checksum="27F3F2E74341CB9DD3AB36D307518F29" />
<file path="C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\readme.md" checksum="C7A94BB061D54BA0BEC31A04018D5A99" />
<file path="C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1" checksum="23B4B7919F62BE6734A083A638A422D8" />
</files>
</fileSnapshot>
2019-09-07 08:53:57,961 2292 [DEBUG] - XmlConfiguration is now operational
2019-09-07 08:53:58,211 2292 [INFO ] - ============================================================
2019-09-07 08:53:59,070 2292 [INFO ] - Chocolatey v0.10.15
2019-09-07 08:53:59,101 2292 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-09-07 08:53:59,117 2292 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-09-07 08:53:59,117 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-09-07 08:53:59,148 2292 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install undo-winrmconfig-during-shutdown --version 1.2.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-09-07 08:53:59,164 2292 [DEBUG] - Received arguments: install undo-winrmconfig-during-shutdown --version 1.2.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-09-07 08:53:59,335 2292 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-09-07 08:53:59,352 2292 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-09-07 08:53:59,382 2292 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-09-07 08:53:59,601 2292 [DEBUG] - Performing validation checks.
2019-09-07 08:53:59,617 2292 [DEBUG] - Global Configuration Validation Checks:
2019-09-07 08:53:59,632 2292 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-09-07 08:53:59,632 2292 [DEBUG] - System State Validation Checks:
2019-09-07 08:53:59,648 2292 [DEBUG] - Reboot Requirement Checks:
2019-09-07 08:53:59,664 2292 [DEBUG] - - Pending Computer Rename = Checked
2019-09-07 08:53:59,679 2292 [DEBUG] - - Pending Component Based Servicing = Checked
2019-09-07 08:53:59,679 2292 [DEBUG] - - Pending Windows Auto Update = Checked
2019-09-07 08:53:59,679 2292 [DEBUG] - - Pending File Rename Operations = Checked
2019-09-07 08:53:59,695 2292 [DEBUG] - - Pending Windows Package Installer = Checked
2019-09-07 08:53:59,695 2292 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-09-07 08:53:59,711 2292 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-09-07 08:53:59,726 2292 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-09-07 08:53:59,742 2292 [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.
2019-09-07 08:53:59,804 2292 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://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'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='undo-winrmconfig-during-shutdown'|
Version='1.2.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='undo-winrmconfig-during-shutdown'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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'|
Features.ScriptsCheckLastExitCode='False'|
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'|Proxy.BypassOnLocal='True'|
2019-09-07 08:53:59,820 2292 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-09-07 08:53:59,836 2292 [INFO ] - Installing the following packages:
2019-09-07 08:53:59,851 2292 [INFO ] - undo-winrmconfig-during-shutdown
2019-09-07 08:53:59,851 2292 [INFO ] - By installing you accept licenses for the packages.
2019-09-07 08:53:59,867 2292 [DEBUG] - Current environment values (may contain sensitive data):
2019-09-07 08:53:59,882 2292 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 08:53:59,882 2292 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 08:53:59,882 2292 [DEBUG] - * 'ChocolateyLastPathUpdate'='132123188323212849' ('User')
2019-09-07 08:53:59,898 2292 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-09-07 08:53:59,898 2292 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-09-07 08:53:59,898 2292 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2019-09-07 08:53:59,898 2292 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-09-07 08:53:59,914 2292 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 08:53:59,914 2292 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-09-07 08:53:59,914 2292 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-09-07 08:53:59,929 2292 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-09-07 08:53:59,929 2292 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 08:53:59,929 2292 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-09-07 08:53:59,929 2292 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-09-07 08:53:59,945 2292 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-09-07 08:53:59,945 2292 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-09-07 08:53:59,945 2292 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-09-07 08:53:59,945 2292 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-09-07 08:53:59,960 2292 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-09-07 08:53:59,960 2292 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-09-07 08:54:18,289 2292 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-core.extension'.
2019-09-07 08:54:23,961 2292 [INFO ] - [NuGet] Installing 'chocolatey-core.extension 1.3.3'.
2019-09-07 08:54:24,023 2292 [DEBUG] - [NuGet] Added file 'chocolatey-core.psm1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,023 2292 [DEBUG] - [NuGet] Added file 'Get-AppInstallLocation.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,023 2292 [DEBUG] - [NuGet] Added file 'Get-AvailableDriveLetter.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,039 2292 [DEBUG] - [NuGet] Added file 'Get-EffectiveProxy.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,039 2292 [DEBUG] - [NuGet] Added file 'Get-PackageCacheLocation.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,039 2292 [DEBUG] - [NuGet] Added file 'Get-PackageParameters.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,054 2292 [DEBUG] - [NuGet] Added file 'Get-UninstallRegistryKey.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,054 2292 [DEBUG] - [NuGet] Added file 'Get-WebContent.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,054 2292 [DEBUG] - [NuGet] Added file 'Register-Application.ps1' to folder 'chocolatey-core.extension\extensions'.
2019-09-07 08:54:24,070 2292 [DEBUG] - [NuGet] Added file 'chocolatey-core.extension.nupkg' to folder 'chocolatey-core.extension'.
2019-09-07 08:54:24,523 2292 [DEBUG] - [NuGet] Added file 'chocolatey-core.extension.nuspec' to folder 'chocolatey-core.extension'.
2019-09-07 08:54:24,539 2292 [INFO ] - [NuGet] Successfully installed 'chocolatey-core.extension 1.3.3'.
2019-09-07 08:54:24,539 2292 [INFO ] -
chocolatey-core.extension v1.3.3 (forced) [Approved]
2019-09-07 08:54:24,601 2292 [INFO ] - chocolatey-core.extension package files install completed. Performing other installation steps.
2019-09-07 08:54:25,695 2292 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension'
2019-09-07 08:54:25,711 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nupkg'
with checksum '1DCA9D25DED3FC0CE731FA7E1E1BD031'
2019-09-07 08:54:25,711 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\chocolatey-core.extension.nuspec'
with checksum 'DF6C67EA1E5F6EE4E17B63508B279D94'
2019-09-07 08:54:25,711 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1'
with checksum '8007E67FDE249548DBF78D1DC8AFDCCC'
2019-09-07 08:54:25,711 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1'
with checksum 'D036C97BC50A3731BF69A15417F60E72'
2019-09-07 08:54:25,727 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1'
with checksum '2F386746AFC2ACB9561DFB245239B93F'
2019-09-07 08:54:25,727 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-EffectiveProxy.ps1'
with checksum '3895F062D2D91D9D32D1FC57A619066C'
2019-09-07 08:54:25,727 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1'
with checksum '77A378E5C659E5A53D2D64E276159B62'
2019-09-07 08:54:25,727 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageParameters.ps1'
with checksum 'C08B3AF8CA150B6609DF2B978B693269'
2019-09-07 08:54:25,742 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-UninstallRegistryKey.ps1'
with checksum '3FAA5C11AAFC4EA35BB98EA797446C97'
2019-09-07 08:54:25,742 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1'
with checksum '57D013E581EFEA3D4D8366183C9A5797'
2019-09-07 08:54:25,742 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1'
with checksum 'D2853E569DAC9A341642BA76EC4FB411'
2019-09-07 08:54:25,773 2292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions".
2019-09-07 08:54:26,773 2292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\extensions\chocolatey-core".
2019-09-07 08:54:27,007 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\chocolatey-core.psm1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1".
2019-09-07 08:54:27,023 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AppInstallLocation.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-AppInstallLocation.ps1".
2019-09-07 08:54:27,054 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-AvailableDriveLetter.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-AvailableDriveLetter.ps1".
2019-09-07 08:54:27,054 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-EffectiveProxy.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-EffectiveProxy.ps1".
2019-09-07 08:54:27,054 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageCacheLocation.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-PackageCacheLocation.ps1".
2019-09-07 08:54:27,070 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-PackageParameters.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-PackageParameters.ps1".
2019-09-07 08:54:27,070 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-UninstallRegistryKey.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-UninstallRegistryKey.ps1".
2019-09-07 08:54:27,086 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Get-WebContent.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Get-WebContent.ps1".
2019-09-07 08:54:27,086 2292 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\extensions\Register-Application.ps1"
to "C:\ProgramData\chocolatey\extensions\chocolatey-core\Register-Application.ps1".
2019-09-07 08:54:28,602 2292 [WARN ] - Installed/updated chocolatey-core extensions.
2019-09-07 08:54:29,117 2292 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-09-07 08:54:29,274 2292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.3.3".
2019-09-07 08:54:29,320 2292 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.3.3\.files'
2019-09-07 08:54:29,336 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.3.3\.extra".
2019-09-07 08:54:29,336 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.3.3\.version".
2019-09-07 08:54:29,336 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.3.3\.sxs".
2019-09-07 08:54:29,336 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey-core.extension.1.3.3\.pin".
2019-09-07 08:54:29,351 2292 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-09-07 08:54:29,368 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey-core.extension\.chocolateyPending".
2019-09-07 08:54:29,382 2292 [INFO ] - The install of chocolatey-core.extension was successful.
2019-09-07 08:54:29,382 2292 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\extensions\chocolatey-core'
2019-09-07 08:54:29,382 2292 [INFO ] - [NuGet] Installing 'undo-winrmconfig-during-shutdown 1.2.0'.
2019-09-07 08:54:29,492 2292 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:54:29,507 2292 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:54:29,507 2292 [DEBUG] - [NuGet] Added file 'readme.md' to folder 'undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:54:29,571 2292 [DEBUG] - [NuGet] Added file 'Undo-WinRMConfig.ps1' to folder 'undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:54:29,586 2292 [DEBUG] - [NuGet] Added file 'undo-winrmconfig-during-shutdown.nupkg' to folder 'undo-winrmconfig-during-shutdown'.
2019-09-07 08:54:29,914 2292 [DEBUG] - [NuGet] Added file 'undo-winrmconfig-during-shutdown.nuspec' to folder 'undo-winrmconfig-during-shutdown'.
2019-09-07 08:54:29,914 2292 [INFO ] - [NuGet] Successfully installed 'undo-winrmconfig-during-shutdown 1.2.0'.
2019-09-07 08:54:29,914 2292 [INFO ] -
undo-winrmconfig-during-shutdown v1.2.0 (forced) [Approved]
2019-09-07 08:54:29,929 2292 [INFO ] - undo-winrmconfig-during-shutdown package files install completed. Performing other installation steps.
2019-09-07 08:54:29,976 2292 [DEBUG] - Setting installer args for undo-winrmconfig-during-shutdown
2019-09-07 08:54:29,976 2292 [DEBUG] - Setting package parameters for undo-winrmconfig-during-shutdown
2019-09-07 08:54:29,976 2292 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1':
2019-09-07 08:54:30,023 2292 [DEBUG] -
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageName = $env:ChocolateyPackageName
$ScriptToRun = "$toolsDir\Undo-WinRMConfig.ps1"
$pp = Get-PackageParameters
$RunImmediatelyValue = $False
if ($pp.RunImmediately) {
Write-Host "/RunImmediately was used, will run WinRM undo and exit..."
Start-ChocolateyProcessAsAdmin "& `'$ScriptToRun`' -RunImmediately"
}
else
{
Start-ChocolateyProcessAsAdmin "& `'$ScriptToRun`'"
}
2019-09-07 08:54:31,289 2292 [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\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2019-09-07 08:54:31,289 2292 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-09-07 08:54:34,430 2292 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-09-07 08:54:34,867 2292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 08:54:34,886 2292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 08:54:34,886 2292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 08:54:34,898 2292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 08:54:34,898 2292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 08:54:34,898 2292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 08:54:34,915 2292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 08:54:34,915 2292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 08:54:34,929 2292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 08:54:34,929 2292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 08:54:34,929 2292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 08:54:34,945 2292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 08:54:34,945 2292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 08:54:34,945 2292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 08:54:34,961 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 08:54:34,961 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 08:54:34,961 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 08:54:34,961 2292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 08:54:34,976 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 08:54:34,976 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 08:54:34,976 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 08:54:34,992 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 08:54:34,992 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 08:54:34,992 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 08:54:34,992 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 08:54:35,007 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 08:54:35,007 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 08:54:35,007 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 08:54:35,023 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 08:54:35,023 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 08:54:35,023 2292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 08:54:35,023 2292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 08:54:35,039 2292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 08:54:35,039 2292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 08:54:35,039 2292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 08:54:35,054 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 08:54:35,054 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 08:54:35,054 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 08:54:35,070 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 08:54:35,070 2292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 08:54:35,070 2292 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 08:54:35,070 2292 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 08:54:35,086 2292 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 08:54:35,086 2292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 08:54:35,086 2292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 08:54:35,101 2292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 08:54:35,101 2292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 08:54:35,101 2292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 08:54:35,101 2292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 08:54:35,117 2292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 08:54:35,117 2292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 08:54:35,117 2292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 08:54:35,117 2292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 08:54:35,164 2292 [DEBUG] - Loading community extensions
2019-09-07 08:54:35,179 2292 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2019-09-07 08:54:35,195 2292 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2019-09-07 08:54:35,601 2292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 08:54:35,617 2292 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2019-09-07 08:54:35,617 2292 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2019-09-07 08:54:35,632 2292 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2019-09-07 08:54:35,632 2292 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2019-09-07 08:54:36,414 2292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 08:54:36,414 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2019-09-07 08:54:36,429 2292 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2019-09-07 08:54:36,429 2292 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2019-09-07 08:54:36,429 2292 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2019-09-07 08:54:36,445 2292 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2019-09-07 08:54:36,445 2292 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2019-09-07 08:54:36,445 2292 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-09-07 08:54:36,445 2292 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-09-07 08:54:36,461 2292 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2019-09-07 08:54:36,461 2292 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2019-09-07 08:54:36,461 2292 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 08:54:36,461 2292 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 08:54:36,476 2292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 08:54:36,476 2292 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 08:54:36,476 2292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 08:54:36,492 2292 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 08:54:36,492 2292 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 08:54:36,492 2292 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 08:54:36,492 2292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 08:54:36,507 2292 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 08:54:36,507 2292 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 08:54:36,507 2292 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 08:54:36,507 2292 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 08:54:36,523 2292 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 08:54:36,523 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 08:54:36,523 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 08:54:36,539 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 08:54:36,539 2292 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 08:54:36,539 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 08:54:36,539 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 08:54:36,554 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 08:54:36,554 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 08:54:36,554 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 08:54:36,570 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 08:54:36,570 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 08:54:36,570 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 08:54:36,570 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 08:54:36,585 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 08:54:36,585 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 08:54:36,585 2292 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 08:54:36,601 2292 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 08:54:36,601 2292 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 08:54:36,601 2292 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 08:54:36,601 2292 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 08:54:36,617 2292 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 08:54:36,617 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 08:54:36,617 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 08:54:36,632 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 08:54:36,632 2292 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 08:54:36,632 2292 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 08:54:36,632 2292 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 08:54:36,648 2292 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 08:54:36,648 2292 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 08:54:36,648 2292 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 08:54:36,664 2292 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2019-09-07 08:54:36,664 2292 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2019-09-07 08:54:36,664 2292 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2019-09-07 08:54:36,664 2292 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2019-09-07 08:54:36,679 2292 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2019-09-07 08:54:36,679 2292 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2019-09-07 08:54:36,679 2292 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 08:54:36,695 2292 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 08:54:36,695 2292 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 08:54:36,695 2292 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 08:54:36,695 2292 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 08:54:36,711 2292 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 08:54:36,711 2292 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 08:54:36,711 2292 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 08:54:36,726 2292 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 08:54:36,726 2292 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-09-07 08:54:36,726 2292 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2019-09-07 08:54:36,726 2292 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2019-09-07 08:54:36,742 2292 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-09-07 08:54:36,742 2292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-09-07 08:54:36,742 2292 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-09-07 08:54:36,742 2292 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2019-09-07 08:54:36,757 2292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-09-07 08:54:36,757 2292 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-09-07 08:54:36,757 2292 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-09-07 08:54:36,773 2292 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-09-07 08:54:36,773 2292 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2019-09-07 08:54:36,773 2292 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-09-07 08:54:36,789 2292 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-09-07 08:54:36,789 2292 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-09-07 08:54:36,789 2292 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-09-07 08:54:36,789 2292 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-09-07 08:54:36,804 2292 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-09-07 08:54:36,804 2292 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2019-09-07 08:54:36,804 2292 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-09-07 08:54:36,820 2292 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-09-07 08:54:36,820 2292 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-09-07 08:54:36,820 2292 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-09-07 08:54:36,836 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-09-07 08:54:36,836 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 08:54:36,836 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 08:54:36,836 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-09-07 08:54:36,851 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-09-07 08:54:36,851 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-09-07 08:54:36,851 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-09-07 08:54:36,867 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 08:54:36,867 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-09-07 08:54:36,867 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-09-07 08:54:36,867 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-09-07 08:54:36,882 2292 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-09-07 08:54:36,882 2292 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-09-07 08:54:36,882 2292 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2019-09-07 08:54:36,898 2292 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-09-07 08:54:36,898 2292 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-09-07 08:54:36,898 2292 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 08:54:36,898 2292 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-09-07 08:54:36,914 2292 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-09-07 08:54:36,914 2292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 08:54:36,914 2292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-09-07 08:54:36,929 2292 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 08:54:36,929 2292 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-09-07 08:54:36,929 2292 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-09-07 08:54:36,929 2292 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-09-07 08:54:36,945 2292 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-09-07 08:54:36,945 2292 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-09-07 08:54:36,945 2292 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-09-07 08:54:36,961 2292 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-09-07 08:54:36,961 2292 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-09-07 08:54:36,961 2292 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-09-07 08:54:36,961 2292 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-09-07 08:54:36,976 2292 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-09-07 08:54:36,976 2292 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-09-07 08:54:36,976 2292 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-09-07 08:54:36,976 2292 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-09-07 08:54:37,164 2292 [DEBUG] - ---------------------------Script Execution---------------------------
2019-09-07 08:54:37,179 2292 [DEBUG] - Running 'ChocolateyScriptRunner' for undo-winrmconfig-during-shutdown v1.2.0 with packageScript 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown', installArguments: '', packageParameters: '',
2019-09-07 08:54:37,227 2292 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1'
2019-09-07 08:54:37,320 2292 [DEBUG] - Running Get-PackageParameters
2019-09-07 08:54:37,336 2292 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2019-09-07 08:54:37,726 2292 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '& 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1''
2019-09-07 08:54:37,742 2292 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-09-07 08:54:37,836 2292 [DEBUG] - Test-ProcessAdminRights: returning True
2019-09-07 08:54:37,929 2292 [DEBUG] - Elevating permissions and running powershell block:
$noSleep = $False
#$env:ChocolateyEnvironmentDebug='false'
#$env:ChocolateyEnvironmentVerbose='false'
& import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1' -Verbose:$false | Out-Null;
try{
$progressPreference="SilentlyContinue"
& 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1'
if(!$noSleep){start-sleep 6}
}
catch{
if(!$noSleep){start-sleep 8}
throw
}
This may take a while, depending on the statements.
2019-09-07 08:54:56,554 2292 [ERROR] - #< CLIXML
2019-09-07 08:54:56,554 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,573 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,585 2292 [INFO ] - VERBOSE: Undo-WinRMConfig Version 1.2.0
2019-09-07 08:54:56,585 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,585 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,601 2292 [INFO ] - VERBOSE: Undoing WinRM Config On Next Shutdown
2019-09-07 08:54:56,601 2292 [INFO ] - VERBOSE: Creating C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown\Undo-WinRMConfig.ps1, with the following contents:
2019-09-07 08:54:56,617 2292 [INFO ] - VERBOSE: *******************
2019-09-07 08:54:56,617 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,632 2292 [INFO ] - VERBOSE: If (!$PSScriptRoot) {$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent}
2019-09-07 08:54:56,632 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,632 2292 [INFO ] - VERBOSE: #This has to work for Win7 (no get-ciminstance) and Nano (no get-wmiobject) - each of which specially construct win32_operatingsystem.version to handle before and after Windows 10 version numbers (which are in different registry keys)
2019-09-07 08:54:56,648 2292 [INFO ] - VERBOSE: If ($psversiontable.psversion.major -lt 3)
2019-09-07 08:54:56,648 2292 [INFO ] - VERBOSE: { $OSMajorMinorVersionString = @(([version](Get-WMIObject Win32_OperatingSystem).version).major,([version](Get-WMIObject Win32_OperatingSystem).version).minor) -join '.' }
2019-09-07 08:54:56,664 2292 [INFO ] - VERBOSE: Else
2019-09-07 08:54:56,679 2292 [INFO ] - VERBOSE: { $OSMajorMinorVersionString = @(([version](Get-CIMInstance Win32_OperatingSystem).version).major,([version](Get-CIMInstance Win32_OperatingSystem).version).minor) -join '.' }
2019-09-07 08:54:56,679 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,679 2292 [INFO ] - VERBOSE: Write-Host "Disabling all Enabled Firewall rules that address port 5985 or 5896 directly"
2019-09-07 08:54:56,695 2292 [INFO ] - VERBOSE: $EnabledInboundRMPorts = @(New-object -comObject HNetCfg.FwPolicy2).rules | where-object {($_.LocalPorts -ilike '*5985*') -AND ($_.Enabled -ilike 'True')}
2019-09-07 08:54:56,695 2292 [INFO ] - VERBOSE: $EnabledInboundRMPorts += @(New-object -comObject HNetCfg.FwPolicy2).rules | where-object {($_.LocalPorts -ilike '*5986*') -AND ($_.Enabled -ilike 'True')}
2019-09-07 08:54:56,710 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,710 2292 [INFO ] - VERBOSE: ForEach ($FirewallRuleName in $EnabledInboundRMPorts)
2019-09-07 08:54:56,710 2292 [INFO ] - VERBOSE: {
2019-09-07 08:54:56,726 2292 [INFO ] - VERBOSE: Write-Host "Disabling firewall rule that addresses remoting: `"$($FirewallRuleName.Name)`""
2019-09-07 08:54:56,726 2292 [INFO ] - VERBOSE: netsh advfirewall firewall set rule name="$($FirewallRuleName.Name)" new enable=No
2019-09-07 08:54:56,742 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,742 2292 [INFO ] - VERBOSE: Write-Host "Undoing changes for Enable-PSRemoting, Enable-WSManCredSSP and winrm configuration commands"
2019-09-07 08:54:56,742 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,757 2292 [INFO ] - VERBOSE: Write-Host "Remove LocalAccountTokenFilterPolicy added by winrm configuration"
2019-09-07 08:54:56,757 2292 [INFO ] - VERBOSE: #This key is symlinked into "Wow6432Node" - both locations are handled by one delete
2019-09-07 08:54:56,773 2292 [INFO ] - VERBOSE: $regkeypath ='HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system'
2019-09-07 08:54:56,773 2292 [INFO ] - VERBOSE: If (!((Get-ItemProperty $regkeypath).LocalAccountTokenFilterPolicy -eq $null))
2019-09-07 08:54:56,804 2292 [INFO ] - VERBOSE: {Remove-ItemProperty -path $regkeypath -name LocalAccountTokenFilterPolicy}
2019-09-07 08:54:56,804 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,820 2292 [INFO ] - VERBOSE: Write-Host "Enable-PSRemoting changes will be removed by undoing WSMAN changes"
2019-09-07 08:54:56,820 2292 [INFO ] - VERBOSE: Write-Host "Enable-WSManCredSSP client or server changes will be removed by undoing WSMAN changes"
2019-09-07 08:54:56,820 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,836 2292 [INFO ] - VERBOSE: #Remove WSMAN Key before importing pristine .REG
2019-09-07 08:54:56,836 2292 [INFO ] - VERBOSE: Remove-Item 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN' -Recurse -Force
2019-09-07 08:54:56,836 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,851 2292 [INFO ] - VERBOSE: ForEach ($File in (Get-ChildItem "$PSScriptRoot\*${OSMajorMinorVersionString}.reg" | sort-object Name))
2019-09-07 08:54:56,851 2292 [INFO ] - VERBOSE: {
2019-09-07 08:54:56,851 2292 [INFO ] - VERBOSE: Write-Host "Importing $OSMajorMinorVersionString\$($File.name)"
2019-09-07 08:54:56,867 2292 [INFO ] - VERBOSE: reg.exe import "$($File.fullname)"
2019-09-07 08:54:56,867 2292 [INFO ] - VERBOSE: }Register-ScheduledJob -Name CleanUpWinRM -RunNow -ScheduledJobOption @{RunElevated=True;ShowInTaskScheduler=True;RunWithoutNetwork=True} -ScriptBlock Start-Sleep -milliseconds 500
2019-09-07 08:54:56,867 2292 [INFO ] - VERBOSE: Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown\0" -Force -Recurse -ErrorAction SilentlyContinue
2019-09-07 08:54:56,867 2292 [INFO ] - VERBOSE: Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0" -Force -Recurse -ErrorAction SilentlyContinue
2019-09-07 08:54:56,882 2292 [INFO ] - VERBOSE: Remove-Item -Path C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown\Undo-WinRMConfig.ps1 -Force -ErrorAction SilentlyContinue
2019-09-07 08:54:56,882 2292 [INFO ] - VERBOSE: Get-ChildItem "C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown\*6.3.reg" | remove-item -force
2019-09-07 08:54:56,882 2292 [INFO ] - VERBOSE: If (Test-Path C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini)
2019-09-07 08:54:56,882 2292 [INFO ] - VERBOSE: {
2019-09-07 08:54:56,899 2292 [INFO ] - VERBOSE: (Get-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini") -replace '0CmdLine=Undo-WinRMConfig.ps1', '' | Set-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini"
2019-09-07 08:54:56,914 2292 [INFO ] - VERBOSE: (Get-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini") -replace '0Parameters=', '' | Set-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini"
2019-09-07 08:54:56,914 2292 [INFO ] - VERBOSE: }
2019-09-07 08:54:56,914 2292 [INFO ] - VERBOSE: }
2019-09-07 08:54:56,929 2292 [INFO ] - VERBOSE: *******************`r`n`r`n
2019-09-07 08:54:56,929 2292 [INFO ] - VERBOSE: Creating HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown\0
2019-09-07 08:54:56,929 2292 [INFO ] - VERBOSE: Creating HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0
2019-09-07 08:54:56,945 2292 [INFO ] - VERBOSE: Updating C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini
2019-09-07 08:54:56,945 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,945 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,961 2292 [INFO ] - VERBOSE: Directory: C:\Windows\System32\GroupPolicy\Machine\Scripts
2019-09-07 08:54:56,961 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,961 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,961 2292 [INFO ] - VERBOSE: ---- ------------- ------ ----
2019-09-07 08:54:56,976 2292 [INFO ] - VERBOSE: -a--- 9/7/2019 8:54 AM 0 psscripts.ini
2019-09-07 08:54:56,976 2292 [INFO ] - VERBOSE: Mode LastWriteTime Length Name
2019-09-07 08:54:56,976 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,992 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:56,992 2292 [INFO ] - VERBOSE: Undo-WinRMConfig (v1.2.0) is staged to run at next shutdown. To unstage, run 'Undo-WinRMConfig -RemoveShutdownScriptConfig'
2019-09-07 08:54:56,992 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:57,007 2292 [INFO ] - VERBOSE:
2019-09-07 08:54:57,023 2292 [ERROR] - <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="debug">Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.</S><S S="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-PackageParametersBuiltIn'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><S S="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="debug">Loading community extensions</S><S S="debug">Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'</S><S S="verbose">Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-AppInstallLocation'.</S><S S="verbose">Exporting function 'Get-AvailableDriveLetter'.</S><S S="verbose">Exporting function 'Get-EffectiveProxy'.</S><S S="verbose">Exporting function 'Get-PackageCacheLocation'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-WebContent'.</S><S S="verbose">Exporting function 'Register-Application'.</S><S S="verbose">Importing function 'Get-AppInstallLocation'.</S><S S="verbose">Importing function 'Get-AvailableDriveLetter'.</S><S S="verbose">Importing function 'Get-EffectiveProxy'.</S><S S="verbose">Importing function 'Get-PackageCacheLocation'.</S><S S="verbose">Importing function 'Get-PackageParameters'.</S><S S="verbose">Importing function 'Get-UninstallRegistryKey'.</S><S S="verbose">Importing function 'Get-WebContent'.</S><S S="verbose">Importing function 'Register-Application'.</S><S S="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-PackageParametersBuiltIn'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting function 'Get-AppInstallLocation'.</S><S S="verbose">Exporting function 'Get-AvailableDriveLetter'.</S><S S="verbose">Exporting function 'Get-EffectiveProxy'.</S><S S="verbose">Exporting function 'Get-PackageCacheLocation'.</S><S S="verbose">Exporting function 'Get-WebContent'.</S><S S="verbose">Exporting function 'Register-Application'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><S S="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="verbose">Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.</S><S S="verbose">Operation 'Enumerate CimInstances' complete.</S><S S="verbose">Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.</S><S S="verbose">Operation 'Enumerate CimInstances' complete.</S></Objs>
2019-09-07 08:54:57,070 2292 [DEBUG] - Command ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat Text -OutputFormat Text -EncodedCommand IAAgACAAIAAgACAAJABuAG8AUwBsAGUAZQBwACAAPQAgACQARgBhAGwAcwBlAA0ACgAgACAAIAAgACAAIAAjACQAZQBuAHYAOgBDAGgAbwBjAG8AbABhAHQAZQB5AEUAbgB2AGkAcgBvAG4AbQBlAG4AdABEAGUAYgB1AGcAPQAnAGYAYQBsAHMAZQAnAA0ACgAgACAAIAAgACAAIAAjACQAZQBuAHYAOgBDAGgAbwBjAG8AbABhAHQAZQB5AEUAbgB2AGkAcgBvAG4AbQBlAG4AdABWAGUAcgBiAG8AcwBlAD0AJwBmAGEAbABzAGUAJwANAAoAIAAgACAAIAAgACAAJgAgAGkAbQBwAG8AcgB0AC0AbQBvAGQAdQBsAGUAIAAtAG4AYQBtAGUAIAAnAEMAOgBcAFAAcgBvAGcAcgBhAG0ARABhAHQAYQBcAGMAaABvAGMAbwBsAGEAdABlAHkAXABoAGUAbABwAGUAcgBzAFwAYwBoAG8AYwBvAGwAYQB0AGUAeQBJAG4AcwB0AGEAbABsAGUAcgAuAHAAcwBtADEAJwAgAC0AVgBlAHIAYgBvAHMAZQA6ACQAZgBhAGwAcwBlACAAfAAgAE8AdQB0AC0ATgB1AGwAbAA7AA0ACgAgACAAIAAgACAAIAB0AHIAeQB7AA0ACgAgACAAIAAgACAAIAAgACAAJABwAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACIAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAiAA0ACgAgACAAIAAgACAAIAAgACAAJgAgACcAQwA6AFwAUAByAG8AZwByAGEAbQBEAGEAdABhAFwAYwBoAG8AYwBvAGwAYQB0AGUAeQBcAGwAaQBiAFwAdQBuAGQAbwAtAHcAaQBuAHIAbQBjAG8AbgBmAGkAZwAtAGQAdQByAGkAbgBnAC0AcwBoAHUAdABkAG8AdwBuAFwAdABvAG8AbABzAFwAVQBuAGQAbwAtAFcAaQBuAFIATQBDAG8AbgBmAGkAZwAuAHAAcwAxACcADQAKACAAIAAgACAAIAAgACAAIABpAGYAKAAhACQAbgBvAFMAbABlAGUAcAApAHsAcwB0AGEAcgB0AC0AcwBsAGUAZQBwACAANgB9AA0ACgAgACAAIAAgACAAIAB9AA0ACgAgACAAIAAgACAAIABjAGEAdABjAGgAewANAAoAIAAgACAAIAAgACAAIAAgAGkAZgAoACEAJABuAG8AUwBsAGUAZQBwACkAewBzAHQAYQByAHQALQBzAGwAZQBlAHAAIAA4AH0ADQAKACAAIAAgACAAIAAgACAAIAB0AGgAcgBvAHcADQAKACAAIAAgACAAIAAgAH0A] exited with '0'.
2019-09-07 08:54:57,132 2292 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-09-07 08:54:57,148 2292 [INFO ] - 0
2019-09-07 08:54:57,242 2292 [DEBUG] - ----------------------------------------------------------------------
2019-09-07 08:54:57,462 2292 [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\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-09-07 08:54:57,462 2292 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2019-09-07 08:54:57,492 2292 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-09-07 08:54:57,523 2292 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-09-07 08:54:57,539 2292 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown'
2019-09-07 08:54:57,539 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nupkg'
with checksum '0D8A4D6D90F90DA6D3FDF05F5F2C2304'
2019-09-07 08:54:57,539 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nuspec'
with checksum '43668A5356D55FBAFE207C05459C7062'
2019-09-07 08:54:57,555 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1'
with checksum '04092AA777CFF00A8C2775A919456941'
2019-09-07 08:54:57,555 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1'
with checksum '27F3F2E74341CB9DD3AB36D307518F29'
2019-09-07 08:54:57,555 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\readme.md'
with checksum 'C7A94BB061D54BA0BEC31A04018D5A99'
2019-09-07 08:54:57,570 2292 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1'
with checksum '23B4B7919F62BE6734A083A638A422D8'
2019-09-07 08:54:57,570 2292 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\undo-winrmconfig-during-shutdown.1.2.0".
2019-09-07 08:54:57,585 2292 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\undo-winrmconfig-during-shutdown.1.2.0\.files'
2019-09-07 08:54:57,585 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\undo-winrmconfig-during-shutdown.1.2.0\.extra".
2019-09-07 08:54:57,601 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\undo-winrmconfig-during-shutdown.1.2.0\.version".
2019-09-07 08:54:57,601 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\undo-winrmconfig-during-shutdown.1.2.0\.sxs".
2019-09-07 08:54:57,601 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\undo-winrmconfig-during-shutdown.1.2.0\.pin".
2019-09-07 08:54:57,617 2292 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-09-07 08:54:57,617 2292 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\.chocolateyPending".
2019-09-07 08:54:57,617 2292 [INFO ] - The install of undo-winrmconfig-during-shutdown was successful.
2019-09-07 08:54:57,617 2292 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-09-07 08:54:57,632 2292 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\undo-winrmconfig-during-shutdown.1.2.0.nupkg".
2019-09-07 08:54:57,757 2292 [WARN ] -
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-09-07 08:54:57,773 2292 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-09-07 08:54:57,867 2292 [DEBUG] - Exiting with 0
2019-09-07 08:55:41,679 2952 [DEBUG] - XmlConfiguration is now operational
2019-09-07 08:55:41,914 2952 [INFO ] - ============================================================
2019-09-07 08:55:42,727 2952 [INFO ] - Chocolatey v0.10.15
2019-09-07 08:55:42,757 2952 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-09-07 08:55:42,773 2952 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-09-07 08:55:42,789 2952 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-09-07 08:55:42,805 2952 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall undo-winrmconfig-during-shutdown --version 1.2.0 -dvy --execution-timeout=2700
2019-09-07 08:55:42,820 2952 [DEBUG] - Received arguments: uninstall undo-winrmconfig-during-shutdown --version 1.2.0 -dvy --execution-timeout=2700
2019-09-07 08:55:42,992 2952 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-09-07 08:55:43,023 2952 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-09-07 08:55:43,040 2952 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-09-07 08:55:43,180 2952 [DEBUG] - Performing validation checks.
2019-09-07 08:55:43,195 2952 [DEBUG] - Global Configuration Validation Checks:
2019-09-07 08:55:43,211 2952 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-09-07 08:55:43,211 2952 [DEBUG] - System State Validation Checks:
2019-09-07 08:55:43,226 2952 [DEBUG] - Reboot Requirement Checks:
2019-09-07 08:55:43,243 2952 [DEBUG] - - Pending Computer Rename = Checked
2019-09-07 08:55:43,258 2952 [DEBUG] - - Pending Component Based Servicing = Checked
2019-09-07 08:55:43,258 2952 [DEBUG] - - Pending Windows Auto Update = Checked
2019-09-07 08:55:43,258 2952 [DEBUG] - - Pending File Rename Operations = Checked
2019-09-07 08:55:43,273 2952 [DEBUG] - - Pending Windows Package Installer = Checked
2019-09-07 08:55:43,273 2952 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-09-07 08:55:43,290 2952 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-09-07 08:55:43,304 2952 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-09-07 08:55:43,320 2952 [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.
2019-09-07 08:55:43,382 2952 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='undo-winrmconfig-during-shutdown'|
Version='1.2.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='undo-winrmconfig-during-shutdown'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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'|
Features.ScriptsCheckLastExitCode='False'|
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'|Proxy.BypassOnLocal='True'|
2019-09-07 08:55:43,382 2952 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2019-09-07 08:55:43,415 2952 [INFO ] - Uninstalling the following packages:
2019-09-07 08:55:43,415 2952 [INFO ] - undo-winrmconfig-during-shutdown
2019-09-07 08:55:43,445 2952 [DEBUG] - Current environment values (may contain sensitive data):
2019-09-07 08:55:43,445 2952 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 08:55:43,445 2952 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-09-07 08:55:43,445 2952 [DEBUG] - * 'ChocolateyLastPathUpdate'='132123188323212849' ('User')
2019-09-07 08:55:43,461 2952 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-09-07 08:55:43,461 2952 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-09-07 08:55:43,461 2952 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2019-09-07 08:55:43,476 2952 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-09-07 08:55:43,476 2952 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 08:55:43,476 2952 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-09-07 08:55:43,476 2952 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-09-07 08:55:43,492 2952 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-09-07 08:55:43,492 2952 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-09-07 08:55:43,492 2952 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-09-07 08:55:43,492 2952 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-09-07 08:55:43,507 2952 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-09-07 08:55:43,507 2952 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-09-07 08:55:43,507 2952 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-09-07 08:55:43,507 2952 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-09-07 08:55:43,523 2952 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-09-07 08:55:43,523 2952 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-09-07 08:55:44,587 2952 [DEBUG] - Running list with the following filter = ''
2019-09-07 08:55:44,601 2952 [DEBUG] - --- Start of List ---
2019-09-07 08:55:45,179 2952 [DEBUG] - undo-winrmconfig-during-shutdown 1.2.0
2019-09-07 08:55:45,195 2952 [DEBUG] - --- End of List ---
2019-09-07 08:55:45,492 2952 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2019-09-07 08:55:45,507 2952 [DEBUG] - Backing up existing undo-winrmconfig-during-shutdown prior to operation.
2019-09-07 08:55:45,524 2952 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown'
to 'C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown'
2019-09-07 08:55:47,539 2952 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown".
2019-09-07 08:55:47,539 2952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nupkg"
to "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nupkg".
2019-09-07 08:55:47,554 2952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nuspec"
to "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nuspec".
2019-09-07 08:55:47,554 2952 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools".
2019-09-07 08:55:47,554 2952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1".
2019-09-07 08:55:47,570 2952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1".
2019-09-07 08:55:47,570 2952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown\tools\readme.md"
to "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\readme.md".
2019-09-07 08:55:47,570 2952 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1"
to "C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1".
2019-09-07 08:55:49,117 2952 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown'
2019-09-07 08:55:49,132 2952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nupkg'
with checksum '0D8A4D6D90F90DA6D3FDF05F5F2C2304'
2019-09-07 08:55:49,132 2952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\undo-winrmconfig-during-shutdown.nuspec'
with checksum '43668A5356D55FBAFE207C05459C7062'
2019-09-07 08:55:49,132 2952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyinstall.ps1'
with checksum '04092AA777CFF00A8C2775A919456941'
2019-09-07 08:55:49,148 2952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1'
with checksum '27F3F2E74341CB9DD3AB36D307518F29'
2019-09-07 08:55:49,148 2952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\readme.md'
with checksum 'C7A94BB061D54BA0BEC31A04018D5A99'
2019-09-07 08:55:49,148 2952 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1'
with checksum '23B4B7919F62BE6734A083A638A422D8'
2019-09-07 08:55:49,461 2952 [INFO ] - [NuGet] Uninstalling 'undo-winrmconfig-during-shutdown 1.2.0'.
2019-09-07 08:55:49,478 2952 [INFO ] -
undo-winrmconfig-during-shutdown v1.2.0
2019-09-07 08:55:49,554 2952 [DEBUG] - Setting installer args for undo-winrmconfig-during-shutdown
2019-09-07 08:55:49,570 2952 [DEBUG] - Setting package parameters for undo-winrmconfig-during-shutdown
2019-09-07 08:55:49,570 2952 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1':
2019-09-07 08:55:49,570 2952 [DEBUG] -
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageName = $env:ChocolateyPackageName
$ScriptToRun = "$toolsDir\Undo-WinRMConfig.ps1"
Start-ChocolateyProcessAsAdmin "& `'$ScriptToRun`' -RemoveShutdownScriptSetup"
2019-09-07 08:55:49,648 2952 [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\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''']
2019-09-07 08:55:49,648 2952 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-09-07 08:55:50,351 2952 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-09-07 08:55:50,757 2952 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 08:55:50,773 2952 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 08:55:50,773 2952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 08:55:50,773 2952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 08:55:50,789 2952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 08:55:50,789 2952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 08:55:50,789 2952 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 08:55:50,804 2952 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 08:55:50,804 2952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 08:55:50,804 2952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 08:55:50,820 2952 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 08:55:50,820 2952 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 08:55:50,820 2952 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 08:55:50,836 2952 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 08:55:50,836 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 08:55:50,836 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 08:55:50,851 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 08:55:50,851 2952 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 08:55:50,851 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 08:55:50,851 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 08:55:50,867 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 08:55:50,867 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 08:55:50,867 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 08:55:50,882 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 08:55:50,882 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 08:55:50,882 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 08:55:50,882 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 08:55:50,898 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 08:55:50,898 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 08:55:50,898 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 08:55:50,898 2952 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 08:55:50,914 2952 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 08:55:50,914 2952 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 08:55:50,914 2952 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 08:55:50,929 2952 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 08:55:50,929 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 08:55:50,929 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 08:55:50,929 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 08:55:50,945 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 08:55:50,945 2952 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 08:55:50,945 2952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 08:55:50,961 2952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 08:55:50,961 2952 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 08:55:50,961 2952 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 08:55:50,976 2952 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 08:55:50,976 2952 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 08:55:50,976 2952 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 08:55:50,976 2952 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 08:55:50,992 2952 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 08:55:50,992 2952 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 08:55:50,992 2952 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 08:55:51,007 2952 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 08:55:51,007 2952 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 08:55:51,039 2952 [DEBUG] - Loading community extensions
2019-09-07 08:55:51,070 2952 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2019-09-07 08:55:51,070 2952 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2019-09-07 08:55:51,304 2952 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 08:55:51,320 2952 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2019-09-07 08:55:51,320 2952 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2019-09-07 08:55:51,320 2952 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2019-09-07 08:55:51,336 2952 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2019-09-07 08:55:51,336 2952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 08:55:51,336 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2019-09-07 08:55:51,351 2952 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2019-09-07 08:55:51,351 2952 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2019-09-07 08:55:51,351 2952 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2019-09-07 08:55:51,367 2952 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2019-09-07 08:55:51,367 2952 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2019-09-07 08:55:51,367 2952 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-09-07 08:55:51,367 2952 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-09-07 08:55:51,382 2952 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2019-09-07 08:55:51,382 2952 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2019-09-07 08:55:51,382 2952 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-09-07 08:55:51,398 2952 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-09-07 08:55:51,398 2952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-09-07 08:55:51,398 2952 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-09-07 08:55:51,398 2952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-09-07 08:55:51,414 2952 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-09-07 08:55:51,414 2952 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-09-07 08:55:51,414 2952 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-09-07 08:55:51,414 2952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-09-07 08:55:51,429 2952 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-09-07 08:55:51,429 2952 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-09-07 08:55:51,429 2952 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-09-07 08:55:51,445 2952 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-09-07 08:55:51,445 2952 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-09-07 08:55:51,445 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-09-07 08:55:51,460 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-09-07 08:55:51,460 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-09-07 08:55:51,460 2952 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-09-07 08:55:51,476 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-09-07 08:55:51,476 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 08:55:51,476 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 08:55:51,492 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-09-07 08:55:51,492 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-09-07 08:55:51,492 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-09-07 08:55:51,492 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-09-07 08:55:51,507 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 08:55:51,507 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-09-07 08:55:51,507 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-09-07 08:55:51,523 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-09-07 08:55:51,523 2952 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-09-07 08:55:51,523 2952 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-09-07 08:55:51,523 2952 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-09-07 08:55:51,539 2952 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-09-07 08:55:51,539 2952 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 08:55:51,539 2952 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-09-07 08:55:51,554 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-09-07 08:55:51,554 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 08:55:51,554 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-09-07 08:55:51,554 2952 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 08:55:51,570 2952 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-09-07 08:55:51,570 2952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-09-07 08:55:51,570 2952 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-09-07 08:55:51,585 2952 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-09-07 08:55:51,585 2952 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-09-07 08:55:51,585 2952 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2019-09-07 08:55:51,585 2952 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2019-09-07 08:55:51,601 2952 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2019-09-07 08:55:51,601 2952 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2019-09-07 08:55:51,601 2952 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2019-09-07 08:55:51,601 2952 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2019-09-07 08:55:51,617 2952 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-09-07 08:55:51,617 2952 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-09-07 08:55:51,617 2952 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-09-07 08:55:51,632 2952 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-09-07 08:55:51,632 2952 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-09-07 08:55:51,632 2952 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-09-07 08:55:51,632 2952 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-09-07 08:55:51,648 2952 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-09-07 08:55:51,648 2952 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-09-07 08:55:51,665 2952 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-09-07 08:55:51,665 2952 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2019-09-07 08:55:51,665 2952 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2019-09-07 08:55:51,681 2952 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-09-07 08:55:51,696 2952 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-09-07 08:55:51,711 2952 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-09-07 08:55:51,711 2952 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2019-09-07 08:55:51,726 2952 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-09-07 08:55:51,726 2952 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-09-07 08:55:51,742 2952 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-09-07 08:55:51,742 2952 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-09-07 08:55:51,757 2952 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2019-09-07 08:55:51,757 2952 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-09-07 08:55:51,773 2952 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-09-07 08:55:51,789 2952 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-09-07 08:55:51,789 2952 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-09-07 08:55:51,804 2952 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-09-07 08:55:51,804 2952 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-09-07 08:55:51,804 2952 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2019-09-07 08:55:51,820 2952 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-09-07 08:55:51,835 2952 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-09-07 08:55:51,835 2952 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-09-07 08:55:51,851 2952 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-09-07 08:55:51,851 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-09-07 08:55:51,851 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-09-07 08:55:51,851 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-09-07 08:55:51,867 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-09-07 08:55:51,867 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-09-07 08:55:51,867 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-09-07 08:55:51,867 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-09-07 08:55:51,883 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-09-07 08:55:51,883 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-09-07 08:55:51,883 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-09-07 08:55:51,898 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-09-07 08:55:51,898 2952 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-09-07 08:55:51,898 2952 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-09-07 08:55:51,898 2952 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2019-09-07 08:55:51,898 2952 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-09-07 08:55:51,914 2952 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-09-07 08:55:51,914 2952 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-09-07 08:55:51,914 2952 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-09-07 08:55:51,914 2952 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-09-07 08:55:51,929 2952 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-09-07 08:55:51,929 2952 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-09-07 08:55:51,929 2952 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-09-07 08:55:51,929 2952 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-09-07 08:55:51,945 2952 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-09-07 08:55:51,945 2952 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-09-07 08:55:51,945 2952 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-09-07 08:55:51,961 2952 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-09-07 08:55:51,961 2952 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-09-07 08:55:51,961 2952 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-09-07 08:55:51,961 2952 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-09-07 08:55:51,976 2952 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-09-07 08:55:51,976 2952 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-09-07 08:55:51,976 2952 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-09-07 08:55:51,992 2952 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-09-07 08:55:51,992 2952 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-09-07 08:55:51,992 2952 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-09-07 08:55:52,117 2952 [DEBUG] - ---------------------------Script Execution---------------------------
2019-09-07 08:55:52,132 2952 [DEBUG] - Running 'ChocolateyScriptRunner' for undo-winrmconfig-during-shutdown v1.2.0 with packageScript 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown', installArguments: '', packageParameters: '',
2019-09-07 08:55:52,179 2952 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1'
2019-09-07 08:55:52,445 2952 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '& 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1' -RemoveShutdownScriptSetup'
2019-09-07 08:55:52,461 2952 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-09-07 08:55:52,554 2952 [DEBUG] - Test-ProcessAdminRights: returning True
2019-09-07 08:55:52,679 2952 [DEBUG] - Elevating permissions and running powershell block:
$noSleep = $False
#$env:ChocolateyEnvironmentDebug='false'
#$env:ChocolateyEnvironmentVerbose='false'
& import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1' -Verbose:$false | Out-Null;
try{
$progressPreference="SilentlyContinue"
& 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools\Undo-WinRMConfig.ps1' -RemoveShutdownScriptSetup
if(!$noSleep){start-sleep 6}
}
catch{
if(!$noSleep){start-sleep 8}
throw
}
This may take a while, depending on the statements.
2019-09-07 08:56:02,758 2952 [ERROR] - #< CLIXML
2019-09-07 08:56:02,758 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,773 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,789 2952 [INFO ] - VERBOSE: Undo-WinRMConfig Version 1.2.0
2019-09-07 08:56:02,789 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,789 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,789 2952 [INFO ] - VERBOSE: Undoing WinRM Config On Next Shutdown
2019-09-07 08:56:02,804 2952 [INFO ] - VERBOSE: Creating C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown\Undo-WinRMConfig.ps1, with the following contents:
2019-09-07 08:56:02,804 2952 [INFO ] - VERBOSE: *******************
2019-09-07 08:56:02,804 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,820 2952 [INFO ] - VERBOSE: If (!$PSScriptRoot) {$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent}
2019-09-07 08:56:02,820 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,820 2952 [INFO ] - VERBOSE: #This has to work for Win7 (no get-ciminstance) and Nano (no get-wmiobject) - each of which specially construct win32_operatingsystem.version to handle before and after Windows 10 version numbers (which are in different registry keys)
2019-09-07 08:56:02,835 2952 [INFO ] - VERBOSE: If ($psversiontable.psversion.major -lt 3)
2019-09-07 08:56:02,835 2952 [INFO ] - VERBOSE: { $OSMajorMinorVersionString = @(([version](Get-WMIObject Win32_OperatingSystem).version).major,([version](Get-WMIObject Win32_OperatingSystem).version).minor) -join '.' }
2019-09-07 08:56:02,835 2952 [INFO ] - VERBOSE: Else
2019-09-07 08:56:02,835 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,851 2952 [INFO ] - VERBOSE: Write-Host "Disabling all Enabled Firewall rules that address port 5985 or 5896 directly"
2019-09-07 08:56:02,851 2952 [INFO ] - VERBOSE: { $OSMajorMinorVersionString = @(([version](Get-CIMInstance Win32_OperatingSystem).version).major,([version](Get-CIMInstance Win32_OperatingSystem).version).minor) -join '.' }
2019-09-07 08:56:02,851 2952 [INFO ] - VERBOSE: $EnabledInboundRMPorts = @(New-object -comObject HNetCfg.FwPolicy2).rules | where-object {($_.LocalPorts -ilike '*5985*') -AND ($_.Enabled -ilike 'True')}
2019-09-07 08:56:02,867 2952 [INFO ] - VERBOSE: $EnabledInboundRMPorts += @(New-object -comObject HNetCfg.FwPolicy2).rules | where-object {($_.LocalPorts -ilike '*5986*') -AND ($_.Enabled -ilike 'True')}
2019-09-07 08:56:02,867 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,867 2952 [INFO ] - VERBOSE: ForEach ($FirewallRuleName in $EnabledInboundRMPorts)
2019-09-07 08:56:02,882 2952 [INFO ] - VERBOSE: {
2019-09-07 08:56:02,882 2952 [INFO ] - VERBOSE: Write-Host "Disabling firewall rule that addresses remoting: `"$($FirewallRuleName.Name)`""
2019-09-07 08:56:02,898 2952 [INFO ] - VERBOSE: netsh advfirewall firewall set rule name="$($FirewallRuleName.Name)" new enable=No
2019-09-07 08:56:02,898 2952 [INFO ] - VERBOSE: }
2019-09-07 08:56:02,898 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,914 2952 [INFO ] - VERBOSE: Write-Host "Undoing changes for Enable-PSRemoting, Enable-WSManCredSSP and winrm configuration commands"
2019-09-07 08:56:02,914 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,914 2952 [INFO ] - VERBOSE: Write-Host "Remove LocalAccountTokenFilterPolicy added by winrm configuration"
2019-09-07 08:56:02,929 2952 [INFO ] - VERBOSE: #This key is symlinked into "Wow6432Node" - both locations are handled by one delete
2019-09-07 08:56:02,929 2952 [INFO ] - VERBOSE: $regkeypath ='HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system'
2019-09-07 08:56:02,929 2952 [INFO ] - VERBOSE: If (!((Get-ItemProperty $regkeypath).LocalAccountTokenFilterPolicy -eq $null))
2019-09-07 08:56:02,945 2952 [INFO ] - VERBOSE: {Remove-ItemProperty -path $regkeypath -name LocalAccountTokenFilterPolicy}
2019-09-07 08:56:02,945 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,945 2952 [INFO ] - VERBOSE: Write-Host "Enable-PSRemoting changes will be removed by undoing WSMAN changes"
2019-09-07 08:56:02,945 2952 [INFO ] - VERBOSE: Write-Host "Enable-WSManCredSSP client or server changes will be removed by undoing WSMAN changes"
2019-09-07 08:56:02,961 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,961 2952 [INFO ] - VERBOSE: #Remove WSMAN Key before importing pristine .REG
2019-09-07 08:56:02,961 2952 [INFO ] - VERBOSE: Remove-Item 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN' -Recurse -Force
2019-09-07 08:56:02,976 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:02,976 2952 [INFO ] - VERBOSE: ForEach ($File in (Get-ChildItem "$PSScriptRoot\*${OSMajorMinorVersionString}.reg" | sort-object Name))
2019-09-07 08:56:02,976 2952 [INFO ] - VERBOSE: {
2019-09-07 08:56:02,976 2952 [INFO ] - VERBOSE: Write-Host "Importing $OSMajorMinorVersionString\$($File.name)"
2019-09-07 08:56:02,992 2952 [INFO ] - VERBOSE: reg.exe import "$($File.fullname)"
2019-09-07 08:56:02,992 2952 [INFO ] - VERBOSE: }Register-ScheduledJob -Name CleanUpWinRM -RunNow -ScheduledJobOption @{RunElevated=True;ShowInTaskScheduler=True;RunWithoutNetwork=True} -ScriptBlock Start-Sleep -milliseconds 500
2019-09-07 08:56:02,992 2952 [INFO ] - VERBOSE: Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown\0" -Force -Recurse -ErrorAction SilentlyContinue
2019-09-07 08:56:03,007 2952 [INFO ] - VERBOSE: Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0" -Force -Recurse -ErrorAction SilentlyContinue
2019-09-07 08:56:03,007 2952 [INFO ] - VERBOSE: Remove-Item -Path C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown\Undo-WinRMConfig.ps1 -Force -ErrorAction SilentlyContinue
2019-09-07 08:56:03,007 2952 [INFO ] - VERBOSE: Get-ChildItem "C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown\*6.3.reg" | remove-item -force
2019-09-07 08:56:03,023 2952 [INFO ] - VERBOSE: If (Test-Path C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini)
2019-09-07 08:56:03,023 2952 [INFO ] - VERBOSE: {
2019-09-07 08:56:03,023 2952 [INFO ] - VERBOSE: (Get-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini") -replace '0CmdLine=Undo-WinRMConfig.ps1', '' | Set-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini"
2019-09-07 08:56:03,039 2952 [INFO ] - VERBOSE: (Get-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini") -replace '0Parameters=', '' | Set-Content "C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini"
2019-09-07 08:56:03,039 2952 [INFO ] - VERBOSE: }
2019-09-07 08:56:03,039 2952 [INFO ] - VERBOSE: *******************`r`n`r`n
2019-09-07 08:56:03,054 2952 [INFO ] - VERBOSE: Creating HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\Scripts\Shutdown\0
2019-09-07 08:56:03,054 2952 [INFO ] - VERBOSE: Creating HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0
2019-09-07 08:56:03,054 2952 [INFO ] - VERBOSE: Updating C:\Windows\System32\GroupPolicy\Machine\Scripts\psscripts.ini
2019-09-07 08:56:03,070 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:03,070 2952 [INFO ] - VERBOSE:
2019-09-07 08:56:03,070 2952 [INFO ] - VERBOSE: Undo-WinRMConfig (v1.2.0) is staged to run at next shutdown. To unstage, run 'Undo-WinRMConfig -RemoveShutdownScriptConfig'
2019-09-07 08:56:03,086 2952 [ERROR] - <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><S S="debug">Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.</S><S S="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-PackageParametersBuiltIn'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><S S="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="debug">Loading community extensions</S><S S="debug">Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'</S><S S="verbose">Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-AppInstallLocation'.</S><S S="verbose">Exporting function 'Get-AvailableDriveLetter'.</S><S S="verbose">Exporting function 'Get-EffectiveProxy'.</S><S S="verbose">Exporting function 'Get-PackageCacheLocation'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-WebContent'.</S><S S="verbose">Exporting function 'Register-Application'.</S><S S="verbose">Importing function 'Get-AppInstallLocation'.</S><S S="verbose">Importing function 'Get-AvailableDriveLetter'.</S><S S="verbose">Importing function 'Get-EffectiveProxy'.</S><S S="verbose">Importing function 'Get-PackageCacheLocation'.</S><S S="verbose">Importing function 'Get-PackageParameters'.</S><S S="verbose">Importing function 'Get-UninstallRegistryKey'.</S><S S="verbose">Importing function 'Get-WebContent'.</S><S S="verbose">Importing function 'Register-Application'.</S><S S="verbose">Exporting function 'Format-FileSize'.</S><S S="verbose">Exporting function 'Get-ChecksumValid'.</S><S S="verbose">Exporting function 'Get-ChocolateyUnzip'.</S><S S="verbose">Exporting function 'Get-ChocolateyWebFile'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Get-EnvironmentVariableNames'.</S><S S="verbose">Exporting function 'Get-FtpFile'.</S><S S="verbose">Exporting function 'Get-OSArchitectureWidth'.</S><S S="verbose">Exporting function 'Get-PackageParameters'.</S><S S="verbose">Exporting function 'Get-PackageParametersBuiltIn'.</S><S S="verbose">Exporting function 'Get-ToolsLocation'.</S><S S="verbose">Exporting function 'Get-UACEnabled'.</S><S S="verbose">Exporting function 'Get-UninstallRegistryKey'.</S><S S="verbose">Exporting function 'Get-VirusCheckValid'.</S><S S="verbose">Exporting function 'Get-WebFile'.</S><S S="verbose">Exporting function 'Get-WebFileName'.</S><S S="verbose">Exporting function 'Get-WebHeaders'.</S><S S="verbose">Exporting function 'Install-BinFile'.</S><S S="verbose">Exporting function 'Install-ChocolateyDesktopLink'.</S><S S="verbose">Exporting function 'Install-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Install-ChocolateyExplorerMenuItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyFileAssociation'.</S><S S="verbose">Exporting function 'Install-ChocolateyInstallPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyPath'.</S><S S="verbose">Exporting function 'Install-ChocolateyPinnedTaskBarItem'.</S><S S="verbose">Exporting function 'Install-ChocolateyPowershellCommand'.</S><S S="verbose">Exporting function 'Install-ChocolateyShortcut'.</S><S S="verbose">Exporting function 'Install-ChocolateyVsixPackage'.</S><S S="verbose">Exporting function 'Install-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Install-Vsix'.</S><S S="verbose">Exporting function 'Set-EnvironmentVariable'.</S><S S="verbose">Exporting function 'Set-PowerShellExitCode'.</S><S S="verbose">Exporting function 'Start-ChocolateyProcessAsAdmin'.</S><S S="verbose">Exporting function 'Test-ProcessAdminRights'.</S><S S="verbose">Exporting function 'Uninstall-BinFile'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyPackage'.</S><S S="verbose">Exporting function 'Uninstall-ChocolateyZipPackage'.</S><S S="verbose">Exporting function 'Update-SessionEnvironment'.</S><S S="verbose">Exporting function 'Write-ChocolateyFailure'.</S><S S="verbose">Exporting function 'Write-ChocolateySuccess'.</S><S S="verbose">Exporting function 'Write-FileUpdateLog'.</S><S S="verbose">Exporting function 'Write-FunctionCallLogMessage'.</S><S S="verbose">Exporting function 'Get-AppInstallLocation'.</S><S S="verbose">Exporting function 'Get-AvailableDriveLetter'.</S><S S="verbose">Exporting function 'Get-EffectiveProxy'.</S><S S="verbose">Exporting function 'Get-PackageCacheLocation'.</S><S S="verbose">Exporting function 'Get-WebContent'.</S><S S="verbose">Exporting function 'Register-Application'.</S><S S="verbose">Exporting alias 'Get-ProcessorBits'.</S><S S="verbose">Exporting alias 'Get-OSBitness'.</S><S S="verbose">Exporting alias 'Get-InstallRegistryKey'.</S><S S="verbose">Exporting alias 'Generate-BinFile'.</S><S S="verbose">Exporting alias 'Add-BinFile'.</S><S S="verbose">Exporting alias 'Start-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Invoke-ChocolateyProcess'.</S><S S="verbose">Exporting alias 'Remove-BinFile'.</S><S S="verbose">Exporting alias 'refreshenv'.</S><S S="verbose">Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.</S><S S="verbose">Operation 'Enumerate CimInstances' complete.</S><S S="verbose">Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.</S><S S="verbose">Operation 'Enumerate CimInstances' complete.</S></Objs>
2019-09-07 08:56:03,148 2952 [DEBUG] - Command ["C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -InputFormat Text -OutputFormat Text -EncodedCommand IAAgACAAIAAgACAAJABuAG8AUwBsAGUAZQBwACAAPQAgACQARgBhAGwAcwBlAA0ACgAgACAAIAAgACAAIAAjACQAZQBuAHYAOgBDAGgAbwBjAG8AbABhAHQAZQB5AEUAbgB2AGkAcgBvAG4AbQBlAG4AdABEAGUAYgB1AGcAPQAnAGYAYQBsAHMAZQAnAA0ACgAgACAAIAAgACAAIAAjACQAZQBuAHYAOgBDAGgAbwBjAG8AbABhAHQAZQB5AEUAbgB2AGkAcgBvAG4AbQBlAG4AdABWAGUAcgBiAG8AcwBlAD0AJwBmAGEAbABzAGUAJwANAAoAIAAgACAAIAAgACAAJgAgAGkAbQBwAG8AcgB0AC0AbQBvAGQAdQBsAGUAIAAtAG4AYQBtAGUAIAAnAEMAOgBcAFAAcgBvAGcAcgBhAG0ARABhAHQAYQBcAGMAaABvAGMAbwBsAGEAdABlAHkAXABoAGUAbABwAGUAcgBzAFwAYwBoAG8AYwBvAGwAYQB0AGUAeQBJAG4AcwB0AGEAbABsAGUAcgAuAHAAcwBtADEAJwAgAC0AVgBlAHIAYgBvAHMAZQA6ACQAZgBhAGwAcwBlACAAfAAgAE8AdQB0AC0ATgB1AGwAbAA7AA0ACgAgACAAIAAgACAAIAB0AHIAeQB7AA0ACgAgACAAIAAgACAAIAAgACAAJABwAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACIAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAiAA0ACgAgACAAIAAgACAAIAAgACAAJgAgACcAQwA6AFwAUAByAG8AZwByAGEAbQBEAGEAdABhAFwAYwBoAG8AYwBvAGwAYQB0AGUAeQBcAGwAaQBiAFwAdQBuAGQAbwAtAHcAaQBuAHIAbQBjAG8AbgBmAGkAZwAtAGQAdQByAGkAbgBnAC0AcwBoAHUAdABkAG8AdwBuAFwAdABvAG8AbABzAFwAVQBuAGQAbwAtAFcAaQBuAFIATQBDAG8AbgBmAGkAZwAuAHAAcwAxACcAIAAtAFIAZQBtAG8AdgBlAFMAaAB1AHQAZABvAHcAbgBTAGMAcgBpAHAAdABTAGUAdAB1AHAADQAKACAAIAAgACAAIAAgACAAIABpAGYAKAAhACQAbgBvAFMAbABlAGUAcAApAHsAcwB0AGEAcgB0AC0AcwBsAGUAZQBwACAANgB9AA0ACgAgACAAIAAgACAAIAB9AA0ACgAgACAAIAAgACAAIABjAGEAdABjAGgAewANAAoAIAAgACAAIAAgACAAIAAgAGkAZgAoACEAJABuAG8AUwBsAGUAZQBwACkAewBzAHQAYQByAHQALQBzAGwAZQBlAHAAIAA4AH0ADQAKACAAIAAgACAAIAAgACAAIAB0AGgAcgBvAHcADQAKACAAIAAgACAAIAAgAH0A] exited with '0'.
2019-09-07 08:56:03,211 2952 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-09-07 08:56:03,226 2952 [INFO ] - 0
2019-09-07 08:56:03,257 2952 [DEBUG] - ----------------------------------------------------------------------
2019-09-07 08:56:03,257 2952 [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\undo-winrmconfig-during-shutdown\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-09-07 08:56:03,273 2952 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2019-09-07 08:56:03,320 2952 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2019-09-07 08:56:03,336 2952 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-09-07 08:56:03,384 2952 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-09-07 08:56:03,414 2952 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\undo-winrmconfig-during-shutdown".
2019-09-07 08:56:03,492 2952 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:56:03,492 2952 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:56:03,507 2952 [DEBUG] - [NuGet] Removed file 'readme.md' to folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:56:03,507 2952 [DEBUG] - [NuGet] Removed file 'Undo-WinRMConfig.ps1' to folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:56:03,523 2952 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown\tools'.
2019-09-07 08:56:03,523 2952 [DEBUG] - [NuGet] Removed file 'undo-winrmconfig-during-shutdown.nuspec' to folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown'.
2019-09-07 08:56:03,539 2952 [DEBUG] - [NuGet] Removed file 'undo-winrmconfig-during-shutdown.nupkg' to folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown'.
2019-09-07 08:56:03,539 2952 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\undo-winrmconfig-during-shutdown'.
2019-09-07 08:56:03,554 2952 [INFO ] - [NuGet] Successfully uninstalled 'undo-winrmconfig-during-shutdown 1.2.0'.
2019-09-07 08:56:03,570 2952 [INFO ] - undo-winrmconfig-during-shutdown has been successfully uninstalled.
2019-09-07 08:56:03,586 2952 [DEBUG] - Removing nupkg if it still exists.
2019-09-07 08:56:03,586 2952 [DEBUG] - Ensuring removal of installation files.
2019-09-07 08:56:03,601 2952 [DEBUG] - Ensuring removal of package cache files.
2019-09-07 08:56:03,664 2952 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-09-07 08:56:03,679 2952 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-09-07 08:56:03,711 2952 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.