how do i access properties of the output of the get-child registry

This is because [Microsoft.Win32.RegistryKey] object returns properties as string array. You should simply retrieve the value ProfileImagePath from the object itself :

ProfilePath=$Profile.GetValue("ProfileImagePath")

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top