Skip to content

Instantly share code, notes, and snippets.

View jberezanski's full-sized avatar

Jakub Bereżański jberezanski

View GitHub Profile
@jberezanski
jberezanski / chocolatey.log
Created September 23, 2022 07:27
choco install visualstudio2022buildtools --version 117.3.3.0
2022-09-23 00:21:02,526 6112 [DEBUG] - XmlConfiguration is now operational
2022-09-23 00:21:02,557 6112 [INFO ] - ============================================================
2022-09-23 00:21:02,776 6112 [INFO ] - Chocolatey v1.1.0
2022-09-23 00:21:02,792 6112 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2022-09-23 00:21:02,792 6112 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2022-09-23 00:21:02,792 6112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2022-09-23 00:21:02,792 6112 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install visualstudio2022buildtools --version 117.3.3.0 -fdvy --execution-timeout=2700 --allow-downgrade
2022-09-23 00:21:02,807 6112 [DEBUG] - Received arguments: install visualstudio2022buildtools --version 117.3.3.0 -fdvy --execution-timeout=2700 --allow-downgrade
2022-09-23 00:21:02,823 6112 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2022-09-23 00:21:02,838
@jberezanski
jberezanski / chocolatey-dependency_resolution_failure.log
Last active May 15, 2018 20:08
chocolatey/choco#1575 Installing a prerelease package using --version fails to resolve prerelease dependencies
2018-05-15 21:57:19,632 1784 [DEBUG] - XmlConfiguration is now operational
2018-05-15 21:57:19,990 1784 [INFO ] - ============================================================
2018-05-15 21:57:20,941 1784 [INFO ] - Chocolatey v0.10.8
2018-05-15 21:57:21,038 1784 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2018-05-15 21:57:21,101 1784 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2018-05-15 21:57:21,163 1784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2018-05-15 21:57:21,257 1784 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install dotnetcore-windowshosting --version "2.1.0.20180510-rc1" -y
2018-05-15 21:57:21,304 1784 [DEBUG] - Received arguments: install dotnetcore-windowshosting --version 2.1.0.20180510-rc1 -y
2018-05-15 21:57:21,429 1784 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2018-05-15 21:57:21,491 1784 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribe
@jberezanski
jberezanski / chocolatey.log
Last active October 9, 2017 11:54
Get-AppInstallLocation issue
2017-10-09 12:58:37,195 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.5.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-10-09 12:58:37,195 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.5.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2017-10-09 12:58:37,210 [DEBUG] - XmlConfiguration is now operational
2017-10-09 12:58:37,320 [INFO ] - ============================================================
2017-10-09 12:58:37,320 [INFO ] - Chocolatey v0.10.5
2017-10-09 12:58:37,335 [DEBUG] - Chocolatey is running on Windows v 6.2.9200.0
2017-10-09 12:58:37,335 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2017-10-09 12:58:37,335 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2017-10-09 12:58:37,335 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install paint.net -y --execution-timeout:108000
2017-10-09 12:
@jberezanski
jberezanski / ValidateStorageHardware.ps1
Created October 10, 2016 10:52
ValidateStorageHardware.ps1 with reliability improvements
######################################################################
######### STORAGE SPACES PHYSICAL DISK VALIDATION SCRIPT 2.0 #########
######################################################################
#
# [Description]:
# This script validates key functional requirements and performance
# characteristics of physical disks which are required to achieve a
# minimally functional storage deployment for general-purpose
# workloads. Use this script along with the Cluster Validation
# Wizard as the first steps of a thorough validation and profiling
C:\Users\jberezanski>echo %PSModulePath%
C:\Program Files (x86)\PowerShell Community Extensions\Pscx3\;C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
C:\Users\jberezanski>powershell -command "$psversiontable; $env:psmodulepath"
Name Value
---- -----
PSVersion 4.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
PS C:\> cinst -dvy -source C:\Users\W732\Downloads test-environment
Chocolatey v0.9.10
Chocolatey is running on Windows v 6.1.7601.65536
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install -dvy -source C:\Users\W732\Downloads test-environment
Received arguments: install -dvy -source C:\Users\W732\Downloads test-environment
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
C:\>whoami /all | findstr BUILTIN\Administrators
BUILTIN\Administrators Alias S
-1-5-32-544 Mandatory group, Enabled by default
, Enabled group, Group owner
C:\>powershell -ExecutionPolicy Bypass
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\> $Env:ChocolateyInstall
@jberezanski
jberezanski / OriginalAttempt-chocolatey.log
Created April 21, 2016 19:44
vcredist local file names
2016-04-19 00:42:55,825 [INFO ] - Chocolatey v0.9.9.11
2016-04-19 00:42:55,838 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2016-04-19 00:42:55,838 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2016-04-19 00:42:55,852 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2016-04-19 00:42:55,878 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install -pre -y -execution-timeout 10800 visualstudio15enterprise
2016-04-19 00:42:55,878 [DEBUG] - Received arguments: install -pre -y -execution-timeout 10800 visualstudio15enterprise
2016-04-19 00:42:55,971 [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.
@jberezanski
jberezanski / JB_CredentialEcho.psm1
Last active March 18, 2016 10:15
WMF 4.0 DSC credential decryption bug in Get-DscConfiguration
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[parameter(Mandatory = $true)]
[System.String]
$Name,
@jberezanski
jberezanski / Program.cs
Created March 16, 2016 09:59
Windsor TypedFactory conventions
using System;
using Castle.Facilities.TypedFactory;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
namespace WindsorFactories
{
class Program
{
static void Main(string[] args)