Identify the adapters first
A laptop has at least two adapters, and the counters name them by LUID, not by marketing name. Mapping the LUID to the adapter prevents reading the wrong number.
Get-CimInstance Win32_VideoController | Select-Object Name,DriverVersion,AdapterRAM,Status
Get-Counter '\GPU Adapter Memory(*)\Dedicated Usage' -ErrorAction SilentlyContinue | Select-Object -ExpandProperty CounterSamples | Select-Object InstanceName,CookedValue