大网数据广告活动
网络与域名解析

MSFT_NetFirewallHyperVVMCreator class

· 52CE 我爱测

Represents a particular Windows Defender Firewall Hyper-V VM Creator.

Represents a particular Windows Defender Firewall Hyper-V VM Creator.

For more info, see the Powershell documentation Get-NetFirewallHyperVVMCreator.

The following syntax is simplified from Managed Object Format (MOF) code, and includes all of the inherited properties.

Syntax

class MSFT_NetFirewallHyperVVMCreator : CIM_ManagedElement
{
  string VMCreatorId;
  string FriendlyName;
  uint32 RegisterHyperVVMCreator
  (
    string VMCreatorId, 
    string FriendlyName
  ); 
  uint32 UnregisterHyperVVMCreator
  (
    string VMCreatorId
  );
  string InstanceID;
  string Caption;
  string Description;
  string ElementName;
};

Members

The MSFT_NetFirewallHyperVVMCreator class has these types of members:

Methods

The MSFT_NetFirewallHyperVVMCreator class has these methods.

Method Description
RegisterHyperVVMCreator Registers a Hyper-V VM Creator with the firewall service.
UnregisterHyperVVMCreator Unregisters a Hyper-V VM Creator with the firewall service.

Properties

The MSFT_NetFirewallHyperVVMCreator class has these properties.

VMCreatorId

Data type: string

Access type: Read/write

A GUID in string format that serves as the unique identifier for this VM Creator. This value will be used across Hyper-V firewall policy objects to scope their enforcement to Hyper-V ports created by this VM Creator.

FriendlyName

Data type: string

Access type: Read/write

The friendly name of this VM Creator.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key, Override

Reserved for internal use by the WMI provider only.

Caption

Data type: string

Access type: Read-only

Qualifiers: Override

Used in CimInstance.ToString(). A short string for describing this instance when debugging.

Description

Data type: string

Access type: Read-only

Qualifiers: Override

This field is ignored.

ElementName

Data type: string

Access type: Read-only

Qualifiers: Override

This field is ignored.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Namespace Root\StandardCimv2
MOF WFasCim.mof
DLL WFasCim.dll

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/17/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。