|
2024-07-04 20:10:03,570 3696 [DEBUG] - XmlConfiguration is now operational
|
|
2024-07-04 20:10:03,707 3696 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,707 3696 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,707 3696 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,723 3696 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,723 3696 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,723 3696 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,723 3696 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,742 3696 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,742 3696 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-07-04 20:10:03,742 3696 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-07-04 20:10:03,754 3696 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-07-04 20:10:04,522 3696 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,536 3696 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,536 3696 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,536 3696 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,536 3696 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,536 3696 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,553 3696 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,553 3696 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,563 3696 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,563 3696 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'rule' in assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-07-04 20:10:04,593 3696 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-07-04 20:10:04,624 3696 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-07-04 20:10:04,649 3696 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-07-04 20:10:04,649 3696 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-07-04 20:10:04,659 3696 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-07-04 20:10:04,659 3696 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-07-04 20:10:04,659 3696 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-07-04 20:10:04,894 3696 [INFO ] - ============================================================
|
|
2024-07-04 20:10:05,222 3696 [INFO ] - Chocolatey v2.3.0
|
|
2024-07-04 20:10:05,242 3696 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-07-04 20:10:05,252 3696 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-07-04 20:10:05,252 3696 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-07-04 20:10:05,284 3696 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install scheduled-shutdown --version 1.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-07-04 20:10:05,284 3696 [DEBUG] - Received arguments: install scheduled-shutdown --version 1.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-07-04 20:10:05,409 3696 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-07-04 20:10:05,441 3696 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-07-04 20:10:05,458 3696 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-07-04 20:10:05,612 3696 [DEBUG] - Performing validation checks.
|
|
2024-07-04 20:10:05,630 3696 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-07-04 20:10:05,642 3696 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-07-04 20:10:05,642 3696 [DEBUG] - System State Validation Checks:
|
|
2024-07-04 20:10:05,642 3696 [DEBUG] - Reboot Requirement Checks:
|
|
2024-07-04 20:10:05,665 3696 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-07-04 20:10:05,674 3696 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-07-04 20:10:05,674 3696 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-07-04 20:10:05,691 3696 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-07-04 20:10:05,691 3696 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-07-04 20:10:05,691 3696 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-07-04 20:10:05,720 3696 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-07-04 20:10:05,720 3696 [DEBUG] - - Elevated State = Checked
|
|
2024-07-04 20:10:05,720 3696 [DEBUG] - - Folder Exists = Checked
|
|
2024-07-04 20:10:05,739 3696 [DEBUG] - - Folder lockdown = Checked
|
|
2024-07-04 20:10:05,739 3696 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-07-04 20:10:05,784 3696 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-07-04 20:10:05,799 3696 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2024-07-04 20:10:05,828 3696 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|IncludeConfiguredSources='False'|
|
|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='True'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|
|
|
Input='scheduled-shutdown'|Version='1.1.0'|AllVersions='False'|
|
|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
|
|
PackageNames='scheduled-shutdown'|Prerelease='False'|ForceX86='False'|
|
|
OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2019'|
|
|
Information.ChocolateyVersion='2.3.0.0'|
|
|
Information.ChocolateyProductVersion='2.3.0'|
|
|
Information.FullName='choco, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-M29S2NTE7AQ'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|
|
|
Information.IsLicensedAssemblyLoaded='False'|
|
|
Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
Features.UsePackageHashValidation='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'|
|
|
ListCommand.ExplicitPageSize='False'|
|
|
ListCommand.ExplicitSource='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
UpgradeCommand.IgnorePinned='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
|
|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
|
|
CacheCommand.RemoveExpiredItemsOnly='False'|
|
|
2024-07-04 20:10:05,828 3696 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-07-04 20:10:05,859 3696 [INFO ] - Installing the following packages:
|
|
2024-07-04 20:10:05,859 3696 [INFO ] - scheduled-shutdown
|
|
2024-07-04 20:10:05,859 3696 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-07-04 20:10:05,892 3696 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-07-04 20:10:05,892 3696 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-07-04 20:10:05,914 3696 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-07-04 20:10:05,921 3696 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-07-04 20:10:05,921 3696 [DEBUG] - * 'ChocolateyLastPathUpdate'='133645721541998589' ('User')
|
|
2024-07-04 20:10:05,921 3696 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-07-04 20:10:05,921 3696 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-07-04 20:10:05,941 3696 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-07-04 20:10:05,941 3696 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
|
|
2024-07-04 20:10:05,941 3696 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-07-04 20:10:05,957 3696 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-07-04 20:10:05,957 3696 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-07-04 20:10:05,957 3696 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-07-04 20:10:05,973 3696 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-07-04 20:10:05,973 3696 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-07-04 20:10:05,973 3696 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-07-04 20:10:05,973 3696 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-07-04 20:10:05,987 3696 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-07-04 20:10:05,987 3696 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-07-04 20:10:05,987 3696 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-07-04 20:10:06,002 3696 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-07-04 20:10:06,534 3696 [DEBUG] - Running list with the following filter = ''
|
|
2024-07-04 20:10:06,534 3696 [DEBUG] - --- Start of List ---
|
|
2024-07-04 20:10:06,643 3696 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-07-04 20:10:07,192 3696 [DEBUG] - chocolatey 2.3.0
|
|
2024-07-04 20:10:07,205 3696 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-07-04 20:10:07,205 3696 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-07-04 20:10:07,235 3696 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-07-04 20:10:07,235 3696 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-07-04 20:10:07,257 3696 [DEBUG] - KB3035131 1.0.3
|
|
2024-07-04 20:10:07,287 3696 [DEBUG] - KB3118401 1.0.5
|
|
2024-07-04 20:10:07,300 3696 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
|
|
2024-07-04 20:10:07,300 3696 [DEBUG] - --- End of List ---
|
|
2024-07-04 20:10:07,329 3696 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-07-04 20:10:07,985 3696 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-04 20:10:08,675 3696 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='scheduled-shutdown',Version='1.1.0')
|
|
2024-07-04 20:10:08,942 3696 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='scheduled-shutdown',Version='1.1.0') 259ms
|
|
2024-07-04 20:10:09,241 3696 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-07-04 20:10:10,458 3696 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-04 20:10:10,490 3696 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='scheduled-shutdown',Version='1.1.0')
|
|
2024-07-04 20:10:10,891 3696 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-07-04 20:10:10,940 3696 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-07-04 20:10:11,068 3696 [DEBUG] - Attempting to delete file "".
|
|
2024-07-04 20:10:11,083 3696 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2024-07-04 20:10:11,094 3696 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/scheduled-shutdown/1.1.0'
|
|
2024-07-04 20:10:11,206 3696 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/scheduled-shutdown/1.1.0
|
|
2024-07-04 20:10:11,814 3696 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/scheduled-shutdown/1.1.0 606ms
|
|
2024-07-04 20:10:11,954 3696 [INFO ] - [NuGet] Acquiring lock for the installation of scheduled-shutdown 1.1.0
|
|
2024-07-04 20:10:12,204 3696 [INFO ] - [NuGet] Acquired lock for the installation of scheduled-shutdown 1.1.0
|
|
2024-07-04 20:10:12,976 3696 [INFO ] - [NuGet] Installed scheduled-shutdown 1.1.0 from https://community.chocolatey.org/api/v2/ with content hash FBD/lGN7/qn+kPbqYqw0JZ4kwQ7/wY+46fUma+N8kOcoXU0QpYA1cCAeJYIC9Z2dQCE1yCdO4szr+x+BNhRF7A==.
|
|
2024-07-04 20:10:13,017 3696 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2024-07-04 20:10:13,127 3696 [INFO ] - [NuGet] Adding package 'scheduled-shutdown.1.1.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-04 20:10:13,330 3696 [INFO ] - [NuGet] Added package 'scheduled-shutdown.1.1.0' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-07-04 20:10:13,365 3696 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\scheduled-shutdown/1.1.0\scheduled-shutdown.1.1.0.nupkg".
|
|
2024-07-04 20:10:13,377 3696 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\scheduled-shutdown/1.1.0\.nupkg.metadata".
|
|
2024-07-04 20:10:13,398 3696 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\scheduled-shutdown/1.1.0\scheduled-shutdown.1.1.0.nupkg.sha512".
|
|
2024-07-04 20:10:13,410 3696 [INFO ] -
|
|
scheduled-shutdown v1.1.0 (forced) [Approved]
|
|
2024-07-04 20:10:13,562 3696 [INFO ] - scheduled-shutdown package files install completed. Performing other installation steps.
|
|
2024-07-04 20:10:13,689 3696 [DEBUG] - Setting installer args for scheduled-shutdown
|
|
2024-07-04 20:10:13,711 3696 [DEBUG] - Setting package parameters for scheduled-shutdown
|
|
2024-07-04 20:10:13,711 3696 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\Tools\ChocolateyInstall.ps1':
|
|
2024-07-04 20:10:13,797 3696 [DEBUG] -
|
|
$packageid = "Scheduled-Shutdown"
|
|
$ShutdownTime = '23:50' #Hour in 24hr / min format
|
|
$Frequency = 'Daily' #Daily or Weekly
|
|
$Weekday = 'FRI'
|
|
$Modifier = $null
|
|
|
|
$arguments = @{};
|
|
$packageParameters = $env:chocolateyPackageParameters;
|
|
|
|
# Now parse the packageParameters using good old regular expression
|
|
if ($packageParameters) {
|
|
$match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
|
|
#"
|
|
$option_name = 'option'
|
|
$value_name = 'value'
|
|
|
|
if ($packageParameters -match $match_pattern ){
|
|
$results = $packageParameters | Select-String $match_pattern -AllMatches
|
|
$results.matches | % {
|
|
$arguments.Add(
|
|
$_.Groups[$option_name].Value.Trim(),
|
|
$_.Groups[$value_name].Value.Trim())
|
|
}
|
|
}
|
|
else
|
|
{
|
|
throw "Package Parameters were found but were invalid (REGEX Failure)"
|
|
}
|
|
if ($arguments.ContainsKey("ShutdownTime")) {
|
|
Write-Output "ShutdownTime argument used, changing from default $Shutdown time to $($arguments.Get_Item("ShutdownTime"))"
|
|
$ShutdownTime = $arguments.Get_Item("ShutdownTime")
|
|
}
|
|
if ($arguments.ContainsKey("Frequency")) {
|
|
Write-Output "Frequency argument used, changing from default $Frequency time to $($arguments.Get_Item("Frequency"))"
|
|
$Frequency = $arguments["Frequency"]
|
|
}
|
|
if ($arguments.ContainsKey("Weekday")) {
|
|
If ($Frequency -ieq 'Daily')
|
|
{
|
|
Write-Ouput "Ignoring Weekday argument set to $Weekday because Frequency is set to $Frequency (you must set Frequency to Weekly for Weekday to be relevant)"
|
|
}
|
|
else
|
|
{
|
|
Write-Output "Weekday argument used, changing from default $Weekday time to $($arguments.Get_Item("Weekday"))"
|
|
$Weekday = $arguments["Weekday"]
|
|
}
|
|
}
|
|
} else {
|
|
Write-Debug "No Package Parameters Passed in, using defaults.";
|
|
}
|
|
|
|
If ($Frequency -ieq "Weekly")
|
|
{
|
|
$modifier = " /MO 1 /D $Weekday "
|
|
}
|
|
|
|
|
|
If (Test-Path "$env:windir\System32\Tasks\$packageid")
|
|
{
|
|
schtasks /delete /tn "$packageid" /F
|
|
}
|
|
|
|
$argumentstring = "/create /sc `"$Frequency`" /tn `"$packageid`" /ru `"NT AUTHORITY\SYSTEM`" /tr `"c:\windows\system32\shutdown.exe /s /t 120 /c $packageid /f`" /st `"$ShutdownTime`" $modifier"
|
|
|
|
Write-output "Scheduling with command: "
|
|
Write-Output "$argumentstring"
|
|
|
|
Start-process "schtasks.exe" -ArgumentList "$argumentstring" -nonewwindow -wait
|
|
|
|
$StatusMessage = "Shutdown is scheduled for $ShutdownTime on a $Frequency Basis"
|
|
|
|
If ($Frequency -ieq 'Weekly')
|
|
{
|
|
$StatusMessage += " every $Weekday."
|
|
}
|
|
|
|
Write-warning "**********************************************************************"
|
|
Write-warning "$StatusMessage"
|
|
Write-warning "**********************************************************************"
|
|
|
|
Write-Output "`r`nRerun this package ($packageid) with parameter `"-Force`", to remove shutdown schedule, uninstall this package."
|
|
|
|
2024-07-04 20:10:13,860 3696 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\Tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-07-04 20:10:13,860 3696 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-07-04 20:10:14,671 3696 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
|
|
2024-07-04 20:10:15,254 3696 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2024-07-04 20:10:15,288 3696 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
|
|
2024-07-04 20:10:15,301 3696 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-04 20:10:15,301 3696 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-04 20:10:15,316 3696 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-04 20:10:15,316 3696 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-04 20:10:15,316 3696 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-04 20:10:15,332 3696 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-04 20:10:15,332 3696 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-04 20:10:15,380 3696 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2024-07-04 20:10:15,396 3696 [DEBUG] - Get-EnvironmentVariable
|
|
2024-07-04 20:10:15,396 3696 [DEBUG] - Get-EnvironmentVariableNames
|
|
2024-07-04 20:10:15,411 3696 [DEBUG] - Install-ChocolateyPath
|
|
2024-07-04 20:10:15,411 3696 [DEBUG] - Set-EnvironmentVariable
|
|
2024-07-04 20:10:15,411 3696 [DEBUG] - Test-ProcessAdminRights
|
|
2024-07-04 20:10:15,424 3696 [DEBUG] - Uninstall-ChocolateyPath
|
|
2024-07-04 20:10:15,424 3696 [DEBUG] - Update-SessionEnvironment
|
|
2024-07-04 20:10:15,424 3696 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-04 20:10:15,447 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-04 20:10:15,454 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-04 20:10:15,454 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-04 20:10:15,454 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-04 20:10:15,472 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-04 20:10:15,472 3696 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-04 20:10:15,490 3696 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-04 20:10:15,505 3696 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-04 20:10:15,505 3696 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-04 20:10:15,519 3696 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-04 20:10:15,519 3696 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-04 20:10:15,519 3696 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-04 20:10:15,534 3696 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-04 20:10:15,534 3696 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-04 20:10:15,534 3696 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-04 20:10:15,551 3696 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-04 20:10:15,551 3696 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-04 20:10:15,551 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-04 20:10:15,565 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-04 20:10:15,565 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-04 20:10:15,565 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-04 20:10:15,581 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-04 20:10:15,581 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-04 20:10:15,596 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-04 20:10:15,596 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-04 20:10:15,596 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-04 20:10:15,596 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-04 20:10:15,615 3696 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-04 20:10:15,626 3696 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-04 20:10:15,626 3696 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-04 20:10:15,626 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-04 20:10:15,644 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-04 20:10:15,644 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-04 20:10:15,644 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-04 20:10:15,660 3696 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-04 20:10:15,660 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-04 20:10:15,675 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-04 20:10:15,675 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-04 20:10:15,675 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-04 20:10:15,691 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-04 20:10:15,691 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-04 20:10:15,705 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-04 20:10:15,705 3696 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-04 20:10:15,727 3696 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-04 20:10:15,727 3696 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-04 20:10:15,736 3696 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-04 20:10:15,736 3696 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-04 20:10:15,736 3696 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-04 20:10:15,755 3696 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-04 20:10:15,755 3696 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-04 20:10:15,768 3696 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-04 20:10:15,801 3696 [DEBUG] - Loading community extensions
|
|
2024-07-04 20:10:15,834 3696 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-07-04 20:10:15,834 3696 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-07-04 20:10:15,942 3696 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-04 20:10:15,960 3696 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-04 20:10:15,971 3696 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-04 20:10:15,971 3696 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-04 20:10:15,989 3696 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-07-04 20:10:15,989 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-07-04 20:10:16,003 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-07-04 20:10:16,003 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-07-04 20:10:16,003 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-07-04 20:10:16,003 3696 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-07-04 20:10:16,019 3696 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-07-04 20:10:16,019 3696 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-07-04 20:10:16,035 3696 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-07-04 20:10:16,035 3696 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-04 20:10:16,035 3696 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-07-04 20:10:16,050 3696 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-07-04 20:10:16,050 3696 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-07-04 20:10:16,050 3696 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-07-04 20:10:16,050 3696 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-07-04 20:10:16,066 3696 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-07-04 20:10:16,066 3696 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-07-04 20:10:16,066 3696 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-07-04 20:10:16,082 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-04 20:10:16,082 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-04 20:10:16,082 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-04 20:10:16,097 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-04 20:10:16,097 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-07-04 20:10:16,097 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-04 20:10:16,097 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-04 20:10:16,111 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-07-04 20:10:16,111 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-04 20:10:16,111 3696 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-07-04 20:10:16,111 3696 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-07-04 20:10:16,128 3696 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-07-04 20:10:16,128 3696 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-04 20:10:16,142 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-07-04 20:10:16,142 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-04 20:10:16,142 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-04 20:10:16,142 3696 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-04 20:10:16,164 3696 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-07-04 20:10:16,174 3696 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-07-04 20:10:16,174 3696 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-07-04 20:10:16,174 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-04 20:10:16,174 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-04 20:10:16,192 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-04 20:10:16,192 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-04 20:10:16,192 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-04 20:10:16,206 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-04 20:10:16,206 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-04 20:10:16,206 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-04 20:10:16,223 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-04 20:10:16,223 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-04 20:10:16,238 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-04 20:10:16,238 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-04 20:10:16,255 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-04 20:10:16,255 3696 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-04 20:10:16,270 3696 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-07-04 20:10:16,270 3696 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-07-04 20:10:16,270 3696 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-07-04 20:10:16,284 3696 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-07-04 20:10:16,284 3696 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-07-04 20:10:16,304 3696 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-07-04 20:10:16,304 3696 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-04 20:10:16,317 3696 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-07-04 20:10:16,317 3696 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-07-04 20:10:16,317 3696 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-07-04 20:10:16,334 3696 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-07-04 20:10:16,334 3696 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-07-04 20:10:16,346 3696 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-07-04 20:10:16,346 3696 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-07-04 20:10:16,363 3696 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-07-04 20:10:16,363 3696 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-07-04 20:10:16,363 3696 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-07-04 20:10:16,379 3696 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-07-04 20:10:16,379 3696 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-07-04 20:10:16,393 3696 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-07-04 20:10:16,393 3696 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-07-04 20:10:16,393 3696 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-07-04 20:10:16,412 3696 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-07-04 20:10:16,412 3696 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-07-04 20:10:16,426 3696 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-07-04 20:10:16,426 3696 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-07-04 20:10:16,426 3696 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-07-04 20:10:16,443 3696 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-07-04 20:10:16,443 3696 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-07-04 20:10:16,456 3696 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-07-04 20:10:16,456 3696 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-07-04 20:10:16,456 3696 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-07-04 20:10:16,472 3696 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-07-04 20:10:16,472 3696 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-07-04 20:10:16,489 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-07-04 20:10:16,489 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-07-04 20:10:16,506 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-07-04 20:10:16,517 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-07-04 20:10:16,517 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-07-04 20:10:16,517 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-07-04 20:10:16,538 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-07-04 20:10:16,538 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-07-04 20:10:16,551 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-07-04 20:10:16,551 3696 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-07-04 20:10:16,551 3696 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-07-04 20:10:16,567 3696 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-07-04 20:10:16,579 3696 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-07-04 20:10:16,579 3696 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-07-04 20:10:16,579 3696 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-07-04 20:10:16,600 3696 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-07-04 20:10:16,600 3696 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-07-04 20:10:16,612 3696 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-07-04 20:10:16,612 3696 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-07-04 20:10:16,612 3696 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-07-04 20:10:16,630 3696 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-07-04 20:10:16,630 3696 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-07-04 20:10:16,649 3696 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-07-04 20:10:16,656 3696 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-07-04 20:10:16,656 3696 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-07-04 20:10:16,656 3696 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-07-04 20:10:16,774 3696 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-07-04 20:10:16,784 3696 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-07-04 20:10:16,784 3696 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-07-04 20:10:16,991 3696 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-07-04 20:10:17,021 3696 [DEBUG] - Running 'ChocolateyScriptRunner' for scheduled-shutdown v1.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\Tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\scheduled-shutdown', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-07-04 20:10:17,068 3696 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\Tools\ChocolateyInstall.ps1'
|
|
2024-07-04 20:10:17,128 3696 [DEBUG] - No Package Parameters Passed in, using defaults.
|
|
2024-07-04 20:10:17,158 3696 [INFO ] - Scheduling with command:
|
|
2024-07-04 20:10:17,158 3696 [INFO ] - /create /sc "Daily" /tn "Scheduled-Shutdown" /ru "NT AUTHORITY\SYSTEM" /tr "c:\windows\system32\shutdown.exe /s /t 120 /c Scheduled-Shutdown /f" /st "23:50"
|
|
2024-07-04 20:10:18,282 3696 [WARN ] - WARNING: **********************************************************************
|
|
2024-07-04 20:10:18,282 3696 [WARN ] - WARNING: Shutdown is scheduled for 23:50 on a Daily Basis
|
|
2024-07-04 20:10:18,305 3696 [WARN ] - WARNING: **********************************************************************
|
|
2024-07-04 20:10:18,317 3696 [INFO ] -
|
|
Rerun this package (Scheduled-Shutdown) with parameter "-Force", to remove shutdown schedule, uninstall this package.
|
|
2024-07-04 20:10:18,366 3696 [DEBUG] - ----------------------------------------------------------------------
|
|
2024-07-04 20:10:18,380 3696 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\Tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2024-07-04 20:10:18,397 3696 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2024-07-04 20:10:18,549 3696 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2024-07-04 20:10:18,785 3696 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\scheduled-shutdown'
|
|
2024-07-04 20:10:18,805 3696 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\scheduled-shutdown.nupkg'
|
|
with checksum 'B0D8CA49C266CFDF91ECBA4A56E10368'
|
|
2024-07-04 20:10:18,818 3696 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\scheduled-shutdown.nuspec'
|
|
with checksum '64D6856642831A61518279D45F14DEDB'
|
|
2024-07-04 20:10:18,818 3696 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\Tools\ChocolateyInstall.ps1'
|
|
with checksum '089E916E49A5C37BCB147BAC0A717AED'
|
|
2024-07-04 20:10:18,836 3696 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\scheduled-shutdown\Tools\ChocolateyUninstall.ps1'
|
|
with checksum '782EE95DB4FA9856F39A298DB490AB3D'
|
|
2024-07-04 20:10:18,909 3696 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\scheduled-shutdown.1.1.0".
|
|
2024-07-04 20:10:18,962 3696 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\scheduled-shutdown.1.1.0\.files'
|
|
2024-07-04 20:10:18,974 3696 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\scheduled-shutdown.1.1.0\.extra".
|
|
2024-07-04 20:10:18,993 3696 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\scheduled-shutdown.1.1.0\.version".
|
|
2024-07-04 20:10:19,003 3696 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\scheduled-shutdown.1.1.0\.sxs".
|
|
2024-07-04 20:10:19,003 3696 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\scheduled-shutdown.1.1.0\.pin".
|
|
2024-07-04 20:10:19,003 3696 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\scheduled-shutdown.1.1.0\.deploymentLocation".
|
|
2024-07-04 20:10:19,026 3696 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2024-07-04 20:10:19,038 3696 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\scheduled-shutdown\.chocolateyPending".
|
|
2024-07-04 20:10:19,054 3696 [INFO ] - The install of scheduled-shutdown was successful.
|
|
2024-07-04 20:10:19,054 3696 [INFO ] - Software install location not explicitly set, it could be in package or
|
|
default install location of installer.
|
|
2024-07-04 20:10:19,097 3696 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2024-07-04 20:10:19,118 3696 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2024-07-04 20:10:19,130 3696 [DEBUG] - Exiting with 0
|