New
#1
Data Output required for 'Comparison Purposes' ONLY
Good evening,
This Thread isNOT
a discussion onShell
commands, but purely for data output comparison purposes for a Script that I have written.
Just for information, ALL the folders reside in theRegistry Key
. . .
Code:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions
I have a customised install of Win 10 Professional, which may, or mayNOT
have an effect on the output that I get, therefore the reason for this post.
Basically, I just want the output [ results ] from aWin 10 Home
andWin 10 Professional
system after running the following command, that't is, just like my output below.
Here is the command [Copy & Paste
into CMD Prompt and pressEnter
]:
Code:PowerShell Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions' ^| ForEach-Object {New-Object -TypeName PSObject -Property (@{RelativePath=$_.GetValue('RelativePath');Name=$_.GetValue('Name')})} ^| Sort-Object -Property Name ^| Format-Table -AutoSize Name
Here is my Data Output [ 136 Entries ]:
Code:Name ---- 3D Objects AccountPictures AddNewProgramsFolder Administrative Tools AppData AppDataDesktop AppDataDocuments AppDataFavorites AppDataProgramData Application Shortcuts AppMods AppsFolder AppUpdatesFolder Cache Camera Roll CameraRollLibrary Captures CD Burning ChangeRemoveProgramsFolder Common Administrative Tools Common AppData Common Desktop Common Documents Common Programs Common Start Menu Common Start Menu Places Common Startup Common Templates CommonDownloads CommonMusic CommonPictures CommonRingtones CommonVideo ConflictFolder ConnectionsFolder Contacts ControlPanelFolder Cookies CredentialManager CryptoKeys CSCFolder Desktop Development Files Device Metadata Store DocumentsLibrary Downloads DpapiKeys Favorites Fonts GameTasks History HomeGroupCurrentUserFolder HomeGroupFolder ImplicitAppShortcuts InternetFolder Libraries Links Local AppData Local Documents Local Downloads Local Music Local Pictures Local Videos LocalAppDataLow LocalizedResourcesDir MAPIFolder MusicLibrary My Music My Pictures My Video MyComputerFolder NetHood NetworkPlacesFolder OEM Links OneDrive OneDriveCameraRoll OneDriveDocuments OneDriveMusic OneDrivePictures Original Images Personal PhotoAlbums PicturesLibrary Playlists PrintersFolder PrintHood Profile ProgramFiles ProgramFilesCommon ProgramFilesCommonX64 ProgramFilesCommonX86 ProgramFilesX64 ProgramFilesX86 Programs Public PublicAccountPictures PublicGameTasks PublicLibraries Quick Launch Recent Recorded Calls RecordedTVLibrary RecycleBinFolder ResourceDir Retail Demo Ringtones Roamed Tile Images Roaming Tiles SavedGames SavedPictures SavedPicturesLibrary Screenshots Searches SearchHistoryFolder SearchHomeFolder SearchTemplatesFolder SendTo Start Menu Startup SyncCenterFolder SyncResultsFolder SyncSetupFolder System SystemCertificates SystemX86 Templates ThisDeviceFolder ThisPCDesktopFolder User Pinned UserProfiles UserProgramFiles UserProgramFilesCommon UsersFilesFolder UsersLibrariesFolder VideosLibrary Windows
Thanks.
Last edited by Paul Black; 29 Jun 2022 at 15:35.