Get-SmHost
Contributors
Suggest changes
Gets information about one or more hosts.
Syntax
Get-SmHost [-HostNames] <String> [-IncludePluginInfo] <Boolean> [-IncludeVerificationServerInfo] <Boolean> [-OsType] <SmOperatingSystemType> [-PluginCode] <PluginCode>
Detailed Description
Gets information about one or more hosts. The information includes the host status and plug-ins on the hosts.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
HostNames |
false |
true (ByPropertyName) |
||
IncludePluginInfo |
false |
true (ByPropertyName) |
||
IncludeVerificationServerInfo |
false |
true (ByPropertyName) |
||
OsType |
Specifies the type of operating system running on the host. Valid values are AIX, Windows, Linux, and vSphere. |
false |
true (ByPropertyName) |
|
PluginCode |
false |
true (ByPropertyName) |
Examples
Example 1: Get a SnapCenter registered AIX host
Get-SmHost -HostNames aix207-193.gdl.englab.netapp.com
This example syntax gets the registered AIX host.
OsInfo : SMCoreContracts.SmOperatingSystemInfo HostName : aix207-193.gdl.englab.netapp.com IP : 10.10.207.193 Description: HostId : 63 DomainName : gdl.englab.netapp.com Version: Port : 8145 ClusterHost: False ClusterName: Members: {} HostStatus : eHostUp HostPluginInfos: {} ColoHost : False HostConfiguration : DiscoverPlugin : False HostUUID : HostBIOSID : HostMaintenanceStatus : Production IsNLBEnabled : False VerificationServers: HypervisorType : IsHypervisorConfigured : False Preference : 0 OverallStatus : SMCoreContracts.SmHostOverallStatusInfo IsCatalogHost : False Name : Type : Id : Host : gdl.englab.netapp.com UserName : Passphrase : Deleted: False Auth : SMCoreContracts.SmAuth IsClone: False CloneLevel : 0 Hosts : StorageName: ResourceGroupNames : PolicyNames: Key: 0 NsmObjectID: 0 SizeOfSmObject :