Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Set-WmiInstance

Set-WmiInstance - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Set-WmiInstance

Short description
Creates or updates an instance of an existing Windows Management Instrumentation (WMI) class.

Syntax
Set-WmiInstance [-Class] <String> [[-Arguments] <Hashtable>] [-AsJob] [-Authentication <AuthenticationLevel>] [-Authori
ty <String>] [-ComputerName <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <Impersonat
ionLevel>] [-Locale <String>] [-Namespace <String>] [-PutType <PutType>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] 
[<CommonParameters>]
Set-WmiInstance [-Arguments <Hashtable>] [-AsJob] [-PutType <PutType>] [-ThrottleLimit <Int32>] -InputObject <Managemen
tObject> [-Confirm] [-WhatIf] [<CommonParameters>]
Set-WmiInstance [-Arguments <Hashtable>] [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-Compu
terName <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale 
<String>] [-Namespace <String>] [-PutType <PutType>] [-ThrottleLimit <Int32>] -Path <String> [-Confirm] [-WhatIf] [<Com
monParameters>]
Set-WmiInstance [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName <String[]>] [-Cre
dential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String>] [-Namespace <St
ring>] [-PutType <PutType>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-WmiInstance [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName <String[]>] [-Cre
dential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String>] [-Namespace <St
ring>] [-PutType <PutType>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-WmiInstance [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName <String[]>] [-Cre
dential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String>] [-Namespace <St
ring>] [-PutType <PutType>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]





Description
The Set-WmiInstance cmdlet creates or updates an instance of an existing WMI class. The created or updated instance is 
written to the WMI repository.


New CIM cmdlets, introduced Windows PowerShell 3.0, perform the same tasks as the WMI cmdlets. The CIM cmdlets comply w
ith WS-Management (WSMan) standards and with the Common Information Model (CIM) standard, which enables the cmdlets to 
use the same techniques to manage Windows computers and those running other operating systems. Instead of using Set-Wmi
Instance, consider using the Set-CimInstance or New-CimInstance cmdlets.