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: Adding a User to Local Groups

Adding User(s) to Local Groups # addUserToLocalGroup.ps1 # Version 0.02 $computernames=@( 'SERVER0001', 'SERVER0002' ) $accountsToAdd='domain\user1','domain\user2'…

PowerShell: Convert Array to Hash and back to Array

# convert 2D Array to Hash Table while removing any duplicate keys function arrayToHash($arr){ $hash…

Setup LAMP using RedHat 7

// Add a new user and set it with root privileges: sudo su useradd {root-user}…
Other project: DragonCoin.com