PowerShell Invoke-CimMethod-Query<String> [-QueryDialect <String>]-CimSession<CimSession[]> [[-Arguments] <IDictionary>] [-MethodName] <String> [-Namespace <String>] [-OperationTimeoutSec <UInt32>] [-WhatIf] [-Confirm] [<CommonParameters>] ...
PowerShell Copia Invoke-IpamServerProvisioning [-WidSchemaPath <String>] [-ProvisioningMethod <ProvisioningMethod>] [-GpoPrefix <String>] [-Force] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]...
false-CimSession<CimSession[]>Runs the command using the specified CIM session. Enter a variable that contains the CIM session, or a command that creates or gets the CIM session, such as the New-CimSession or Get-CimSession cmdlets. For more information, see about_CimSessions.展开...
PowerShell PS C:\>$c=Get-CimClass–ClassName Win32_Process PowerShell PS C:\>Invoke-CimMethod-CimClass$c-MethodName"xyz"–Arguments @{ CommandLine = ꞌnotepad.exeꞌ } Verwandte Themen Get-CimClass Get-CimInstance Get-CimSession
PowerShell Kopie Invoke-DnsServerZoneSign [-ZoneName] <String> [-SignWithDefault] [-DoResign] [-ComputerName <String>] [-Force] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]...
PowerShell Copy Get-CimInstance -ClassName Win32_Process -Filter "Name='notepad.exe'" | Invoke-CimMethod -MethodName Terminate If you use the -ComputerName or -CIMSession parameters with the Get-CimInstance cmdlet and pipe the resulting object to the Invoke-CimMethod cmdlet, th...
This command signs the contoso zone using new KSK and ZSK keys and default DNSSEC settings.PowerShell 複製 PS C:\> Invoke-DnsServerZoneSign -ZoneName "contoso.com" -SignWithDefault -PassThru -Verbose Example 2: Re-sign a zoneThis command signs the contoso.com zone again....
PowerShellCopy Invoke-DnsServerZoneSign[-ZoneName] <String> [-SignWithDefault] [-DoResign] [-ComputerName <String>] [-Force] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>] ...
PowerShell复制 Invoke-DnsServerZoneSign[-ZoneName] <String> [-SignWithDefault] [-DoResign] [-ComputerName <String>] [-Force] [-PassThru] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>] ...
PowerShell PS C:\>Invoke-DnsServerZoneSign-ZoneName"contoso.com"-SignWithDefault-PassThru-Verbose This command signs the contoso zone using new KSK and ZSK keys and default DNSSEC settings. Example 2: Re-sign a zone PowerShell PS C:\>Invoke-DnsServerZoneSign"contoso.com"-DoResign-PassThru...