Section courante

A propos

Section administrative du site

Invoke-CimMethod

Invoquer une méthode CIM
PowerShell

Syntaxe

Invoke-CimMethod [-ClassName] String [-ComputerName String[]] [[-Arguments] IDictionary] [-MethodName] String [-Namespace String] [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod [-ClassName] String -CimSession CimSession[] [[-Arguments] IDictionary] [-MethodName] String [-Namespace String] [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod -ResourceUri Uri [-ComputerName String[]] [[-Arguments] IDictionary] [-MethodName] String [-Namespace String] [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod [-ResourceUri Uri] [-InputObject] CimInstance -CimSession CimSession[] [[-Arguments] IDictionary] [-MethodName] String [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod [-ResourceUri Uri] [-InputObject] CimInstance [-ComputerName String[]] [[-Arguments] IDictionary] [-MethodName] String [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod -ResourceUri Uri -CimSession CimSession[] [[-Arguments] IDictionary] [-MethodName] String [-Namespace String] [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod [-CimClass] CimClass [-ComputerName String[]] [[-Arguments] IDictionary] [-MethodName] String [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod [-CimClass] CimClass -CimSession CimSession[] [[-Arguments] IDictionary] [-MethodName] String [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod -Query String [-QueryDialect String] [-ComputerName String[]] [[-Arguments] IDictionary] [-MethodName] String [-Namespace String] [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]
Invoke-CimMethod -Query String [-QueryDialect String] -CimSession CimSession[] [[-Arguments] IDictionary] [-MethodName] String [-Namespace String] [-OperationTimeoutSec UInt32] [-WhatIf] [-Confirm] [CommonParameters]

Description

Cette commande permet d'appeler une méthode d'une classe CIM.



Dernière mise à jour : Jeudi, le 14 Janvier 2021