asked on
Is it possible to go inside a registry folder, and under each sub-folder list out some values?
I want to be able to list all the Sharepoint URLs that are being synced on a PC, so I found in the registry they are stored in "HKEY_CURRENT_USER\SOFTWARE\SyncEngines\Providers\OneDrive\". However there is a GUID folder for each one, and inside each one there are a few keys I want to extract (MountPoint and UrlNamespace).
Is there a powershell script that I can use to go through each folder and where each sub-folder has "LibraryType"= "teamsite" for it to return an array of MountPoint and UrlNamespace and when completed I should have an array with all my sharepoint sites that I sync with their name and URL.
Thank you in advance
Windows PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language built on the .NET Framework. PowerShell provides full access to the Component Object Model (COM) and Windows Management Instrumentation (WMI), enabling administrators to perform administrative tasks on both local and remote Windows systems as well as WS-Management and Common Information Model (CIM) enabling management of remote Linux systems and network devices.
TRUSTED BY
ASKER
Open in new window
However I its not displaying anything. If I use:-Open in new window
I am getting a table out:-Name Property
So, Im assuming I need to somehow break into each folder somehow (which I thought the ForEach did)