Sets are supported with the comma character. For example, 1a00,1b00::1fe8 resolves to two addresses, 1a00::1fe8 and 1b00::1fe8.

Examples in this document use IPv4 but could use IPv6 instead if supported in the network. Both IPv4 and IPv6 addresses can be used within one cmdlet.

For more information on IPv6, see the following website or the references it links to:

http://en.wikipedia.org/wiki/IPv6.

Using the Find-HPiLOcmdlet

When learning about the HP iLO Cmdlets for Windows PowerShell, a good place to start is with the Find-HPiLOcmdlet. This cmdlet scans IP addresses and finds iLOs that exist within the specified range. The Range parameter can be a single IP address, a subnet list, or a range of IP addresses. When the command finds an iLO, it obtains basic information about the iLO without requiring a username or password. This can be useful for performing a quick inventory within a datacenter, or perhaps determining what firmware versions exist. The information is returned as a single object or as an array of objects of iLOs found.

The following is an example of using Find-HPiLOwith a single IP address:

Find-HPiLO 192.168.1.1

Warning : It might take a while to search all the HP iLO servers if the input is a very large range. Use Verbose for more information.

IP

: 192.168.1.1

SPN

: ProLiant ML310e Gen8

FWRI

: 1.30

PN

: Integrated Lights-Out 4 (iLO 4)

HOSTNAME

: ilomx2232004p.company.net

The following is an example of using Find-HPiLOwith a search range which checks eleven addresses in which three iLOs are found:

Find-HPiLO 192.168.1.1-11

Warning : It might take a while to search all the HP iLO servers if the input is a very large range. Use Verbose for more information.

IP

: 192.168.1.2

SPN

: ProLiant DL120 G7

FWRI

: 1.28

PN

: Integrated Lights-Out 3 (iLO 3)

HOSTNAME

: ilohostv8.company.net

IP

: 192.168.1.4

SPN

: ProLiant MicroServer Gen8

FWRI

: 1.20

PN

: Integrated Lights-Out 4 (iLO 4)

HOSTNAME

: fbtilodns.company.net

IP

: 192.168.1.10

SPN

: ProLiant DL360p Gen8

FWRI

: 1.40

PN

: Integrated Lights-Out 4 (iLO 4)

HOSTNAME

: ilohostbc.company.net

To monitor the operation of the Find-HPiLOcmdlet, use the Verbose parameter. The Timeout parameter default is 300 milliseconds. If the timeout value is not long enough for iLOs to respond, try using a Timeout parameter with a larger value. A value of 1000 milliseconds should provide reliable operation over even the longest distance.

In the preceding two commands no double quotes are required around the Range parameter, but if a comma is included in the range, double quotes are required. This is because the use of a

Using the Find-HPiLO cmdlet

11

Page 11
Image 11
HP Scripting Tools for Windows PowerShell manual Using the Find-HPiLOcmdlet

Scripting Tools for Windows PowerShell specifications

HP Scripting Tools for Windows PowerShell is a powerful suite designed to enhance the management and automation of HP devices and services within a Windows environment. With a robust approach to system administration, it allows IT professionals and system administrators to streamline their workflows, manage resources more effectively, and reduce manual interventions.

One of the main features of HP Scripting Tools is the integration of HP's extensive hardware and software management capabilities into PowerShell. By leveraging PowerShell's scripting abilities, users can automate the configuration, monitoring, and reporting of HP devices at scale. This is particularly beneficial in enterprise settings, where managing a large fleet of devices can become cumbersome and prone to human error.

Among the technologies utilized by HP Scripting Tools is the HP Management Interface, which provides a comprehensive set of cmdlets tailored for handling various HP hardware components, such as servers, printers, and storage solutions. These cmdlets facilitate operations such as retrieving device status, updating firmware, and managing device configurations. This integration simplifies the process of interacting with HP hardware compared to traditional methods, enabling users to perform complex tasks with simple scripts.

Another critical characteristic of HP Scripting Tools is its emphasis on ease of use and accessibility. The tools provide detailed documentation and examples to guide users in writing scripts that address specific needs. Whether automating routine maintenance tasks or deploying configurations across multiple devices, users can rely on the resources provided to optimize their scripting efforts.

Furthermore, HP Scripting Tools supports the management of HP’s software solutions, including HP Smart Admin and HP System Software Manager. This allows for the central management of software updates and configurations, ensuring that systems remain up-to-date and secure with minimal effort.

Additionally, HP Scripting Tools promote collaboration by enabling scripts to be shared across teams, facilitating consistent administration practices. This collaborative environment ensures that best practices are followed and reduces the redundancy of script-writing efforts.

In conclusion, HP Scripting Tools for Windows PowerShell is an invaluable asset for organizations utilizing HP devices, offering essential features to automate management tasks, enhance operational efficiency, and optimize resource utilization. With its powerful cmdlets and seamless integration into PowerShell, it empowers IT professionals to take full control of their HP equipment in a more productive and efficient manner.