To access or make changes to registry in a windows machine by powershell, I see two ways
cd HKLM:\\ (or set-location -path HKLM:\\SOFTWARE\\Microsof
cd HKLM:\\