PS C:\scripts> .\get-hypervhostinventory.ps1 ### Hyper-V Host Summary ### ComputerName : NODE01 OperatingSystem : Microsoft Windows Server 2025 Datacenter OSBuild : 26100.33438 CollectedAt : 2026年9月25日 11:03:52 Manufacturer : Microsoft Corporation Model : Virtual Machine Processor : Intel(R) Xeon(R) E-2374G CPU @ 3.70GHz PhysicalProcessors : 1 LogicalProcessors : 4 NUMANodes : 1 MemoryGB : 10 BIOSVersion : Hyper-V UEFI Release v4.1 ClusterName : mycluster HyperVServices : 4 RunningServices : 4 VMCount : 2 RunningVMs : 1 StoppedVMs : 1 HAVMs : 2 NetAdapters : 2 UpNetAdapters : 2 ManagementOSNICs : 0 VMSwitches : 1 Volumes : 7 ### WindowsFeatures (Get-WindowsFeature) ### Display Name Name Install State ------------ ---- ------------- [X] Hyper-V Hyper-V Installed [X] ファイル サービスと記憶域サービス FileAndStorage-Services Installed [X] 記憶域サービス Storage-Services Installed [X] .NET Framework 4.8 Features NET-Framework-45-Features Installed [X] .NET Framework 4.8 NET-Framework-45-Core Installed [X] WCF サービス NET-WCF-Services45 Installed [X] TCP ポート共有 NET-WCF-TCP-PortSharing45 Installed [X] Microsoft Defender ウイルス対策 Windows-Defender Installed [X] Telnet Client Telnet-Client Installed [X] Windows PowerShell PowerShellRoot Installed [X] Windows PowerShell 5.1 PowerShell Installed [X] Wireless LAN Service Wireless-Networking Installed [X] WoW64 サポート WoW64-Support Installed [X] XPS Viewer XPS-Viewer Installed [X] システム データ アーカイバー System-DataArchiver Installed [X] タ啓蕁タWindows Admin Center Setup WindowsAdminCenterSetup Installed [X] フェールオーバー クラスタリング Failover-Clustering Installed [X] リモート サーバー管理ツール RSAT Installed [X] 機能管理ツール RSAT-Feature-Tools Installed [X] フェールオーバー クラスタリング ツール RSAT-Clustering Installed [X] Windows PowerShell 用のフェールオーバー クラスター モジュール RSAT-Clustering-PowerShell Installed [X] フェールオーバー クラスター管理ツール RSAT-Clustering-Mgmt Installed [X] 役割管理ツール RSAT-Role-Tools Installed [X] Hyper-V 管理ツール RSAT-Hyper-V-Tools Installed [X] Hyper-V GUI 管理ツール Hyper-V-Tools Installed [X] Windows PowerShell 用 Hyper-V モジュール Hyper-V-PowerShell Installed ### Services (Get-Service) ### Name Status StartType ---- ------ --------- clussvc Running Automatic hvhost Running Manual vmcompute Running Manual vmms Running Automatic === VMHost (Get-VMHost) === LogicalProcessorCount : 4 NumaSpanningEnabled : True MemoryCapacity : 10736304128 VirtualMachineMigrationEnabled : True VirtualHardDiskPath : C:\ProgramData\Microsoft\Windows\Virtual Hard Disks VirtualMachinePath : C:\ProgramData\Microsoft\Windows\Hyper-V ### Virtual Machines (Get-VM) ### Name State Generation ProcessorCount HA ---- ----- ---------- -------------- -- vm01 Running 1 2 True vm02 Off 1 2 True === VMReplicationServer (Get-VMReplicationServer) === === VMReplication (Get-VMReplication) === ### Network ### === NetAdapters (Get-NetAdapter) === Name Status LinkSpeed ---- ------ --------- イーサネット Up 10 Gbps イーサネット 2 Up 10 Gbps === VMSwitches (Get-VMSwitch) === Name SwitchType AllowManagementOS EmbeddedTeamingEnabled AllowNetLbfoTeams ---- ---------- ----------------- ---------------------- ----------------- vmSwitch External False False False === IPAddresses (Get-NetIPConfiguration) === IfAlias IfIndex MacAddress IPv4Address ------- ------- ---------- ----------- イーサネット 2 6 00-15-5D-21-DD-F2 192.168.0.201/24, 192.168.0.200/24 ### Storage ### === Volumes (Get-Volume) === DriveLetter FileSystemLabel SizeGB FreeGB ----------- --------------- ------ ------ C 125.9 105.9 0.2 0.2 D 0 0 0.9 0.1 CSVVOL 499.9 477.3 E DATA 64 62.1 ClusterPerformanceHistory 20 18.6 === PhysicalDisks (Get-PhysicalDisk) === Number FriendlyName SerialNumber MediaType CanPool OperationalStatus HealthStatus Usage Size ------ ------------ ------------ --------- ------- ----------------- ------------ ----- ---- 0 Msft Virtual Disk Unspecified False OK Healthy Auto-Select 127 GB 6 Msft Virtual Disk Unspecified False OK Healthy Auto-Select 64 GB 2002 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 2001 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 2005 Msft Virtual Disk Unspecified False OK Healthy Hot Spare 256 GB 2004 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1004 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1005 Msft Virtual Disk Unspecified False OK Healthy Hot Spare 256 GB 1003 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1001 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1002 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 2003 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB === ClusterSharedVolumes (Get-ClusterSharedVolume) === Name OwnerNode State Path ---- --------- ----- ---- クラスター仮想ディスク (vDiskonS2D) node01 Online C:\ClusterStorage\vDiskonS2D === S2D.StoragePools (Get-StoragePool) === FriendlyName OperationalStatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize ------------ ----------------- ------------ ------------ ---------- ---- ------------- S2D on mycluster OK Healthy False False 2.49 TB 1.03 TB === S2D.PhysicalDisks (Get-PhysicalDisk) === Number FriendlyName SerialNumber MediaType CanPool OperationalStatus HealthStatus Usage Size ------ ------------ ------------ --------- ------- ----------------- ------------ ----- ---- 2002 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 2001 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 2005 Msft Virtual Disk Unspecified False OK Healthy Hot Spare 256 GB 2004 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1004 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1005 Msft Virtual Disk Unspecified False OK Healthy Hot Spare 256 GB 1003 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1001 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 1002 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB 2003 Msft Virtual Disk HDD False OK Healthy Auto-Select 256 GB === S2D.VirtualDisks (Get-VirtualDisk) === FriendlyName ResiliencySettingName FaultDomainRedundancy OperationalStatus HealthStatus Size F o o t p r i n t O n P o o l ------------ --------------------- --------------------- ----------------- ------------ ---- - ClusterPerformanceHistory Mirror 1 OK Healthy 24 GB B vDiskonS2D OK Healthy 500 GB B ### EventLog (Get-WinEvent, Critical/Error in the past 24h) ### === Microsoft-Windows-FailoverClustering-Clusport/Operational === TimeCreated Id LevelDisplayName Message ----------- -- ---------------- ------- 2026/09/25 10:23:31 5120 エラー Device Remove - Obj 0xffffb002b894b010 Device# 503 Protected true Manufacturer: Msft Model Number: Virtual Disk Serial Number: NULL Revision Level: 1.0 DeviceGuid: {f19d877f-b502-f76a-5fb8-55da320c0064} 2026/09/25 10:23:31 5120 エラー Device Remove - Obj 0xffffb002b8942a70 Device# 505 Protected true Manufacturer: Msft Model Number: Virtual Disk Serial Number: NULL Revision Level: 1.0 DeviceGuid: {5d544d78-2d7e-503f-f091-a1907aef3ec3} (中略) === Application === TimeCreated Id LevelDisplayName Message ----------- -- ---------------- ------- 2026/09/25 11:03:43 454 エラー rhs (5948,R,98,0) 予期しないエラー -501 が発生したため、データベー スの回復または復元に失敗しました。 (中略) === System === TimeCreated Id LevelDisplayName Message ----------- -- ---------------- ------- 2026/09/25 10:53:36 1196 エラー クラスター ネットワーク名リソース 'クラスター名' は、1 つ以上の関連 付けられた DNS 名の登録に失敗しました。理由は次のとおりです: DNS サーバーにエラーが発生しました。 。 依存する IP アドレス リソースに関連付けられたネットワーク アダプタ ーが、少なくとも 1 つの DNS サーバーにアクセスできるように構成され ていることを確認してください。 (中略) Output to: .\HyperVHost-Inventory-NODE01-20260925-110356.xml PS C:\scripts>