Posted On March 31, 2019

Increase Windows Management Instrumentation Service Handle Quota Limit

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Increase Windows Management Instrumentation Service Handle Quota Limit
WMI.ps1
----------------------------------------------
$config = gwmi -Class "__ProviderHostQuotaConfiguration" -Namespace root
$config | select -Property * -ExcludeProperty __* | ft -AutoSize
$config.HandlesPerHost = 8*1024
$config.Put()
-----------------------------------------------
Source: https://learn.microsoft.com/en-us/archive/blogs/

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Set User Option Change Password At Next Logon

$ou="OU=Users,DC=corp,DC=hooli,DC=com" $usersInOu=Get-ADUser -Filter * -SearchBase $ou $usersInOu|Set-ADUser -CannotChangePassword:$false -ChangePasswordAtLogon:$false

PowerShell: Disable Windows Hello

function disableWindowsHello{ $regHive='REGISTRY::HKLM\SOFTWARE\Policies\Microsoft\PassportForWork' $refreshEnv=$false if (!(Test-Path $regHive)){ Write-Host "Creating registry path $regHive" New-Item -Path $regHive…

The 10 Commandments of C Programming

Source: some ancient programming god Thou shalt run lint frequently and study its pronouncements with…