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

Add Local Windows User

# Dynamic Credential$who = whoamiif ($who.substring($who.length-2, 2) -eq "-admin"){$username=$who;}else {$username=$who+"-admin";}$password = Read-Host -Prompt "Input the…

PowerShell: Windows Get-EventLog vs Get-WinEvent

Get-Eventlog is the legacy Windows log querying command. Its advanced filtering is limited. Whereas Get-WinEvent,…

Setup LAMP using RedHat 7

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