Trying to list only the Subkey Name using the command
(Get-ChildItem “Registry::HKEY_Current_User\Software\WebEx\Plugins\Logon”).Name
The output am getting is
HKEY_CURRENT_USER\Software\WebEx\Plugins\Logon\aaaaaaa.webex.com_aaaaaa
HKEY_CURRENT_USER\Software\WebEx\Plugins\Logon\bbbbbbbb.webex.com_bbbbbb_bbbbb@xyz.com
HKEY_CURRENT_USER\Software\WebEx\Plugins\Logon\cccccccc.webex.com_ccccccc
I just need only to list Names
aaaaaaa.webex.com_aaaaaa
bbbbbbbb.webex.com_bbbbbb_bbbbb@xyz.com
bbbbbbbb.webex.com_bbbbbb_bbbbb@xyz.com
I can do using Split command, but do not think it is a right way of achieving the result. Any help is much appreciated