conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "human", "value": "Add Windows Power Shell script example that counts the number of Windows handles allocated to all processes\n" }, { "from": "gpt", "value": "<#\n\n.SYNOPSIS\n\nRetrieves the sum of handles (GDI Objects, Kernel Objects, etc) from all the\nprocesses running on the Wind...
powershell
chosen
[ { "from": "system", "value": "Fix for epmty path and absolute paths\n\nIf a path is empty \"Get-TrimedPath\" will return \".\\\"\nAdded logic to get absolute paths working\n" }, { "from": "human", "value": "function Get-TrimedPath\n{\n param (\n [String] [Parameter(Mandatory = $true)]\n ...
powershell
chosen
[ { "from": "system", "value": "Fix CI zip creation to include Nether.Web.xml\n" }, { "from": "human", "value": "$netherRoot = $PSScriptRoot\n\ndotnet publish \"$netherRoot/src/Nether.Web\" -c Release\n[Reflection.Assembly]::LoadWithPartialName( \"System.IO.Compression.FileSystem\" ) | out-null\n[...
powershell
chosen
[ { "from": "system", "value": "Allow the build number to be passed in and added to the version number.\n" }, { "from": "human", "value": "#\r\n# Simple script to build the nuget package\r\n# when run from the continuous integration server. The result\r\n# of this guy will be become a build artifa...
powershell
chosen
[ { "from": "system", "value": "GEODE-4988: Install .NET 3.5 for Nunit.\n" }, { "from": "human", "value": "choco install jdk8 -confirm\nchoco install cmake.portable -confirm\nchoco install git.install -confirm\nchoco install activeperl -confirm\nchoco install doxygen.install --allowEmptyChecksums ...
powershell
chosen
[ { "from": "human", "value": "Add easy button for Angular setup\n\n" }, { "from": "gpt", "value": "### Install and configure some handy tools for building Angular applications\n### Run this script from an administrative shell\n\nSet-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass\n\nWrite-...
powershell
chosen
[ { "from": "system", "value": "Clean Target directories before running tests\n\n" }, { "from": "human", "value": "If ($args.Length -ne 0)\n{\n\t$env:NeoctrlArgs=\"$args\"\n\techo $Env:NeoctrlArgs\n}\n$scriptpath = $MyInvocation.MyCommand.Path\n$dir = Split-Path $scriptpath\n\nInvoke-Expression \"...
powershell
chosen
[ { "from": "system", "value": "Add verbose logging to vso package script\n" }, { "from": "human", "value": "Param(\n [string]$zipPath\n)\n\nfunction ZipFiles( $zipfilename, $sourcedir )\n{\n Add-Type -Assembly System.IO.Compression.FileSystem\n $compressionLevel = [System.IO.Compression....
powershell
chosen
[ { "from": "system", "value": "Set RUSTFLAGS to use static CRT in MSI test script\n" }, { "from": "human", "value": "# This script can be used for manually testing the MSI installer. It is not used for AppVeyor CI.\n\npushd ..\\..\\..\n# Build rustup.exe\ncargo build --release --target i686-pc-wi...
powershell
chosen
[ { "from": "human", "value": "Add sample script to configure IIS\n" }, { "from": "gpt", "value": "Import-Module WebAdministration\n\n$appPoolName = \"AppPoolName\";\n\n$scriptDir = Split-Path -Path $MyInvocation.MyCommand.Path -Parent;\n\n$sourceRoot = Split-Path -Path (Split-Path -Path $MyInvoca...
powershell
chosen
[ { "from": "system", "value": "Upgrade to VM version 7.0.36\n" }, { "from": "human", "value": "\n# Powershell script to pull the VM files from GitHub into the current folder.\n# Edit the following to match the version of the VM that is compatible with this image\n\nparam \n(\n [string]$VMversi...
powershell
chosen
[ { "from": "system", "value": "Change path on android sdk installer script\n" }, { "from": "human", "value": "#$AndroidToolPath = \"${env:ProgramFiles(x86)}\\Android\\android-sdk\\tools\\android\" \n$AndroidToolPath = \"$env:localappdata\\Android\\android-sdk\\tools\\android\"\n\nFunction Get-And...
powershell
chosen
[ { "from": "system", "value": "Switch packaging script to PowerShell.\n" }, { "from": "human", "value": "@ECHO OFF\nREM ---------------------------------------------------------------------------\nREM Builds the file utility nuget packages.\nREM ---------------------------------------------------...
powershell
chosen
[ { "from": "system", "value": "Remove again failing releaser tests on windows" }, { "from": "human", "value": "$image=Get-Childitem -Include *.image -Recurse -Name\n\necho $image\n\n.\\GlamorousToolkitWin64-*\\GlamorousToolkitConsole.exe $image examples --junit-xml-output 'GToolkit-.*' 'GT4SmaCC-...
powershell
chosen
[ { "from": "system", "value": "Use machine instead of user path and use Get-AppInstallLocation for path addition\n" }, { "from": "human", "value": "$ErrorActionPreference = 'Stop';\n\n$toolsPath = \"$(Split-Path -parent $MyInvocation.MyCommand.Definition)\"\n\n$pp = Get-PackageParameters\n$silen...
powershell
chosen
[ { "from": "system", "value": "Put in a generic server path" }, { "from": "human", "value": "#Map a drive\n<<<<<<< HEAD\nNew-PSDrive -Persist -Name 'I' -PSProvider 'FileSystem' -Root \"\\\\ushapwp00029\\pxestore\\BL_Software\" \n=======\nNew-PSDrive -Persist -Name 'I' -PSProvider \"FileSystem\" -...
powershell
chosen
[ { "from": "system", "value": "Use process.start to invoke bit cli v1 from bit cli v1 task to check its exit code\n" }, { "from": "human", "value": "[CmdletBinding()]\nparam()\n\nImport-VstsLocStrings \"$PSScriptRoot\\task.json\"\n\n[string]$action = Get-VstsInput -Name Action\n[string]$path = Ge...
powershell
chosen
[ { "from": "system", "value": "Remove stable and latest branch\n" }, { "from": "human", "value": "$ver = [regex]::Match((Get-Content Build/Version.csproj), '<Version>([^<]+)<').Groups[1].Value\ngit tag -a \"v$ver\" -m \"$ver\"\ngit checkout latest\ngit merge master\ngit checkout master\ngit tag -...
powershell
chosen
[ { "from": "system", "value": "Add /p:DeployExtension=false to tooling build script" }, { "from": "human", "value": "Invoke-WebRequest -useb 'https://dot.net/v1/dotnet-install.ps1' -OutFile .\\build\\dotnet-install.ps1\n.\\build\\dotnet-install.ps1 -channel Current -version 2.1.3 -InstallDir dotn...
powershell
chosen
[ { "from": "system", "value": "Improve regex to add -H option\n" }, { "from": "human", "value": "Write-Host \"WARNING: DO NOT USE DOCKER IN PRODUCTION WITHOUT TLS\"\nWrite-Host \"Enabling Docker insecure port 2375\"\n\nif (!(Get-NetFirewallRule | where {$_.Name -eq \"Dockerinsecure2375\"})) {\n ...
powershell
chosen
[ { "from": "system", "value": "Disable NLA for RDP access" }, { "from": "human", "value": "winrm quickconfig -q\nwinrm set winrm/config/service '@{AllowUnencrypted=\"true\"}'\nwinrm set winrm/config/service/auth '@{Basic=\"true\"}'\nStart-Service WinRM\nset-service WinRM -StartupType Automatic\n"...
powershell
chosen
[ { "from": "human", "value": "Add a GetEmployeesPaged PowerShell sample\n" }, { "from": "gpt", "value": "Clear-Host\r\n\r\n$rootFolder = (Get-ChildItem -Path \".\")[0].Directory.Parent.FullName;\r\n$job = Start-Job -ArgumentList $rootFolder -ScriptBlock {\r\n\r\n param($sdkRoot)\r\n\r\n Add...
powershell
chosen
[ { "from": "human", "value": "Add a script to hook our post build steps\n" }, { "from": "gpt", "value": "<#\n.SYNOPSIS\nPerforms any post-build actions needed on the Roslyn build systems.\n\n.PARAMETER BinariesDirectory\nThe root directory where the build outputs are written: e:\\path\\to\\source...
powershell
chosen
[ { "from": "system", "value": "Fix path to IIS bin.\n" }, { "from": "human", "value": "param([string]$buildFolder)\r\n\r\n$outputPath = \"..\\output\";\r\n$sitePath = \"$($buildFolder)\\src\\WebSite\"\r\n$port = 58537\r\n$delay = 5000\r\n\r\nWrite-Host \"Running IIS Express from '$($sitePath)'.\"...
powershell
chosen
[ { "from": "system", "value": "Add test case for UseDeclaredVarsMoreThanAssignment\n" }, { "from": "human", "value": "Import-Module PSScriptAnalyzer\n$violationMessage = \"The variable 'declaredVar2' is assigned but never used.\"\n$violationName = \"PSUseDeclaredVarsMoreThanAssignments\"\n$direc...
powershell
chosen
[ { "from": "system", "value": "Add missing appveyor test update\n\nReports mstest results to appveyor\n" }, { "from": "human", "value": "param (\n\t[string]$configuration = \"Release\"\n)\n. \"$(resolve-path .\\packages\\nspec.*\\tools\\NSpecRunner.exe)\" --formatter=XmlFormatter Winston.Test\\bi...
powershell
chosen
[ { "from": "human", "value": "Add Script for checking long path lentgh\n" }, { "from": "gpt", "value": "# Verifies Length of file path for all files in the SourceDirectory.\n# Breaks if file path is 260 characters or more\nparam(\n [Parameter(Mandatory = $true)][string]$ServiceDirectory\n)\n$S...
powershell
chosen
[ { "from": "system", "value": "Add missing source base parameter\n" }, { "from": "human", "value": "$version=$(select-string -Path Dockerfile -Pattern \"ENV DOCKER_VERSION\").ToString().split()[-1]\ndocker tag docker-cli stefanscherer/docker-cli-windows:$version-1607\ndocker push stefanscherer/do...
powershell
chosen
[ { "from": "system", "value": "Update format, Add Error handling\n" }, { "from": "human", "value": "function Set-PowerShellWindowTitle\n{\n<#\n .SYNOPSIS\n Function to set the title of the PowerShell Window\n\n .DESCRIPTION\n Function to set the title of the PowerShell Window...
powershell
chosen
[ { "from": "human", "value": "Add Azure SQL IaC script'\n" }, { "from": "gpt", "value": "param($serverPrefix, $envName, $dbName, $resourceGroupName, $location = 'Brazil South' $adminUser, $adminPassword)\n\n# Get/create Server\n\n$creds = New-Object System.Management.Automation.PSCredential($admi...
powershell
chosen
[ { "from": "human", "value": "Add a script to fix browser project references after updating CEF\n" }, { "from": "gpt", "value": "$ErrorActionPreference = \"Stop\"\n\n$MainProj = \"..\\TweetDuck.csproj\"\n$BrowserProj = \"..\\subprocess\\TweetDuck.Browser.csproj\"\n\n$Match = Select-String -Path $...
powershell
chosen
[ { "from": "system", "value": "Put the main code into a main function.\n" }, { "from": "human", "value": "param\r\n(\r\n [string]$cloudbaseinitdir\r\n)\r\n\r\n$patch_code = @'\r\nfrom mock import patch\r\n\r\n\r\ndef custom_getattribute(self, attr):\r\n value = object.__getattribute__(self,...
powershell
chosen
[ { "from": "system", "value": "Change profile to Private to avoid infinite wait\n\nI've run into an infinite wait scenario when trying to build without the additional line added. While debugging I ran this script from an Administrator Powershell window and the error was always the same, the WinRM -quickconfi...
powershell
chosen
[ { "from": "system", "value": "Fix the issue of CR fot Get-Culture\n" }, { "from": "human", "value": "Describe \"Get-Culture DRT Unit Tests\" -Tags DRT{\n It \"Should works proper with get-culture\" {\n $results = get-Culture\n $results | Should Not BeNullOrEmpty \n $resul...
powershell
chosen
[ { "from": "system", "value": "Remove s from the function name\n" }, { "from": "human", "value": "function Remove-StringLatinCharacters\n{\n<#\n.SYNOPSIS\n Function to remove diacritics from a string\n.EXAMPLE\n Remove-StringLatinCharacters -String \"L'été de Raphaël\"\n\n L'ete de Raph...
powershell
chosen
[ { "from": "system", "value": "Add statements to debug hanging install script.\n" }, { "from": "human", "value": "#!/usr/bin/env powershell\n\n# Using relative paths works both on appveyor and in development workstations\ncd ..\n\n# ... update or clone the vcpkg package manager ...\nif (Test-Path...
powershell
chosen
[ { "from": "system", "value": "Enable standard checkpoint on VM for snapshot if disabled\n" }, { "from": "human", "value": "#Requires -Modules VagrantMessages\n\nparam(\n [Parameter(Mandatory=$true)]\n [string]$VmId,\n [string]$SnapName\n)\n\n$ErrorActionPreference = \"Stop\"\n\ntry {\n ...
powershell
chosen
[ { "from": "human", "value": "Add PackageManagement acceptance test cases\n" }, { "from": "gpt", "value": "#\n# Copyright (c) Microsoft Corporation. All rights reserved.\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with...
powershell
chosen
[ { "from": "system", "value": "Add argument completer for settings parameter\n" }, { "from": "human", "value": "#\n# Script module for module 'PSScriptAnalyzer'\n#\nSet-StrictMode -Version Latest\n\n# Set up some helper variables to make it easier to work with the module\n$PSModule = $ExecutionCo...
powershell
chosen
[ { "from": "system", "value": "Use Nuget.org API key from environment variable rather than committing to source control...\n" }, { "from": "human", "value": "[CmdletBinding(SupportsShouldProcess = $true)]\nparam()\n\nwrite-verbose \"Preparing to push packages...\"\n\n$scriptDir = $MyInvocation.My...
powershell
chosen
[ { "from": "system", "value": "[StandardPublishingCMS] Fix on Setup-Lists for PUB01. Pages library configurations was not applied on source web.\n" }, { "from": "human", "value": "# -----------------------------------------------------------------------\n# Copyright\t\t: GSoft @2014\n# Model \t...
powershell
chosen
[ { "from": "human", "value": "Connect to swarm manager in container\n" }, { "from": "gpt", "value": "$ip = $(docker inspect --format '{{ json .NetworkSettings.Networks.nat.IPAddress }}' swarm-master)\ndocker run -d -p 9000:9000 portainer/portainer:windows -H tcp://$($ip):2375 --swarm\n" } ]
powershell
chosen
[ { "from": "human", "value": "Add bash wrapper for PowerShell\n" }, { "from": "gpt", "value": "function _bashRun($cmdString) {\n $acceptableExitCode = 0\n # This is unfortunately necessary because there is an interfacing issue between the windows console, windows containers, and MSYS2\n ...
powershell
chosen
[ { "from": "system", "value": "Fix new-collector wmi members initialization\n" }, { "from": "human", "value": "Param(\n [Parameter(Mandatory=$true)]\n $Class,\n [Parameter(Mandatory=$false)]\n $CollectorName = ($Class -replace 'Win32_PerfRawData_Perf',''),\n [Parameter(Mandatory=$f...
powershell
chosen
[ { "from": "system", "value": "Use uppercase Name for getting vm name\n" }, { "from": "human", "value": "#Requires -Modules VagrantMessages\n\nparam(\n [Parameter(Mandatory=$true)]\n [string]$VmId\n)\n\ntry {\n $VM = Hyper-V\\Get-VM -Id $VmId\n $Disks = @(Hyper-V\\Get-VMHardDiskDrive ...
powershell
chosen
[ { "from": "system", "value": "Fix typo in property name\n" }, { "from": "human", "value": "$TestAdapter = [PSObject]@{\n Name = (Get-NetAdapter -Physical | Select-Object -First 1).Name\n PhysicalMediaType = '802.3'\n Status = 'Up'\n}\n\n\nconfig...
powershell
chosen
[ { "from": "human", "value": "Add template bootstrap script for windows\n" }, { "from": "gpt", "value": "#User variables\n$SystemPrepMasterScriptUrl = 'https://url/to/masterscript.ps1'\n$SystemPrepParams = @{\n Param1 = \"Value1\"\n Param2 = \"Value2\"\n Param3 = \"Value3\"\n Param4 =...
powershell
chosen
[ { "from": "system", "value": "Correct typo, $Enable instead of $enabled.\n" }, { "from": "human", "value": "#Requires -Modules VagrantVM, VagrantMessages\n\nparam (\n [parameter (Mandatory=$true)]\n [string] $VMID,\n [parameter (Mandatory=$true)]\n [string] $Name,\n [parameter (Ma...
powershell
chosen
[ { "from": "system", "value": "Add a vscode extension installation\n" }, { "from": "human", "value": "# Script to install extensions for Visual Studio Code\n\n\n# Install Language Extensions\n## golang\ncode --force --install-extension golang.go\n\n## Python\ncode --force --install-extension ms-p...
powershell
chosen
[ { "from": "human", "value": "Add script to clear Windows Explorer shell bags\n" }, { "from": "gpt", "value": "[CmdletBinding(SupportsShouldProcess)]\nParam()\n\n$RegPaths = @(\n 'HKCU:\\Software\\Microsoft\\Windows\\Shell',\n 'HKCU:\\Software\\Microsoft\\Windows\\ShellNoRoam',\n 'HKCU:\...
powershell
chosen
[ { "from": "system", "value": "Allow test on every system\n" }, { "from": "human", "value": "PowerShell -NoProfile -Command {\n $folder = 'C:\\sources\\serviceable-objects\\Examples\\TestHttpCompositionConsoleApp\\bin\\Debug\\netcoreapp1.0';\n Set-Location -Path $folder;\n Import-Module...
powershell
chosen
[ { "from": "system", "value": "Add Get-FileHash function as alias\n" }, { "from": "human", "value": "sv DESKTOP (Join-Path $HOME Desktop) -Option ReadOnly, AllScope\nsv DOWNLOADS (Join-Path $HOME Downloads) -Option ReadOnly, AllScope\nsv PROFILEDIR (Split-Path $PROFILE) -Option ReadOnly, AllScope...
powershell
chosen
[ { "from": "system", "value": "Fix PowerShell version of extractor pack script\n" }, { "from": "human", "value": "cargo build --release\n\ncargo run --release -p ruby-generator -- --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql/ruby/ast/internal/TreeSitter.qll\ncodeql query format -i ql\\...
powershell
chosen
[ { "from": "system", "value": "Fix reference to error record\n" }, { "from": "human", "value": "function FormatErrorMessage\n{\n [CmdletBinding()]\n param(\n [Parameter(ValueFromPipeline=$true)]\n $ErrorRecord = $Error[0]\n )\n\n $currentConfig = GetCurrentConfigurationO...
powershell
chosen
[ { "from": "system", "value": "Use correct URL for downloading wincdemu\n" }, { "from": "human", "value": "$tools=\"$(Split-Path -parent $MyInvocation.MyCommand.Definition)\"\nStart-ChocolateyProcessAsAdmin \"certutil -addstore 'TrustedPublisher' '$tools\\sysprogs.cer'\"\n\n$packageName = '{{Pac...
powershell
chosen
[ { "from": "system", "value": "Update project versioning PS script\n" }, { "from": "human", "value": "# This PowerShel script appends AppVeyor build number to the package version.\n\n$projects = Get-ChildItem .\\src | ?{$_.PsIsContainer}\n\nforeach($project in $projects) {\n cd src/$project\n ...
powershell
chosen
[ { "from": "human", "value": "Add a PowerShell script to launch soyweb locally\n\nSummary:\nThis is nearly the same as `docs/soyweb-local.sh`, but works on Windows.\n\nI never thought I'd have to look at the binary encoding of a JSON file,\nbut for this diff I had to to figure out that soyweb can't processes...
powershell
chosen
[ { "from": "system", "value": "Fix handling around empty PublicAPI.txt files\n" }, { "from": "human", "value": "[CmdletBinding(PositionalBinding=$false)]\nparam ()\n\nSet-StrictMode -version 2.0\n$ErrorActionPreference = \"Stop\"\n\nfunction MarkShipped([string]$dir) {\n $shippedFilePath = Joi...
powershell
chosen
[ { "from": "human", "value": "Add pre-build script to install KRE and KPM\n" }, { "from": "gpt", "value": "$kpmPath = Join-Path \"$env:USERPROFILE\" \".kpm\"\n$krePath = Join-Path \"$env:USERPROFILE\" \".kre\"\n\n$isKPMExist = Test-Path $kpmPath -PathType Container\n$isKREExist = Test-Path $kreP...
powershell
chosen
[ { "from": "system", "value": "Implement uploading zip pkg to azure storage using PS.\n" }, { "from": "human", "value": "function Upload-ChefPkgToAzure($publishSettingsFile, $storageAccount, $storageContainer) {\n trap [Exception] {echo $_.Exception.Message;exit 1}\n\n write-host \"Upload-ChefP...
powershell
chosen
[ { "from": "system", "value": "Allow for all acceptable exit codes\n" }, { "from": "human", "value": "$env:PATH +=\";$env:SystemDrive\\ProgramData\\chocolatey\\bin\"\r\n\r\n[[Command]]\r\n\r\nif ($LASTEXITCODE -ne 0) {\r\n\texit 1\r\n}\r\n" }, { "from": "gpt", "value": "$env:PATH +=\"...
powershell
chosen
[ { "from": "system", "value": "Clean up temporary emu files\n" }, { "from": "human", "value": "param(\n\t[string]$emulatorName = \"AndroidBuildEmulator\" # Name of emulator\n)\n\nWrite-Verbose \"Entering script KillAndroidEmulator.ps1\"\nWrite-Verbose \"emulatorName = $emulatorName\"\n\n$adbexe =...
powershell
chosen
[ { "from": "human", "value": "Add click to build powershell script\n" }, { "from": "gpt", "value": "$currentPath = Split-Path $MyInvocation.MyCommand.Path\n$msbuildFile = Join-Path $currentPath src\\VersionTasks.msbuild\n\n& \"$(get-content env:windir)\\Microsoft.NET\\Framework\\v4.0.30319\\MSBui...
powershell
chosen
[ { "from": "human", "value": "Add unit test for change\n" }, { "from": "gpt", "value": "<# \n.summary\n Test suite for MSFT_xPackageResource.psm1\n#>\n[CmdletBinding()]\nparam()\n\nImport-Module $PSScriptRoot\\..\\DSCResources\\MSFT_xPackageResource\\MSFT_xPackageResource.psm1\n\n$ErrorActionP...
powershell
chosen
[ { "from": "system", "value": "Add support for PowerShell v4 and lower in hashtable parsing\n\nSafeGetValue doesn't exist in lower versions of PowerShell which is\ncausing exceptions when trying to run the HelperModule.\n" }, { "from": "human", "value": "function Get-HashtableFromString\n{\n p...
powershell
chosen
[ { "from": "human", "value": "Add powershell module that was being ignored by git (oops)\n" }, { "from": "gpt", "value": "function Get-Version\n{\n\tparam\n\t(\n\t\t[string]$assemblyInfoFilePath\n\t)\n\tWrite-Host \"path $assemblyInfoFilePath\"\n\t$pattern = '(?<=^\\[assembly\\: AssemblyVersion\\...
powershell
chosen
[ { "from": "system", "value": "Use native powershell for unzipping\n" }, { "from": "human", "value": "Write-Host \"Installing chocolatey\"\nSet-ExecutionPolicy Unrestricted\niex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))\n\n((New-Object System.Net.Web...
powershell
chosen
[ { "from": "system", "value": "Remove a cmdlet from beta cmdlet\n" }, { "from": "human", "value": "# List of beta cmdlets.\n$cmdletsToBeExported = @(\"Get-GcsBucket\")\n$cmdletsToBeExported\n" }, { "from": "gpt", "value": "# List of beta cmdlets.\n$cmdletsToBeExported = @(\"\")\n$cmdl...
powershell
chosen
[ { "from": "system", "value": "Fix the windows installer script\n" }, { "from": "human", "value": "$ErrorActionPreference = \"Stop\"\n\nIf ($Args.Count -ne 2) {\n echo \"Usage:\"\n echo $Args[0] + \" <BOOTSTRAP TARBALL VERSION>\"\n echo \"Bootstrap tarball version will be compiled into Install...
powershell
chosen
[ { "from": "human", "value": "Add uninstall script for mp3tag\n" }, { "from": "gpt", "value": "$uninstString = (Get-ChildItem -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall',\r\n 'HKLM:\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall' |\r\n Get-I...
powershell
chosen