Exhibit 23
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the following Registration Statements:
(1)Registration Statement (Form S-8 No. 333-124281) pertaining to the Executive Deferred Compensation Plan,
(2)Registration Statement (Form S-8 No. 333-114253) pertaining to the 2004 Stock Incentive Plan,
(3)Registration Statement (Form S-8 No. 333-124282) pertaining to the 2005 Executive Deferred Compensation Plan,
(4)Registration Statement (Form S-8 No. 002-92331) pertaining to the Hewlett-Packard Company 401(k) Plan,
(5)Registration Statement (Form S-8 No. 033-31496) pertaining to the Employee Stock Purchase Plan and Service Anniversary Stock Plan,
(6)Registration Statement (Form S-8 No. 333-142175) pertaining to the PolyServe, Inc. 2000 Stock Plan,
(7)Registration Statement (Form S-8 No. 333-153302) pertaining to the Amended and Restated 2003 Incentive Plan of Electronic Data Systems Corporation and the 1997 Nonqualified Stock Option Plan of Electronic Data Systems Corporation,
(8)Registration Statement (Form S-8 No. 333-166270) pertaining to the Amended and Restated Hewlett-Packard Company 2004 Stock Incentive Plan,
(9)Registration Statement (Form S-8 No. 333-168101) pertaining to the Palm, Inc. 2009 Stock Plan, as amended, and the Amended and Restated Palm, Inc. 1999 Stock Plan,
(10)Registration Statement (Form S-8 No. 333-169854) pertaining to the Amended and Restated 3PAR Inc. 2007 Equity Incentive Plan, the 3PARDATA, Inc. 2000 Management Stock Option Plan, as amended, and the 3PARDATA, Inc. 1999 Stock Plan, as amended,
(11)Registration Statement (Form S-8 No. 333-188108) pertaining to the Second Amended and Restated Hewlett-Packard Company 2004 Stock Incentive Plan,
(12)Registration Statement (Form S-8 No. 333-251265) pertaining to the HP Inc. 2021 Employee Stock Purchase Plan,
(13)Registration Statement (Form S-8 No. 333-251266) pertaining to the HP Inc. 401(k) Plan, and
(14)Registration Statement (Form S-8 No. 333-267151) pertaining to the Third Amended and Restated HP Inc. 2004 Stock Incentive Plan and the Plantronics, Inc. 2003 Stock Plan, as amended, and
(15)Registration Statement (Form S-3 No. 333-235474) pertaining to $5,000,000,000 of debt securities, common stock, preferred stock, depositary shares and warrants;
of HP Inc. of our reports dated December 6, 2022, with respect to the consolidated financial statements of HP Inc. and subsidiaries, and the effectiveness of internal control over financial reporting of HP Inc. and subsidiaries included in this Annual Report (Form 10-K) of HP Inc. for the year ended October 31, 2022.
/s/ ERNST & YOUNG LLP
San Jose, California
December 6, 2022