Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Invoke-WmiMethod

Invoke-WmiMethod - 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 »

Invoke-WmiMethod

Short description
Calls Windows Management Instrumentation (WMI) methods.

Syntax
Invoke-WmiMethod [-Class] <String> [-Name] <String> [[-ArgumentList] <Object[]>] [-AsJob] [-Authentication <Authenticat
ionLevel>] [-Authority <String>] [-ComputerName <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Imper
sonation <ImpersonationLevel>] [-Locale <String>] [-Namespace <String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [
<CommonParameters>]
Invoke-WmiMethod [-Name] <String> [-ArgumentList <Object[]>] [-AsJob] [-ThrottleLimit <Int32>] -InputObject <Management
Object> [-Confirm] [-WhatIf] [<CommonParameters>]
Invoke-WmiMethod [-Name] <String> [-ArgumentList <Object[]>] [-AsJob] [-Authentication <AuthenticationLevel>] [-Authori
ty <String>] [-ComputerName <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <Impersonat
ionLevel>] [-Locale <String>] [-Namespace <String>] [-ThrottleLimit <Int32>] -Path <String> [-Confirm] [-WhatIf] [<Comm
onParameters>]
Invoke-WmiMethod [-Name] <String> [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName
 <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String
>] [-Namespace <String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Invoke-WmiMethod [-Name] <String> [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName
 <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String
>] [-Namespace <String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Invoke-WmiMethod [-Name] <String> [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName
 <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String
>] [-Namespace <String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]





Description
The Invoke-WmiMethod cmdlet calls the methods of WMI objects.


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 Invoke-
WmiMethod, consider using Invoke-CimMethod.