v3.26.1
Goodwill and Other Intangible Assets (Schedule of Intangible Assets) (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Indefinite-lived Intangible Assets [Line Items]      
Net Intangible $ 24 $ 13  
Intangible Asset, Finite-Lived [Line Items]      
Intangible Asset, Finite-Lived, Amortization Expense 361 303 $ 264
Gross Intangible 6,349 6,318  
Accumulated Amortization 4,184 3,845  
Net Intangible $ 2,165 2,473  
Weighted- Average Remaining Amortization Period (Years) 8 years    
Gross Intangible, Total other intangible assets $ 6,373 6,331  
Net Intangible, Total other intangible assets 2,189 2,486  
Trademarks and patents      
Indefinite-lived Intangible Assets [Line Items]      
Net Intangible 24 13  
Customer-Related Intangible Assets      
Intangible Asset, Finite-Lived [Line Items]      
Gross Intangible 3,625 3,876  
Accumulated Amortization 2,814 2,639  
Net Intangible $ 811 1,237  
Weighted- Average Remaining Amortization Period (Years) 9 years    
Trademarks, trade names, and patents      
Intangible Asset, Finite-Lived [Line Items]      
Gross Intangible $ 1,583 1,340  
Accumulated Amortization 558 459  
Net Intangible $ 1,025 881  
Weighted- Average Remaining Amortization Period (Years) 8 years    
Developed technology and other      
Intangible Asset, Finite-Lived [Line Items]      
Gross Intangible $ 1,030 1,030  
Accumulated Amortization 779 726  
Net Intangible $ 251 304  
Weighted- Average Remaining Amortization Period (Years) 5 years    
Noncompete Agreements      
Intangible Asset, Finite-Lived [Line Items]      
Gross Intangible $ 111 72  
Accumulated Amortization 33 21  
Net Intangible $ 78 $ 51  
Weighted- Average Remaining Amortization Period (Years) 4 years