Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ad-acl-scanner v5.6.3 - Passed - Package Tests Results

ad-acl-scanner v5.6.3 - Passed - Package Test Results

  • https://chocolatey.org/packages/ad-acl-scanner/5.6.3
  • Tested 14 Jun 2019 07:52:50 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.4.0-38-g3187e94
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nupkg" checksum="366A8528B6E0AB67A599C7E3F80E9F7B" />
<file path="C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nuspec" checksum="10C7EE8FC48259DB4371FD202233C1CB" />
<file path="C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1" checksum="E705F578EB73149326DFE58CBF020448" />
<file path="C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1.istext" checksum="72F06AA3C13880ABFAAC0E6A1064A9AF" />
<file path="C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyinstall.ps1" checksum="0580A1968F6E1DFBF371594AAD9E62DB" />
<file path="C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyuninstall.ps1" checksum="6D732539CB2BD47D86DE30DA631CDE35" />
</files>
</fileSnapshot>
2019-06-14 07:48:17,282 2212 [DEBUG] - XmlConfiguration is now operational
2019-06-14 07:48:17,499 2212 [INFO ] - ============================================================
2019-06-14 07:48:18,241 2212 [INFO ] - Chocolatey v0.10.15
2019-06-14 07:48:18,273 2212 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-06-14 07:48:18,288 2212 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-06-14 07:48:18,288 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-06-14 07:48:18,319 2212 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install ad-acl-scanner --version 5.6.3 -fdvy --execution-timeout=2700 --allow-downgrade
2019-06-14 07:48:18,319 2212 [DEBUG] - Received arguments: install ad-acl-scanner --version 5.6.3 -fdvy --execution-timeout=2700 --allow-downgrade
2019-06-14 07:48:18,473 2212 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-06-14 07:48:18,504 2212 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-06-14 07:48:18,520 2212 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-06-14 07:48:18,736 2212 [DEBUG] - Performing validation checks.
2019-06-14 07:48:18,752 2212 [DEBUG] - Global Configuration Validation Checks:
2019-06-14 07:48:18,767 2212 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-06-14 07:48:18,767 2212 [DEBUG] - System State Validation Checks:
2019-06-14 07:48:18,783 2212 [DEBUG] - Reboot Requirement Checks:
2019-06-14 07:48:18,798 2212 [DEBUG] - - Pending Computer Rename = Checked
2019-06-14 07:48:18,798 2212 [DEBUG] - - Pending Component Based Servicing = Checked
2019-06-14 07:48:18,814 2212 [DEBUG] - - Pending Windows Auto Update = Checked
2019-06-14 07:48:18,814 2212 [DEBUG] - - Pending File Rename Operations = Checked
2019-06-14 07:48:18,829 2212 [DEBUG] - - Pending Windows Package Installer = Checked
2019-06-14 07:48:18,829 2212 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-06-14 07:48:18,845 2212 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-06-14 07:48:18,860 2212 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-06-14 07:48:18,877 2212 [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-06-14 07:48:18,937 2212 [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='ad-acl-scanner'|Version='5.6.3'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='ad-acl-scanner'|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-06-14 07:48:18,937 2212 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-06-14 07:48:18,968 2212 [INFO ] - Installing the following packages:
2019-06-14 07:48:18,968 2212 [INFO ] - ad-acl-scanner
2019-06-14 07:48:18,984 2212 [INFO ] - By installing you accept licenses for the packages.
2019-06-14 07:48:19,000 2212 [DEBUG] - Current environment values (may contain sensitive data):
2019-06-14 07:48:19,015 2212 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-06-14 07:48:19,015 2212 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-06-14 07:48:19,015 2212 [DEBUG] - * 'ChocolateyLastPathUpdate'='132049682685258292' ('User')
2019-06-14 07:48:19,015 2212 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-06-14 07:48:19,030 2212 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-06-14 07:48:19,030 2212 [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-06-14 07:48:19,030 2212 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-06-14 07:48:19,030 2212 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-06-14 07:48:19,046 2212 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-06-14 07:48:19,046 2212 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-06-14 07:48:19,046 2212 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-06-14 07:48:19,061 2212 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-06-14 07:48:19,061 2212 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-06-14 07:48:19,061 2212 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-06-14 07:48:19,061 2212 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-06-14 07:48:19,077 2212 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-06-14 07:48:19,077 2212 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-06-14 07:48:19,077 2212 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-06-14 07:48:19,077 2212 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-06-14 07:48:19,092 2212 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-06-14 07:48:21,598 2212 [INFO ] - [NuGet] Attempting to resolve dependency 'dotnet4.0 (= 4.0)'.
2019-06-14 07:48:27,035 2212 [INFO ] - [NuGet] Attempting to resolve dependency 'powershell (= 2.0)'.
2019-06-14 07:48:28,245 2212 [INFO ] - [NuGet] Installing 'DotNet4.0 4.0.30319.20141222'.
2019-06-14 07:48:28,273 2212 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'DotNet4.0\tools'.
2019-06-14 07:48:28,287 2212 [DEBUG] - [NuGet] Added file 'DotNet4.0.nupkg' to folder 'DotNet4.0'.
2019-06-14 07:48:28,635 2212 [DEBUG] - [NuGet] Added file 'DotNet4.0.nuspec' to folder 'DotNet4.0'.
2019-06-14 07:48:28,649 2212 [INFO ] - [NuGet] Successfully installed 'DotNet4.0 4.0.30319.20141222'.
2019-06-14 07:48:28,649 2212 [INFO ] -
DotNet4.0 v4.0.30319.20141222 (forced) [Approved]
2019-06-14 07:48:28,705 2212 [INFO ] - dotnet4.0 package files install completed. Performing other installation steps.
2019-06-14 07:48:28,872 2212 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\DotNet4.0\tools\chocolateyInstall.ps1':
2019-06-14 07:48:28,900 2212 [DEBUG] - if(!(Test-Path "hklm:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SKUs\.NETFramework,Version=v4.0")) {
$env:chocolateyPackageFolder="$env:temp\chocolatey\webcmd"
Install-ChocolateyZipPackage 'webcmd' 'http://www.iis.net/community/files/webpi/webpicmdline_anycpu.zip' $env:temp
.$env:temp\WebpiCmdLine.exe /products: NetFramework4 /accepteula
}
else {
Write-Host "Microsoft .Net 4.0 Framework is already installed on your machine."
}
2019-06-14 07:48:29,011 2212 [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\DotNet4.0\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-06-14 07:48:29,011 2212 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-06-14 07:48:29,930 2212 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-06-14 07:48:30,278 2212 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:48:30,292 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:48:30,292 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:48:30,292 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:48:30,292 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:48:30,306 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:48:30,306 2212 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:48:30,306 2212 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:48:30,319 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:48:30,319 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:48:30,319 2212 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:48:30,319 2212 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:48:30,333 2212 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:48:30,333 2212 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:48:30,333 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:48:30,347 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:48:30,347 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:48:30,347 2212 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:48:30,347 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:48:30,361 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:30,361 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:48:30,361 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:48:30,375 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:48:30,375 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:48:30,375 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:48:30,375 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:48:30,389 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:48:30,389 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:48:30,389 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:48:30,403 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:48:30,403 2212 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:48:30,403 2212 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:48:30,403 2212 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:48:30,417 2212 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:48:30,417 2212 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:48:30,417 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:48:30,431 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:30,431 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:48:30,431 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:48:30,431 2212 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:48:30,445 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:48:30,445 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:48:30,445 2212 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:48:30,445 2212 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:48:30,459 2212 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:48:30,459 2212 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:48:30,459 2212 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:48:30,473 2212 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:48:30,473 2212 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:48:30,473 2212 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:48:30,473 2212 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:48:30,487 2212 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:48:30,487 2212 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:48:30,514 2212 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:48:30,528 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:48:30,528 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:48:30,528 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:48:30,528 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:48:30,542 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:48:30,542 2212 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:48:30,542 2212 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:48:30,556 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:48:30,556 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:48:30,556 2212 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:48:30,556 2212 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:48:30,570 2212 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:48:30,570 2212 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:48:30,570 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:48:30,584 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:48:30,584 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:48:30,584 2212 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:48:30,584 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:48:30,598 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:30,598 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:48:30,598 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:48:30,598 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:48:30,612 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:48:30,612 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:48:30,612 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:48:30,626 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:48:30,626 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:48:30,626 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:48:30,626 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:48:30,640 2212 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:48:30,640 2212 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:48:30,640 2212 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:48:30,640 2212 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:48:30,654 2212 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:48:30,654 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:48:30,654 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:30,668 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:48:30,668 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:48:30,668 2212 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:48:30,668 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:48:30,681 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:48:30,681 2212 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:48:30,681 2212 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:48:30,695 2212 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:48:30,695 2212 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:48:30,695 2212 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:48:30,709 2212 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:48:30,709 2212 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:48:30,709 2212 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:48:30,723 2212 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:48:30,723 2212 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:48:30,723 2212 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:48:30,737 2212 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-06-14 07:48:30,737 2212 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-06-14 07:48:30,737 2212 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-06-14 07:48:30,751 2212 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-06-14 07:48:30,751 2212 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-06-14 07:48:30,751 2212 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-06-14 07:48:30,751 2212 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-06-14 07:48:30,765 2212 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-06-14 07:48:30,765 2212 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-06-14 07:48:30,765 2212 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:48:30,779 2212 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-06-14 07:48:30,779 2212 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-06-14 07:48:30,779 2212 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-06-14 07:48:30,779 2212 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-06-14 07:48:30,793 2212 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-06-14 07:48:30,793 2212 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-06-14 07:48:30,793 2212 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-06-14 07:48:30,807 2212 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-06-14 07:48:30,807 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:48:30,807 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:30,807 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:48:30,821 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:48:30,821 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:48:30,821 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-06-14 07:48:30,835 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-06-14 07:48:30,835 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:48:30,835 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:48:30,849 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-06-14 07:48:30,849 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:48:30,849 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-06-14 07:48:30,862 2212 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-06-14 07:48:30,862 2212 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-06-14 07:48:30,862 2212 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-06-14 07:48:30,876 2212 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:48:30,876 2212 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-06-14 07:48:30,876 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-06-14 07:48:30,876 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:30,890 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:48:30,890 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:48:30,890 2212 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-06-14 07:48:30,904 2212 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-06-14 07:48:30,904 2212 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-06-14 07:48:30,904 2212 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-06-14 07:48:30,904 2212 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-06-14 07:48:30,918 2212 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-06-14 07:48:30,918 2212 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-06-14 07:48:30,918 2212 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-06-14 07:48:30,932 2212 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-06-14 07:48:30,932 2212 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-06-14 07:48:30,932 2212 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:48:30,946 2212 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-06-14 07:48:30,946 2212 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-06-14 07:48:30,946 2212 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-06-14 07:48:31,094 2212 [DEBUG] - ---------------------------Script Execution---------------------------
2019-06-14 07:48:31,124 2212 [DEBUG] - Running 'ChocolateyScriptRunner' for DotNet4.0 v4.0.30319.20141222 with packageScript 'C:\ProgramData\chocolatey\lib\DotNet4.0\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\DotNet4.0', installArguments: '', packageParameters: '',
2019-06-14 07:48:31,155 2212 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\DotNet4.0\tools\chocolateyInstall.ps1'
2019-06-14 07:48:31,185 2212 [INFO ] - Microsoft .Net 4.0 Framework is already installed on your machine.
2019-06-14 07:48:31,202 2212 [INFO ] -
2019-06-14 07:48:31,231 2212 [DEBUG] - ----------------------------------------------------------------------
2019-06-14 07:48:31,247 2212 [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\DotNet4.0\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-06-14 07:48:31,278 2212 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-06-14 07:48:31,308 2212 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-06-14 07:48:31,584 2212 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\DotNet4.0'
2019-06-14 07:48:31,584 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.0\DotNet4.0.nupkg'
with checksum 'D6E5CFB004A4C36245BF4AF8E87A663C'
2019-06-14 07:48:31,599 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.0\DotNet4.0.nuspec'
with checksum 'D492A196F6544CDA421190C2DC70B18B'
2019-06-14 07:48:31,599 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\DotNet4.0\tools\chocolateyInstall.ps1'
with checksum 'F01736001E2B1BEEAB926B5FC410616B'
2019-06-14 07:48:31,691 2212 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-06-14 07:48:31,721 2212 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\DotNet4.0.4.0.30319.20141222".
2019-06-14 07:48:31,752 2212 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\DotNet4.0.4.0.30319.20141222\.files'
2019-06-14 07:48:31,767 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.0.4.0.30319.20141222\.extra".
2019-06-14 07:48:31,767 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.0.4.0.30319.20141222\.version".
2019-06-14 07:48:31,783 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.0.4.0.30319.20141222\.sxs".
2019-06-14 07:48:31,783 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.0.4.0.30319.20141222\.pin".
2019-06-14 07:48:31,799 2212 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-06-14 07:48:31,799 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\DotNet4.0\.chocolateyPending".
2019-06-14 07:48:31,813 2212 [INFO ] - The install of dotnet4.0 was successful.
2019-06-14 07:48:31,813 2212 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-06-14 07:48:31,829 2212 [INFO ] - [NuGet] Installing 'PowerShell 5.1.14409.20180811'.
2019-06-14 07:48:31,875 2212 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'PowerShell\tools'.
2019-06-14 07:48:31,875 2212 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'PowerShell\tools'.
2019-06-14 07:48:31,875 2212 [DEBUG] - [NuGet] Added file 'PowerShell.nupkg' to folder 'PowerShell'.
2019-06-14 07:48:32,166 2212 [DEBUG] - [NuGet] Added file 'PowerShell.nuspec' to folder 'PowerShell'.
2019-06-14 07:48:32,181 2212 [INFO ] - [NuGet] Successfully installed 'PowerShell 5.1.14409.20180811'.
2019-06-14 07:48:32,181 2212 [INFO ] -
PowerShell v5.1.14409.20180811 (forced) [Approved]
2019-06-14 07:48:32,196 2212 [INFO ] - powershell package files install completed. Performing other installation steps.
2019-06-14 07:48:32,196 2212 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1':
2019-06-14 07:48:32,212 2212 [DEBUG] - <#
See http://technet.microsoft.com/en-us/library/hh847769.aspx and http://technet.microsoft.com/en-us/library/hh847837.aspx
Windows PowerShell 5.0 runs on the following versions of Windows.
Windows 10, installed by default
Windows Server 2012 R2, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 8.1, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 and THEN WMF 5.0 (as of 5.0.10105)
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 5.0 (as of 5.0.10105)
Previous Windows versions - 5.0 is not supported.
Windows PowerShell 4.0 runs on the following versions of Windows.
Windows 8.1, installed by default
Windows Server 2012 R2, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows PowerShell 3.0 runs on the following versions of Windows.
Windows 8, installed by default
Windows Server 2012, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 with Service Pack 2, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
#>
[string]$packageName="PowerShell"
[string]$installerType="msu"
[string]$installlogfilename = "$env:TEMP\PowerShell-Install-$(Get-date -format 'yyyyMMddhhmm').evtx"
[string]$ThisPackagePSHVersion = '5.1.14409.1005'
[string]$silentArgs="/quiet /norestart /log:`"$installlogfilename`""
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
[string]$urlWin81x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu'
[string]$urlWin81x86checksum = 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817'
[string]$urlWin2k12R2andWin81x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
[string]$urlWin2k12R2andWin81x64checksum = 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0'
[string]$urlWin7x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7-KB3191566-x86.zip'
[string]$urlWin7x86checksum = 'EB7E2C4CE2C6CB24206474A6CB8610D9F4BD3A9301F1CD8963B4FF64E529F563'
[string]$urlWin2k8R2andWin7x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7AndW2K8R2-KB3191566-x64.zip'
[string]$urlWin2k8R2andWin7x64checksum = 'F383C34AA65332662A17D95409A2DDEDADCEDA74427E35D05024CD0A6A2FA647'
[string]$urlWin2012 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/W2K12-KB3191565-x64.msu'
[string]$urlWin2012checksum = '4A1385642C1F08E3BE7BC70F4A9D74954E239317F50D1A7F60AA444D759D4F49'
[string]$ChecksumType = 'sha256'
[string[]] $validExitCodes = @(0, 3010) # 2359302 occurs if the package is already installed
$osversionLookup = @{
"5.1.2600" = "XP";
"5.1.3790" = "2003";
"6.0.6001" = "Vista/2008";
"6.1.7600" = "Win7/2008R2";
"6.1.7601" = "Win7 SP1/2008R2 SP1"; # SP1 or later.
"6.2.9200" = "Win8/2012";
"6.3.9600" = "Win8.1/2012R2";
"10.0.*" = "Windows 10/Server 2016"
}
function Install-PowerShell5([string]$urlx86, [string]$urlx64 = $null, [string]$checksumx86 = $null,[string]$checksumx64 = $null) {
$MinimumNet4Version = 378389
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -ge $MinimumNet4Version) {
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" -url $urlx86 -url64 $urlx64 -checksum $checksumx86 -ChecksumType $ChecksumType -checksum64 $checksumx64 -ChecksumType64 $ChecksumType -validExitCodes $validExitCodes
Write-Warning "$packageName requires a reboot to complete the installation."
}
else {
throw ".NET Framework 4.5.2 or later required. Use package named `"dotnet4.5` to upgrade. Your .NET Release is `"$Net4Version`" but needs to be at least `"$MinimumNet4Version`"."
}
}
$os = Get-WmiObject Win32_OperatingSystem
$osVersion = $os.version
$ProductName = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'ProductName').ProductName
$EditionId = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'EditionID').EditionId
#This will show us if we are running on Nano Server (Kernel version alone won't show this)
Write-Output "Running on: $ProductName, ($EditionId), Windows Kernel: $osVersion"
If ((get-service wuauserv).starttype -ieq 'Disabled')
{
Throw "Windows Update Service is disabled - PowerShell updates are distributed as windows updates and so require the service. Consider temporarily enabling it before calling this package and disabling again afterward."
}
try
{
if ($PSVersionTable -and ($PSVersionTable.PSVersion -ge [Version]$ThisPackagePSHVersion)) {
Write-Warning "PowerShell version, $($PSVersionTable.PSVersion), is already installed."
}
else {
#The following should not occur as PowerShell 5 is already installed
if( ([version]$osVersion).Major -eq "10" ) {
$osVersion = "$(([version]$osVersion).Major).$(([version]$osVersion).Minor).*"
}
Write-Output "Installing for OS: $($osversionLookup[$osVersion])"
switch ($osversionLookup[$osVersion]) {
"Vista/2008" {
Write-Warning "PowerShell 3 is the highest supported on Windows $($osversionLookup[$osVersion])."
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7/2008R2" {
Write-Warning "PowerShell $ThisPackagePSHVersion Requires SP1 for Windows $($osversionLookup[$osVersion])."
Write-Warning "Update to SP1 and re-run this package to install WMF/PowerShell 5"
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7 SP1/2008R2 SP1" {
#Special Procedures for WMF 5.1
$MinimumNet4Version = 378389
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -lt $MinimumNet4Version)
{
throw ".NET Framework 4.5.2 or later required. Use package named `"dotnet4.5` to upgrade. Your .NET Release is `"$MinimumNet4Version`" but needs to be at least `"$MinimumNet4Version`"."
}
Else
{
If ($PSVersionTable.PSVersion.Major -eq 3)
{
Write-Warning "Found WMF 3 On Win 7 or Server 2008 R2"
If (!(test-path env:ChocolateyForce))
{
Throw "This package will not install WMF 5.1 over 3.0 on Windows 7 or Server 2008 R2 Unless you use the -Force switch on the package command line."
}
Else
{
Write-Host " "
Write-Host " ***********************************************************************************************"
Write-Host " * This machine is running Windows or Server 2008 R2 with WMF 3 installed and *"
Write-Host " * -Force was used, Experimental PSModulePath Backup and Attempted Restore Will Be Performed *"
Write-Host " * What will be done: *"
Write-Host " * 1) The custom parts of the PSModulePath backed up to BackupPSModulePath *"
Write-Host " * 2) A fix up script that appends those values to the PSModulePath is written to: *"
Write-Host " * %WINDIR%\Temp\psmodulepathfixup.ps1 *"
Write-Host " * 3) A scheduled task is setup for the next reboot that runs the fix up script *"
Write-Host " * *"
Write-Host " * If you find that #3 does not work correctly, then you can use #1 or #2 with some of your *"
Write-Host " * own automation to recover from the situation *"
Write-Host " ***********************************************************************************************"
Write-Host " "
$StandardPathsToFilterOut = @('%ProgramFiles%\WindowsPowerShell\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules\')
[string[]]$currentpsmodulepath = (get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue("PsModulePath","Default",[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames).split(';')
$FilteredList = ($CurrentPSModulePath | Where {$StandardPathsToFilterOut -inotcontains $_}) -join ';'
Write-host "PSModulePath contains the following values that are not in the PSH 5 default values: $FilteredList, backing them up to BackupPSModulePath Environment Variable"
If ($FilteredList) {New-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'BackupPsModulePath' -PropertyType 'ExpandString' -value "$FilteredList" | out-null}
$WMF5Over3WasForced = $True
}
}
Install-ChocolateyZipPackage -PackageName "$packagename" -unziplocation "$toolsdir" -url "$urlWin7x86" -checksum "$urlWin7x86checksum" -checksumtype "$ChecksumType" -url64bit "$urlWin2k8R2andWin7x64" -checksum64 "$urlWin2k8R2andWin7x64checksum" -checksumtype64 "$ChecksumType"
$x64MSUName = "$toolsdir\$(($urlWin2k8R2andWin7x64.split('/') | select -last 1).replace('.zip','.msu'))"
$x86MSUName = "$toolsdir\$(($urlwin7x86.split('/') | select -last 1).replace('.zip','.msu'))"
Write-Host "64-bit file: $x64MSUName"
Install-ChocolateyPackage "$packageName" 'MSU' "$SilentArgs" -url $x86MSUName -url64 $x64MSUName -validExitCodes $validExitCodes
If ($WMF5Over3WasForced)
{
If (!$FilteredList)
{
Write-Host "PSModulePath does not contain any customized paths that need to be preserved."
}
Else
{
$scriptlocation = "$env:windir\temp\psmodulepathfixup.ps1"
$code = "set-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'PsModulePath' -value `$((get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue('PsModulePath','Default',[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames)" + "+`';$(invoke-expression -command '(get-variable FilteredList).value')`'" + ')'
$code | out-file $scriptlocation
"start-sleep -s 2" | out-file $scriptlocation -append
"schtasks.exe /delete /f /tn `"PSModulePathFixUp`"" | out-file $scriptlocation -append
schtasks.exe /create /tn "PSModulePathFixUp" /ru SYSTEM /Sc ONSTART /tr "powershell.exe -file $scriptlocation"
Write-Host "`"$scriptlocation`" is scheduled to run on reboot."
Write-Warning "ATTENTION: This Computer Must Be Restarted."
}
}
}
}
"Win8/2012" {
if($os.ProductType -gt 1) {
#Windows 2012
Install-PowerShell5 -urlx86 "$urlWin2012" -checksumx86 $urlWin2012checksum
}
else {
#Windows 8
Write-Verbose "Windows 8 (not 8.1) is not supported"
throw "$packageName not supported on Windows 8. You must upgrade to Windows 8.1 to install WMF/PowerShell 5.0."
}
}
"Win8.1/2012R2" {
Install-PowerShell5 -urlx86 "$urlWin81x86" -checksumx86 $urlWin81x86checksum -urlx64 "$urlWin2k12R2andWin81x64" -checksumx64 $urlWin2k12R2andWin81x64checksum -checksumtype "$ChecksumType" -checksumtype64 "$ChecksumType"
}
"Windows 10/Server 2016" {
#Should never be reached.
Write-Warning "Windows 10 / Server 2016 has WMF/PowerShell 5 pre-installed which is maintained by Windows Updates."
}
default {
# Windows XP, Windows 2003, Windows Vista, or unknown?
throw "$packageName $ThisPackagePSHVersion is not supported on $ProductName, ($EditionId), Windows Kernel: $osVersion"
}
}
}
}
catch {
If (Test-Path "$installlogfilename")
{
Write-Host "Opps we had a error."
$logfileerrors = @(Get-WinEvent -Path "$installlogfilename" -oldest | where {($_.level -ge 2) -AND ($_.level -le 3)})
If ($logfileerrors.count -gt 0)
{
Write-Host "Found the following error(s) and warnings in the MSU log `"$installlogfilename`""
$logfileerrors | Format-List ID, Message | out-string | write-host
}
}
Throw $_.Exception
}
2019-06-14 07:48:32,227 2212 [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\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-06-14 07:48:32,227 2212 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-06-14 07:48:32,274 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:48:32,274 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:48:32,274 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:48:32,288 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:48:32,565 2212 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-06-14 07:48:32,702 2212 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:48:32,702 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:48:32,702 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:48:32,717 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:48:32,717 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:48:32,732 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:48:32,732 2212 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:48:32,732 2212 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:48:32,747 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:48:32,747 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:48:32,747 2212 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:48:32,747 2212 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:48:32,763 2212 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:48:32,763 2212 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:48:32,763 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:48:32,778 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:48:32,778 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:48:32,778 2212 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:48:32,778 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:48:32,793 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:32,793 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:48:32,793 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:48:32,809 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:48:32,809 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:48:32,809 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:48:32,824 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:48:32,824 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:48:32,824 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:48:32,839 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:48:32,839 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:48:32,839 2212 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:48:32,839 2212 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:48:32,855 2212 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:48:32,855 2212 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:48:32,855 2212 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:48:32,855 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:48:32,870 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:32,870 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:48:32,870 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:48:32,885 2212 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:48:32,885 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:48:32,885 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:48:32,901 2212 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:48:32,901 2212 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:48:32,901 2212 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:48:32,901 2212 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:48:32,916 2212 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:48:32,916 2212 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:48:32,916 2212 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:48:32,931 2212 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:48:32,931 2212 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:48:32,931 2212 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:48:32,931 2212 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:48:32,947 2212 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:48:32,947 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:48:32,947 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:48:32,962 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:48:32,962 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:48:32,962 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:48:32,962 2212 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:48:32,977 2212 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:48:32,977 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:48:32,977 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:48:32,993 2212 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:48:32,993 2212 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:48:32,993 2212 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:48:32,993 2212 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:48:33,008 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:48:33,008 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:48:33,008 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:48:33,023 2212 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:48:33,023 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:48:33,023 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:33,023 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:48:33,038 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:48:33,038 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:48:33,038 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:48:33,054 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:48:33,054 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:48:33,054 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:48:33,054 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:48:33,069 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:48:33,069 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:48:33,069 2212 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:48:33,084 2212 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:48:33,084 2212 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:48:33,084 2212 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:48:33,084 2212 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:48:33,100 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:48:33,100 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:33,100 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:48:33,115 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:48:33,115 2212 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:48:33,115 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:48:33,115 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:48:33,130 2212 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:48:33,130 2212 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:48:33,130 2212 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:48:33,146 2212 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:48:33,146 2212 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:48:33,146 2212 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:48:33,146 2212 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:48:33,161 2212 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:48:33,161 2212 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:48:33,161 2212 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:48:33,176 2212 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:48:33,176 2212 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-06-14 07:48:33,176 2212 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-06-14 07:48:33,176 2212 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-06-14 07:48:33,192 2212 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-06-14 07:48:33,192 2212 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-06-14 07:48:33,192 2212 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-06-14 07:48:33,192 2212 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-06-14 07:48:33,207 2212 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-06-14 07:48:33,207 2212 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-06-14 07:48:33,207 2212 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:48:33,222 2212 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-06-14 07:48:33,222 2212 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-06-14 07:48:33,222 2212 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-06-14 07:48:33,238 2212 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-06-14 07:48:33,238 2212 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-06-14 07:48:33,238 2212 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-06-14 07:48:33,253 2212 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-06-14 07:48:33,253 2212 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-06-14 07:48:33,253 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:48:33,253 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:33,268 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:48:33,268 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:48:33,268 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:48:33,268 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-06-14 07:48:33,283 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-06-14 07:48:33,283 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:48:33,283 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:48:33,299 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-06-14 07:48:33,299 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:48:33,299 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-06-14 07:48:33,299 2212 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-06-14 07:48:33,314 2212 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-06-14 07:48:33,314 2212 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-06-14 07:48:33,314 2212 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:48:33,329 2212 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-06-14 07:48:33,329 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-06-14 07:48:33,329 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:48:33,329 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:48:33,345 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:48:33,345 2212 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-06-14 07:48:33,345 2212 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-06-14 07:48:33,345 2212 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-06-14 07:48:33,360 2212 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-06-14 07:48:33,360 2212 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-06-14 07:48:33,360 2212 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-06-14 07:48:33,375 2212 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-06-14 07:48:33,375 2212 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-06-14 07:48:33,375 2212 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-06-14 07:48:33,391 2212 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-06-14 07:48:33,391 2212 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:48:33,391 2212 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-06-14 07:48:33,391 2212 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-06-14 07:48:33,406 2212 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-06-14 07:48:33,406 2212 [DEBUG] - ---------------------------Script Execution---------------------------
2019-06-14 07:48:33,406 2212 [DEBUG] - Running 'ChocolateyScriptRunner' for PowerShell v5.1.14409.20180811 with packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\PowerShell', installArguments: '', packageParameters: '',
2019-06-14 07:48:33,421 2212 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
2019-06-14 07:48:37,327 2212 [INFO ] - Running on: Windows Server 2012 R2 Datacenter, (ServerDatacenter), Windows Kernel: 6.3.9600
2019-06-14 07:48:37,389 2212 [INFO ] - Installing for OS: Win8.1/2012R2
2019-06-14 07:48:37,602 2212 [DEBUG] - Running Install-ChocolateyPackage -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -validExitCodes '0 3010' -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-201906140748.evtx"'
2019-06-14 07:48:37,740 2212 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'PowerShell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\PowerShellInstall.msu' -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-06-14 07:48:37,817 2212 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-06-14 07:48:37,848 2212 [DEBUG] - CPU is 64 bit
2019-06-14 07:48:37,862 2212 [DEBUG] - Setting url to 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' and bitPackage to 64
2019-06-14 07:48:37,939 2212 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -defaultName 'PowerShellInstall.msu'
2019-06-14 07:48:38,291 2212 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2019-06-14 07:48:38,307 2212 [DEBUG] - File name determined from url is 'Win8.1AndW2K12R2-KB3191564-x64.msu'
2019-06-14 07:48:38,353 2212 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -ErrorAction 'Stop'
2019-06-14 07:48:38,368 2212 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-06-14 07:48:38,368 2212 [DEBUG] - Request Headers:
2019-06-14 07:48:38,398 2212 [DEBUG] - 'Accept':'*/*'
2019-06-14 07:48:38,398 2212 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-06-14 07:48:38,414 2212 [DEBUG] - Response Headers:
2019-06-14 07:48:38,429 2212 [DEBUG] - 'Content-MD5':'4uhKTV355vk+of3NssGOOQ=='
2019-06-14 07:48:38,429 2212 [DEBUG] - 'Connection':'keep-alive'
2019-06-14 07:48:38,444 2212 [DEBUG] - 'Accept-Ranges':'bytes'
2019-06-14 07:48:38,444 2212 [DEBUG] - 'Content-Length':'19878906'
2019-06-14 07:48:38,444 2212 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-06-14 07:48:38,444 2212 [DEBUG] - 'Date':'Fri, 14 Jun 2019 07:48:38 GMT'
2019-06-14 07:48:38,460 2212 [DEBUG] - 'ETag':'"0x8D632CAFF2AE41B"'
2019-06-14 07:48:38,460 2212 [DEBUG] - 'Last-Modified':'Mon, 15 Oct 2018 18:21:16 GMT'
2019-06-14 07:48:38,460 2212 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-06-14 07:48:38,491 2212 [INFO ] - Downloading PowerShell 64 bit
from 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2019-06-14 07:48:38,506 2212 [INFO ] -
2019-06-14 07:48:38,536 2212 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -options 'System.Collections.Hashtable'
2019-06-14 07:48:38,552 2212 [DEBUG] - Setting request timeout to 30000
2019-06-14 07:48:38,552 2212 [DEBUG] - Setting read/write timeout to 2700000
2019-06-14 07:48:38,552 2212 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-06-14 07:48:40,681 2212 [DEBUG] - Downloading https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu to C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu
2019-06-14 07:48:54,343 2212 [INFO ] -
2019-06-14 07:48:54,359 2212 [INFO ] - Download of Win8.1AndW2K12R2-KB3191564-x64.msu (18.96 MB) completed.
2019-06-14 07:48:54,359 2212 [INFO ] -
2019-06-14 07:49:00,802 2212 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-06-14 07:49:00,802 2212 [DEBUG] - Verifying package provided checksum of 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu'.
2019-06-14 07:49:00,832 2212 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType 'sha256' -originalUrl 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2019-06-14 07:49:00,924 2212 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-06-14 07:49:00,924 2212 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu"]
2019-06-14 07:49:01,802 2212 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu"] exited with '0'.
2019-06-14 07:49:01,880 2212 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-201906140748.evtx"' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -validExitCodes '0 3010' -useOnlyPackageSilentArguments 'False'
2019-06-14 07:49:01,896 2212 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-06-14 07:49:01,912 2212 [INFO ] - Installing PowerShell...
2019-06-14 07:49:01,912 2212 [INFO ] -
2019-06-14 07:49:02,240 2212 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2019-06-14 07:49:02,334 2212 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811' -statements '"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-201906140748.evtx" ' -exeToRun 'C:\Windows\System32\wusa.exe'
2019-06-14 07:49:02,349 2212 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-06-14 07:49:02,443 2212 [DEBUG] - Test-ProcessAdminRights: returning True
2019-06-14 07:49:02,474 2212 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\wusa.exe" "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-201906140748.evtx" ]. This may take a while, depending on the statements.
2019-06-14 07:52:02,849 2212 [DEBUG] - Command ["C:\Windows\System32\wusa.exe" "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-201906140748.evtx" ] exited with '3010'.
2019-06-14 07:52:02,896 2212 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-06-14 07:52:02,912 2212 [INFO ] - PowerShell has been installed.
2019-06-14 07:52:02,927 2212 [INFO ] -
2019-06-14 07:52:02,927 2212 [WARN ] - WARNING: PowerShell requires a reboot to complete the installation.
2019-06-14 07:52:03,068 2212 [DEBUG] - ----------------------------------------------------------------------
2019-06-14 07:52:03,115 2212 [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\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '3010'.
2019-06-14 07:52:03,115 2212 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-06-14 07:52:03,146 2212 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-06-14 07:52:03,162 2212 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2019-06-14 07:52:03,162 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2019-06-14 07:52:03,162 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2019-06-14 07:52:03,177 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2019-06-14 07:52:03,177 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2019-06-14 07:52:03,177 2212 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811".
2019-06-14 07:52:03,193 2212 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.files'
2019-06-14 07:52:03,210 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.extra".
2019-06-14 07:52:03,210 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.version".
2019-06-14 07:52:03,210 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.sxs".
2019-06-14 07:52:03,224 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.pin".
2019-06-14 07:52:03,224 2212 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-06-14 07:52:03,224 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\.chocolateyPending".
2019-06-14 07:52:03,240 2212 [INFO ] - The install of powershell was successful.
2019-06-14 07:52:03,240 2212 [INFO ] - Software installed as 'msu', install location is likely default.
2019-06-14 07:52:03,240 2212 [INFO ] - [NuGet] Installing 'ad-acl-scanner 5.6.3'.
2019-06-14 07:52:03,255 2212 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'ad-acl-scanner\tools'.
2019-06-14 07:52:03,255 2212 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'ad-acl-scanner\tools'.
2019-06-14 07:52:03,255 2212 [DEBUG] - [NuGet] Added file 'ad-acl-scanner.nupkg' to folder 'ad-acl-scanner'.
2019-06-14 07:52:03,490 2212 [DEBUG] - [NuGet] Added file 'ad-acl-scanner.nuspec' to folder 'ad-acl-scanner'.
2019-06-14 07:52:03,490 2212 [INFO ] - [NuGet] Successfully installed 'ad-acl-scanner 5.6.3'.
2019-06-14 07:52:03,505 2212 [INFO ] -
ad-acl-scanner v5.6.3 (forced)
2019-06-14 07:52:03,505 2212 [INFO ] - ad-acl-scanner package files install completed. Performing other installation steps.
2019-06-14 07:52:03,521 2212 [DEBUG] - Setting installer args for ad-acl-scanner
2019-06-14 07:52:03,521 2212 [DEBUG] - Setting package parameters for ad-acl-scanner
2019-06-14 07:52:03,521 2212 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyinstall.ps1':
2019-06-14 07:52:03,537 2212 [DEBUG] - $ErrorActionPreference = 'Stop'
$packageName = 'ad-acl-scanner'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://raw.githubusercontent.com/canix1/ADACLScanner/master/ADACLScan.ps1'
$checksum = '7DA94C5C41771938FC30D86C1DF2DB5EFCF465B3BD75BE22BADA4949F32108A4'
$fileName = 'ADACLScan.ps1'
$shortcutName = 'AD ACL Scanner'
$FileFullpath = "$toolsDir\$fileName"
$packageArgs = @{
packageName = $packageName
fileType = ''
url = $url
FileFullPath = $FileFullpath
checksum = $checksum
checksumType = 'sha256'
}
Get-ChocolateyWebFile @packageArgs
Install-ChocolateyShortcut -shortcutFilePath "$ENV:USERPROFILE\Desktop\$shortcutName.lnk" -targetPath $FileFullpath -WorkingDirectory "$toolsDir"
2019-06-14 07:52:03,537 2212 [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\ad-acl-scanner\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2019-06-14 07:52:03,537 2212 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-06-14 07:52:03,552 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:52:03,552 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:52:03,552 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:52:03,568 2212 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-06-14 07:52:03,771 2212 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-06-14 07:52:03,865 2212 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:52:03,865 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:52:03,880 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:52:03,880 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:52:03,880 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:52:03,880 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:52:03,896 2212 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:52:03,896 2212 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:52:03,896 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:52:03,912 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:52:03,912 2212 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:52:03,912 2212 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:52:03,927 2212 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:52:03,927 2212 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:52:03,927 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:52:03,943 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:52:03,943 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:52:03,943 2212 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:52:03,959 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:52:03,959 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:03,959 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:52:03,974 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:52:03,974 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:52:03,974 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:52:03,990 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:52:03,990 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:52:03,990 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:52:04,006 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:52:04,006 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:52:04,006 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:52:04,022 2212 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:52:04,022 2212 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:52:04,022 2212 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:52:04,022 2212 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:52:04,037 2212 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:52:04,037 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:52:04,037 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:04,052 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:52:04,052 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:52:04,052 2212 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:52:04,068 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:52:04,068 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:52:04,068 2212 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:52:04,068 2212 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:52:04,084 2212 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:52:04,084 2212 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:52:04,084 2212 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:52:04,099 2212 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:52:04,099 2212 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:52:04,099 2212 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:52:04,115 2212 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:52:04,115 2212 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:52:04,115 2212 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:52:04,130 2212 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:52:04,130 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:52:04,130 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:52:04,146 2212 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:52:04,146 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:52:04,146 2212 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:52:04,162 2212 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:52:04,162 2212 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:52:04,162 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:52:04,162 2212 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:52:04,177 2212 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:52:04,177 2212 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:52:04,177 2212 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:52:04,193 2212 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:52:04,193 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:52:04,193 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:52:04,209 2212 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:52:04,209 2212 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:52:04,209 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:52:04,209 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:04,224 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:52:04,224 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:52:04,224 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:52:04,240 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:52:04,240 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:52:04,240 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:52:04,240 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:52:04,255 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:52:04,255 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:52:04,255 2212 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:52:04,271 2212 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:52:04,271 2212 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:52:04,271 2212 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:52:04,271 2212 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:52:04,287 2212 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:52:04,287 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:52:04,287 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:04,302 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:52:04,302 2212 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:52:04,302 2212 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:52:04,302 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:52:04,318 2212 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:52:04,318 2212 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:52:04,318 2212 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:52:04,334 2212 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:52:04,334 2212 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:52:04,334 2212 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:52:04,334 2212 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:52:04,349 2212 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:52:04,349 2212 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:52:04,349 2212 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:52:04,365 2212 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:52:04,365 2212 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:52:04,365 2212 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-06-14 07:52:04,380 2212 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-06-14 07:52:04,380 2212 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-06-14 07:52:04,380 2212 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-06-14 07:52:04,380 2212 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-06-14 07:52:04,396 2212 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-06-14 07:52:04,396 2212 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-06-14 07:52:04,396 2212 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-06-14 07:52:04,412 2212 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-06-14 07:52:04,412 2212 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:52:04,412 2212 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-06-14 07:52:04,412 2212 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-06-14 07:52:04,427 2212 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-06-14 07:52:04,427 2212 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-06-14 07:52:04,427 2212 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-06-14 07:52:04,443 2212 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-06-14 07:52:04,443 2212 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-06-14 07:52:04,443 2212 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-06-14 07:52:04,459 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:52:04,459 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:04,474 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:52:04,474 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:52:04,474 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:52:04,490 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-06-14 07:52:04,506 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-06-14 07:52:04,506 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:52:04,506 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:52:04,521 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-06-14 07:52:04,521 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:52:04,521 2212 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-06-14 07:52:04,537 2212 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-06-14 07:52:04,537 2212 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-06-14 07:52:04,537 2212 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-06-14 07:52:04,552 2212 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:52:04,552 2212 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-06-14 07:52:04,552 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-06-14 07:52:04,552 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:04,568 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:52:04,568 2212 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:52:04,568 2212 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-06-14 07:52:04,584 2212 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-06-14 07:52:04,584 2212 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-06-14 07:52:04,599 2212 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-06-14 07:52:04,599 2212 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-06-14 07:52:04,599 2212 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-06-14 07:52:04,599 2212 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-06-14 07:52:04,615 2212 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-06-14 07:52:04,615 2212 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-06-14 07:52:04,615 2212 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-06-14 07:52:04,630 2212 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:52:04,630 2212 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-06-14 07:52:04,630 2212 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-06-14 07:52:04,630 2212 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-06-14 07:52:04,646 2212 [DEBUG] - ---------------------------Script Execution---------------------------
2019-06-14 07:52:04,646 2212 [DEBUG] - Running 'ChocolateyScriptRunner' for ad-acl-scanner v5.6.3 with packageScript 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ad-acl-scanner', installArguments: '', packageParameters: '',
2019-06-14 07:52:04,662 2212 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyinstall.ps1'
2019-06-14 07:52:04,693 2212 [DEBUG] - Running Get-ChocolateyWebFile -checksum '7DA94C5C41771938FC30D86C1DF2DB5EFCF465B3BD75BE22BADA4949F32108A4' -checksumType 'sha256' -fileFullPath 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1' -url 'https://raw.githubusercontent.com/canix1/ADACLScanner/master/ADACLScan.ps1' -packageName 'ad-acl-scanner'
2019-06-14 07:52:04,709 2212 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-06-14 07:52:04,709 2212 [DEBUG] - CPU is 64 bit
2019-06-14 07:52:04,724 2212 [DEBUG] - Running Get-WebHeaders -url 'https://raw.githubusercontent.com/canix1/ADACLScanner/master/ADACLScan.ps1' -ErrorAction 'Stop'
2019-06-14 07:52:04,724 2212 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-06-14 07:52:04,724 2212 [DEBUG] - Request Headers:
2019-06-14 07:52:04,740 2212 [DEBUG] - 'Accept':'*/*'
2019-06-14 07:52:04,740 2212 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-06-14 07:52:04,990 2212 [DEBUG] - Response Headers:
2019-06-14 07:52:05,005 2212 [DEBUG] - 'Content-Security-Policy':'default-src 'none'; style-src 'unsafe-inline'; sandbox'
2019-06-14 07:52:05,005 2212 [DEBUG] - 'Strict-Transport-Security':'max-age=31536000'
2019-06-14 07:52:05,005 2212 [DEBUG] - 'X-Content-Type-Options':'nosniff'
2019-06-14 07:52:05,021 2212 [DEBUG] - 'X-Frame-Options':'deny'
2019-06-14 07:52:05,021 2212 [DEBUG] - 'X-XSS-Protection':'1; mode=block'
2019-06-14 07:52:05,021 2212 [DEBUG] - 'X-GitHub-Request-Id':'EB68:1863:AFA5C:C8935:5D035223'
2019-06-14 07:52:05,037 2212 [DEBUG] - 'Connection':'keep-alive'
2019-06-14 07:52:05,037 2212 [DEBUG] - 'X-Served-By':'cache-sea1034-SEA'
2019-06-14 07:52:05,037 2212 [DEBUG] - 'X-Cache':'MISS'
2019-06-14 07:52:05,037 2212 [DEBUG] - 'X-Cache-Hits':'0'
2019-06-14 07:52:05,052 2212 [DEBUG] - 'X-Timer':'S1560498724.434937,VS0,VE163'
2019-06-14 07:52:05,052 2212 [DEBUG] - 'Vary':'Authorization,Accept-Encoding'
2019-06-14 07:52:05,052 2212 [DEBUG] - 'Access-Control-Allow-Origin':'*'
2019-06-14 07:52:05,068 2212 [DEBUG] - 'X-Fastly-Request-ID':'c1b68df3d526a6939f87fc232b7977ab3326bd1e'
2019-06-14 07:52:05,068 2212 [DEBUG] - 'Source-Age':'0'
2019-06-14 07:52:05,068 2212 [DEBUG] - 'Accept-Ranges':'bytes'
2019-06-14 07:52:05,068 2212 [DEBUG] - 'Content-Length':'71533'
2019-06-14 07:52:05,084 2212 [DEBUG] - 'Cache-Control':'max-age=300'
2019-06-14 07:52:05,084 2212 [DEBUG] - 'Content-Type':'text/plain; charset=utf-8'
2019-06-14 07:52:05,084 2212 [DEBUG] - 'Date':'Fri, 14 Jun 2019 07:52:04 GMT'
2019-06-14 07:52:05,115 2212 [DEBUG] - 'Expires':'Fri, 14 Jun 2019 07:57:04 GMT'
2019-06-14 07:52:05,115 2212 [DEBUG] - 'ETag':'"414442d388e751d35f4b545297b64ae3049b1649"'
2019-06-14 07:52:05,130 2212 [DEBUG] - 'Via':'1.1 varnish'
2019-06-14 07:52:05,130 2212 [INFO ] - Downloading ad-acl-scanner
from 'https://raw.githubusercontent.com/canix1/ADACLScanner/master/ADACLScan.ps1'
2019-06-14 07:52:05,146 2212 [INFO ] -
2019-06-14 07:52:05,146 2212 [DEBUG] - Running Get-WebFile -url 'https://raw.githubusercontent.com/canix1/ADACLScanner/master/ADACLScan.ps1' -fileName 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1' -options 'System.Collections.Hashtable'
2019-06-14 07:52:05,162 2212 [DEBUG] - Setting request timeout to 30000
2019-06-14 07:52:05,162 2212 [DEBUG] - Setting read/write timeout to 2700000
2019-06-14 07:52:05,177 2212 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-06-14 07:52:05,209 2212 [WARN ] - WARNING: C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1 is of content type text/plain; charset=utf-8
2019-06-14 07:52:05,287 2212 [INFO ] -
2019-06-14 07:52:05,287 2212 [INFO ] - Download of ADACLScan.ps1 (-1 B) completed.
2019-06-14 07:52:05,287 2212 [INFO ] -
2019-06-14 07:52:08,318 2212 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-06-14 07:52:08,318 2212 [DEBUG] - Verifying package provided checksum of '7DA94C5C41771938FC30D86C1DF2DB5EFCF465B3BD75BE22BADA4949F32108A4' for 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1'.
2019-06-14 07:52:08,318 2212 [DEBUG] - Running Get-ChecksumValid -file 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1' -checksum '7DA94C5C41771938FC30D86C1DF2DB5EFCF465B3BD75BE22BADA4949F32108A4' -checksumType 'sha256' -originalUrl 'https://raw.githubusercontent.com/canix1/ADACLScanner/master/ADACLScan.ps1'
2019-06-14 07:52:08,334 2212 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-06-14 07:52:08,334 2212 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="7DA94C5C41771938FC30D86C1DF2DB5EFCF465B3BD75BE22BADA4949F32108A4" -t="sha256" -f="C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1"]
2019-06-14 07:52:08,474 2212 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="7DA94C5C41771938FC30D86C1DF2DB5EFCF465B3BD75BE22BADA4949F32108A4" -t="sha256" -f="C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1"] exited with '0'.
2019-06-14 07:52:08,474 2212 [INFO ] - C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1
2019-06-14 07:52:08,568 2212 [DEBUG] - Running Install-ChocolateyShortcut -shortcutFilePath 'C:\Users\Administrator\Desktop\AD ACL Scanner.lnk' -targetPath 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1' -workingDirectory 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools'
2019-06-14 07:52:08,568 2212 [DEBUG] - Creating Shortcut...
2019-06-14 07:52:09,162 2212 [DEBUG] - Shortcut created.
2019-06-14 07:52:09,177 2212 [DEBUG] - ----------------------------------------------------------------------
2019-06-14 07:52:09,177 2212 [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\ad-acl-scanner\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-06-14 07:52:09,177 2212 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-06-14 07:52:09,224 2212 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-06-14 07:52:09,224 2212 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ad-acl-scanner'
2019-06-14 07:52:09,240 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nupkg'
with checksum '366A8528B6E0AB67A599C7E3F80E9F7B'
2019-06-14 07:52:09,240 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nuspec'
with checksum '10C7EE8FC48259DB4371FD202233C1CB'
2019-06-14 07:52:09,255 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1'
with checksum 'E705F578EB73149326DFE58CBF020448'
2019-06-14 07:52:09,255 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1.istext'
with checksum '72F06AA3C13880ABFAAC0E6A1064A9AF'
2019-06-14 07:52:09,255 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyinstall.ps1'
with checksum '0580A1968F6E1DFBF371594AAD9E62DB'
2019-06-14 07:52:09,271 2212 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyuninstall.ps1'
with checksum '6D732539CB2BD47D86DE30DA631CDE35'
2019-06-14 07:52:09,271 2212 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\ad-acl-scanner.5.6.3".
2019-06-14 07:52:09,287 2212 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\ad-acl-scanner.5.6.3\.files'
2019-06-14 07:52:09,287 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ad-acl-scanner.5.6.3\.extra".
2019-06-14 07:52:09,302 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ad-acl-scanner.5.6.3\.version".
2019-06-14 07:52:09,302 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ad-acl-scanner.5.6.3\.sxs".
2019-06-14 07:52:09,302 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ad-acl-scanner.5.6.3\.pin".
2019-06-14 07:52:09,318 2212 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-06-14 07:52:09,318 2212 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ad-acl-scanner\.chocolateyPending".
2019-06-14 07:52:09,318 2212 [INFO ] - The install of ad-acl-scanner was successful.
2019-06-14 07:52:09,318 2212 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-06-14 07:52:09,334 2212 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\ad-acl-scanner.5.6.3.nupkg".
2019-06-14 07:52:09,412 2212 [WARN ] -
Chocolatey installed 3/3 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-06-14 07:52:09,427 2212 [INFO ] -
2019-06-14 07:52:09,427 2212 [WARN ] - Packages requiring reboot:
2019-06-14 07:52:09,427 2212 [WARN ] - - powershell (exit code 3010)
2019-06-14 07:52:09,443 2212 [WARN ] -
The recent package changes indicate a reboot is necessary.
Please reboot at your earliest convenience.
2019-06-14 07:52:09,443 2212 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-06-14 07:52:09,521 2212 [DEBUG] - Exiting with 3010
2019-06-14 07:52:39,584 2028 [DEBUG] - XmlConfiguration is now operational
2019-06-14 07:52:39,802 2028 [INFO ] - ============================================================
2019-06-14 07:52:40,584 2028 [INFO ] - Chocolatey v0.10.15
2019-06-14 07:52:40,631 2028 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-06-14 07:52:40,631 2028 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-06-14 07:52:40,646 2028 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-06-14 07:52:40,677 2028 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall ad-acl-scanner --version 5.6.3 -dvy --execution-timeout=2700
2019-06-14 07:52:40,677 2028 [DEBUG] - Received arguments: uninstall ad-acl-scanner --version 5.6.3 -dvy --execution-timeout=2700
2019-06-14 07:52:40,865 2028 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-06-14 07:52:40,880 2028 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-06-14 07:52:40,912 2028 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-06-14 07:52:41,099 2028 [DEBUG] - Performing validation checks.
2019-06-14 07:52:41,115 2028 [DEBUG] - Global Configuration Validation Checks:
2019-06-14 07:52:41,115 2028 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-06-14 07:52:41,130 2028 [DEBUG] - System State Validation Checks:
2019-06-14 07:52:41,146 2028 [DEBUG] - Reboot Requirement Checks:
2019-06-14 07:52:41,146 2028 [DEBUG] - - Pending Computer Rename = Checked
2019-06-14 07:52:41,162 2028 [DEBUG] - - Pending Component Based Servicing = Flagged
2019-06-14 07:52:41,177 2028 [INFO ] - 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
2019-06-14 07:52:41,193 2028 [INFO ] -
2019-06-14 07:52:41,193 2028 [WARN ] - Validation Warnings:
2019-06-14 07:52:41,209 2028 [WARN ] - - A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
2019-06-14 07:52:41,209 2028 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-06-14 07:52:41,224 2028 [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-06-14 07:52:41,287 2028 [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='ad-acl-scanner'|Version='5.6.3'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='ad-acl-scanner'|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-06-14 07:52:41,302 2028 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2019-06-14 07:52:41,318 2028 [INFO ] - Uninstalling the following packages:
2019-06-14 07:52:41,318 2028 [INFO ] - ad-acl-scanner
2019-06-14 07:52:41,349 2028 [DEBUG] - Current environment values (may contain sensitive data):
2019-06-14 07:52:41,349 2028 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-06-14 07:52:41,349 2028 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-06-14 07:52:41,365 2028 [DEBUG] - * 'ChocolateyLastPathUpdate'='132049682685258292' ('User')
2019-06-14 07:52:41,365 2028 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-06-14 07:52:41,365 2028 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-06-14 07:52:41,365 2028 [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-06-14 07:52:41,380 2028 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-06-14 07:52:41,380 2028 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-06-14 07:52:41,380 2028 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-06-14 07:52:41,380 2028 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-06-14 07:52:41,380 2028 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-06-14 07:52:41,396 2028 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-06-14 07:52:41,396 2028 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-06-14 07:52:41,396 2028 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-06-14 07:52:41,396 2028 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-06-14 07:52:41,412 2028 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-06-14 07:52:41,412 2028 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-06-14 07:52:41,412 2028 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-06-14 07:52:41,412 2028 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-06-14 07:52:41,427 2028 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-06-14 07:52:41,677 2028 [DEBUG] - Running list with the following filter = ''
2019-06-14 07:52:41,677 2028 [DEBUG] - --- Start of List ---
2019-06-14 07:52:42,130 2028 [DEBUG] - ad-acl-scanner 5.6.3
2019-06-14 07:52:42,146 2028 [DEBUG] - --- End of List ---
2019-06-14 07:52:42,443 2028 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2019-06-14 07:52:42,459 2028 [DEBUG] - Backing up existing ad-acl-scanner prior to operation.
2019-06-14 07:52:42,474 2028 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ad-acl-scanner'
to 'C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner'
2019-06-14 07:52:44,490 2028 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ad-acl-scanner".
2019-06-14 07:52:44,490 2028 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner\ad-acl-scanner.nupkg"
to "C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nupkg".
2019-06-14 07:52:44,505 2028 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner\ad-acl-scanner.nuspec"
to "C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nuspec".
2019-06-14 07:52:44,505 2028 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools".
2019-06-14 07:52:44,521 2028 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner\tools\ADACLScan.ps1"
to "C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1".
2019-06-14 07:52:44,521 2028 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner\tools\ADACLScan.ps1.istext"
to "C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1.istext".
2019-06-14 07:52:44,521 2028 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyinstall.ps1".
2019-06-14 07:52:44,537 2028 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyuninstall.ps1".
2019-06-14 07:52:46,068 2028 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ad-acl-scanner'
2019-06-14 07:52:46,084 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nupkg'
with checksum '366A8528B6E0AB67A599C7E3F80E9F7B'
2019-06-14 07:52:46,084 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\ad-acl-scanner.nuspec'
with checksum '10C7EE8FC48259DB4371FD202233C1CB'
2019-06-14 07:52:46,099 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1'
with checksum 'E705F578EB73149326DFE58CBF020448'
2019-06-14 07:52:46,099 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1.istext'
with checksum '72F06AA3C13880ABFAAC0E6A1064A9AF'
2019-06-14 07:52:46,099 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyinstall.ps1'
with checksum '0580A1968F6E1DFBF371594AAD9E62DB'
2019-06-14 07:52:46,099 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyuninstall.ps1'
with checksum '6D732539CB2BD47D86DE30DA631CDE35'
2019-06-14 07:52:46,427 2028 [INFO ] - [NuGet] Uninstalling 'ad-acl-scanner 5.6.3'.
2019-06-14 07:52:46,459 2028 [INFO ] -
ad-acl-scanner v5.6.3
2019-06-14 07:52:46,552 2028 [DEBUG] - Setting installer args for ad-acl-scanner
2019-06-14 07:52:46,552 2028 [DEBUG] - Setting package parameters for ad-acl-scanner
2019-06-14 07:52:46,552 2028 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyuninstall.ps1':
2019-06-14 07:52:46,568 2028 [DEBUG] - $ErrorActionPreference = 'Stop'
$packageName = 'ad-acl-scanner'
$shortcutName = 'AD ACL Scanner'
Remove-Item "$ENV:USERPROFILE\Desktop\$shortcutName.lnk" -Force -ErrorAction SilentlyContinue
2019-06-14 07:52:46,646 2028 [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\ad-acl-scanner\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''']
2019-06-14 07:52:46,663 2028 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-06-14 07:52:47,240 2028 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-06-14 07:52:47,631 2028 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:52:47,631 2028 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:52:47,631 2028 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:52:47,646 2028 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:52:47,646 2028 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:52:47,646 2028 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:52:47,662 2028 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:52:47,662 2028 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:52:47,662 2028 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:52:47,677 2028 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:52:47,677 2028 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:52:47,677 2028 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:52:47,693 2028 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:52:47,693 2028 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:52:47,693 2028 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:52:47,709 2028 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:52:47,709 2028 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:52:47,709 2028 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:52:47,709 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:52:47,724 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:47,724 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:52:47,724 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:52:47,740 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:52:47,740 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:52:47,740 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:52:47,755 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:52:47,755 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:52:47,755 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:52:47,771 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:52:47,771 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:52:47,771 2028 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:52:47,787 2028 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:52:47,787 2028 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:52:47,787 2028 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:52:47,802 2028 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:52:47,802 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:52:47,802 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:47,818 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:52:47,818 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:52:47,818 2028 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:52:47,834 2028 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:52:47,834 2028 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:52:47,834 2028 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:52:47,849 2028 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:52:47,849 2028 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:52:47,849 2028 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:52:47,865 2028 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:52:47,865 2028 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:52:47,865 2028 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:52:47,880 2028 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:52:47,880 2028 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:52:47,880 2028 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:52:47,896 2028 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:52:47,927 2028 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-06-14 07:52:47,927 2028 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-06-14 07:52:47,943 2028 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-06-14 07:52:47,943 2028 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-06-14 07:52:47,943 2028 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-06-14 07:52:47,959 2028 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-06-14 07:52:47,959 2028 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-06-14 07:52:47,959 2028 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-06-14 07:52:47,959 2028 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-06-14 07:52:47,974 2028 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:52:47,974 2028 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-06-14 07:52:47,974 2028 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-06-14 07:52:47,974 2028 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-06-14 07:52:47,990 2028 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-06-14 07:52:47,990 2028 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-06-14 07:52:47,990 2028 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-06-14 07:52:48,005 2028 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-06-14 07:52:48,005 2028 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-06-14 07:52:48,005 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:52:48,021 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:48,021 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:52:48,021 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:52:48,037 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:52:48,037 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-06-14 07:52:48,037 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-06-14 07:52:48,052 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:52:48,052 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:52:48,052 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-06-14 07:52:48,068 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:52:48,068 2028 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-06-14 07:52:48,068 2028 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-06-14 07:52:48,084 2028 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-06-14 07:52:48,084 2028 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-06-14 07:52:48,084 2028 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:52:48,099 2028 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-06-14 07:52:48,099 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-06-14 07:52:48,099 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:48,115 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:52:48,115 2028 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:52:48,115 2028 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-06-14 07:52:48,130 2028 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-06-14 07:52:48,130 2028 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-06-14 07:52:48,130 2028 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-06-14 07:52:48,146 2028 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-06-14 07:52:48,146 2028 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-06-14 07:52:48,146 2028 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-06-14 07:52:48,162 2028 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-06-14 07:52:48,162 2028 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-06-14 07:52:48,162 2028 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-06-14 07:52:48,162 2028 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-06-14 07:52:48,177 2028 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:52:48,177 2028 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-06-14 07:52:48,193 2028 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-06-14 07:52:48,193 2028 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-06-14 07:52:48,193 2028 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-06-14 07:52:48,209 2028 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-06-14 07:52:48,209 2028 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-06-14 07:52:48,209 2028 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-06-14 07:52:48,224 2028 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-06-14 07:52:48,224 2028 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-06-14 07:52:48,240 2028 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-06-14 07:52:48,240 2028 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-06-14 07:52:48,240 2028 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-06-14 07:52:48,255 2028 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-06-14 07:52:48,255 2028 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-06-14 07:52:48,255 2028 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-06-14 07:52:48,271 2028 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-06-14 07:52:48,271 2028 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-06-14 07:52:48,271 2028 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-06-14 07:52:48,287 2028 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-06-14 07:52:48,287 2028 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-06-14 07:52:48,287 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-06-14 07:52:48,302 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:48,302 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-06-14 07:52:48,302 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-06-14 07:52:48,318 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-06-14 07:52:48,318 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-06-14 07:52:48,318 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-06-14 07:52:48,318 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-06-14 07:52:48,334 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-06-14 07:52:48,334 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-06-14 07:52:48,334 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-06-14 07:52:48,349 2028 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-06-14 07:52:48,349 2028 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-06-14 07:52:48,349 2028 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-06-14 07:52:48,349 2028 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-06-14 07:52:48,365 2028 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-06-14 07:52:48,365 2028 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-06-14 07:52:48,365 2028 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-06-14 07:52:48,380 2028 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-06-14 07:52:48,380 2028 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-06-14 07:52:48,380 2028 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-06-14 07:52:48,396 2028 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-06-14 07:52:48,396 2028 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-06-14 07:52:48,396 2028 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-06-14 07:52:48,396 2028 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-06-14 07:52:48,412 2028 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-06-14 07:52:48,412 2028 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-06-14 07:52:48,412 2028 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-06-14 07:52:48,427 2028 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-06-14 07:52:48,427 2028 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-06-14 07:52:48,427 2028 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-06-14 07:52:48,443 2028 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-06-14 07:52:48,443 2028 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-06-14 07:52:48,443 2028 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-06-14 07:52:48,459 2028 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-06-14 07:52:48,568 2028 [DEBUG] - ---------------------------Script Execution---------------------------
2019-06-14 07:52:48,584 2028 [DEBUG] - Running 'ChocolateyScriptRunner' for ad-acl-scanner v5.6.3 with packageScript 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ad-acl-scanner', installArguments: '', packageParameters: '',
2019-06-14 07:52:48,630 2028 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\chocolateyuninstall.ps1'
2019-06-14 07:52:48,693 2028 [DEBUG] - ----------------------------------------------------------------------
2019-06-14 07:52:48,693 2028 [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\ad-acl-scanner\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-06-14 07:52:48,740 2028 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2019-06-14 07:52:48,755 2028 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-06-14 07:52:48,802 2028 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-06-14 07:52:48,834 2028 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\ad-acl-scanner".
2019-06-14 07:52:48,912 2028 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools'.
2019-06-14 07:52:48,912 2028 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools'.
2019-06-14 07:52:48,927 2028 [DEBUG] - [NuGet] Removed file 'ad-acl-scanner.nuspec' to folder 'C:\ProgramData\chocolatey\lib\ad-acl-scanner'.
2019-06-14 07:52:48,927 2028 [DEBUG] - [NuGet] Removed file 'ad-acl-scanner.nupkg' to folder 'C:\ProgramData\chocolatey\lib\ad-acl-scanner'.
2019-06-14 07:52:48,974 2028 [DEBUG] - [NuGet] The directory is not empty.
2019-06-14 07:52:48,990 2028 [INFO ] - [NuGet] Successfully uninstalled 'ad-acl-scanner 5.6.3'.
2019-06-14 07:52:49,006 2028 [INFO ] - ad-acl-scanner has been successfully uninstalled.
2019-06-14 07:52:49,021 2028 [DEBUG] - Removing nupkg if it still exists.
2019-06-14 07:52:49,037 2028 [DEBUG] - Ensuring removal of installation files.
2019-06-14 07:52:49,068 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1'
with checksum 'E705F578EB73149326DFE58CBF020448'
2019-06-14 07:52:49,068 2028 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1".
2019-06-14 07:52:49,084 2028 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1.istext'
with checksum '72F06AA3C13880ABFAAC0E6A1064A9AF'
2019-06-14 07:52:49,084 2028 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ad-acl-scanner\tools\ADACLScan.ps1.istext".
2019-06-14 07:52:49,084 2028 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\ad-acl-scanner".
2019-06-14 07:52:49,099 2028 [DEBUG] - Ensuring removal of package cache files.
2019-06-14 07:52:49,193 2028 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-06-14 07:52:49,193 2028 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-06-14 07:52:49,240 2028 [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.