< Back

Get-iBMCServices

Tue Jan 14, 2020 2:55 am

NAME Get-iBMCServices



SYNOPSIS

Query information about the services and ports supported by the iBMC.





SYNTAX

Get-iBMCServices [-Session] <RedfishSession[]> [<CommonParameters>]





DESCRIPTION

Query information about the services and ports supported by the iBMC.

Support Services:

"HTTP", "HTTPS", "SNMP", "VirtualMedia",

"IPMI", "SSH", "KVMIP", "VNC", "Video", "NAT", "SSDP"





PARAMETERS

-Session <RedfishSession[]>

iBMC redfish session object which is created by Connect-iBMC cmdlet.

A session object identifies an iBMC server to which this cmdlet will be executed.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

PSObject[]

Returns PSObject which contains all support services infomation if cmdlet executes successfully.

In case of an error or warning, exception will be returned.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$credential = Get-Credential



PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert

PS C:\\> $Services = Get-iBMCServices $session

PS C:\\> $Services



Host : 10.1.1.2

HTTP : @{ProtocolEnabled=True; Port=80}

HTTPS : @{ProtocolEnabled=True; Port=443}

SNMP : @{ProtocolEnabled=True; Port=161}

VirtualMedia : @{ProtocolEnabled=True; Port=8208}

IPMI : @{ProtocolEnabled=True; Port=623}

SSH : @{ProtocolEnabled=True; Port=22}

KVMIP : @{ProtocolEnabled=True; Port=2198}

SSDP : @{ProtocolEnabled=False; Port=1900; NotifyMulticastIntervalSeconds=600; NotifyTTL=2;

NotifyIPv6Scope=Site}

VNC : @{ProtocolEnabled=False; Port=5900}

Video : @{ProtocolEnabled=True; Port=2199}

NAT :











RELATED LINKS

https://github.com/Huawei/Huawei-iBMC-Cmdlets



Set-iBMCService

Connect-iBMC

Disconnect-iBMC