Delete Registry key 'value' if it exists

I just need it to check for the value “GUID” in the mykey path.
If it exists, remove it. If not, just quit without a message.
The part I am unclear of is what to do in the PS when the GUID doesn’t exist.

$Path = 'HKLM:\SOFTWARE\WOW6432Node\mykey'
$Name = 'GUID'

    Get-ItemProperty -Path $Path -Name $Name -ErrorAction Ignore
    Remove-ItemProperty -Path $Path -Name $Name -ErrorAction Ignore

This works perfectly