@Russ,Thanks for posting in Q&A.
From your description, I know want to delete multiple computer objects and hashes from Intune with hostname with PowerShell.
For this issue, I will share you some information.
Install-Module -Name WindowsAutoPilotIntune -RequiredVersion 5.0 #To remove the device from the Autopilot devices Connect-MSGraph Get-AutoPilotDevice | Where-Object SerialNumber -eq (Get-WmiObject -class Win32_Bios).SerialNumber | Remove-AutopilotDevice
#To remove the device from Azure AD device
Connect-Azuread Get-AzureADDevice | Where-Object DisplayName -Match $env:COMPUTERNAME | Remove-AzureADDevice
Hope this can help you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.