Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Install the latest PowerShell for new features and improvements!
Installing PowerShell on Windows - PowerShell PS C:\WINDOWS\system32> Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name ConnectedSearchUseWeb,ConnectedSearchUseWebOverMeteredConnections,AllowSearchToUseLocation -ErrorAction SilentlyContinue ConnectedSearchUseWeb : 0 ConnectedSearchUseWebOverMeteredConnections : 0 AllowSearchToUseLocation : 0 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\ Microsoft\Windows\Windows Search PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\ Microsoft\Windows PSChildName : Windows Search PSDrive : HKLM PSProvider : Microsoft.PowerShell.Core\Registry PS C:\WINDOWS\system32> Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Name DisableSearchBoxSuggestions -ErrorAction SilentlyContinue DisableSearchBoxSuggestions : 1 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows PSChildName : Explorer PSDrive : HKLM PSProvider : Microsoft.PowerShell.Core\Registry PS C:\WINDOWS\system32> Get-ItemProperty -Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Name DisableSearchBoxSuggestions -ErrorAction SilentlyContinue DisableSearchBoxSuggestions : 1 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows PSChildName : Explorer PSDrive : HKCU PSProvider : Microsoft.PowerShell.Core\Registry PS C:\WINDOWS\system32> Get-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" -Name BingSearchEnabled,CortanaConsent,AllowSearchToUseLocation -ErrorAction SilentlyContinue BingSearchEnabled : 0 CortanaConsent : 0 AllowSearchToUseLocation : 0 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion PSChildName : Search PSDrive : HKCU PSProvider : Microsoft.PowerShell.Core\Registry PS C:\WINDOWS\system32> Get-ChildItem "$env:LOCALAPPDATA\Packages" -Directory | >> Where-Object { $.Name -like "Microsoft.Windows.Search*" } | >> ForEach-Object { [PSCustomObject]@{ Package = $.Name; DeviceSearchCacheExists = Test-Path (Join-Path $_.FullName "LocalState\DeviceSearchCache") } } $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException $.Name : The term '$.Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:16 + Where-Object { $.Name -like "Microsoft.Windows.Search*" } | + ~~~~~~ + CategoryInfo : ObjectNotFound: ($.Name:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException PS C:\WINDOWS\system32> Get-ChildItem -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist' -Recurse -ErrorAction SilentlyContinue | >> Where-Object { $_.PSChildName -eq 'Count' } | Select-Object PSPath PSPath ------ Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{9E04CAB2-CC14-11DF-BB8C-A2F1DED72085}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{A3D53349-6E61-4557-8FC7-0028EDCEEBF6}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{B267E3AD-A825-4A09-82B9-EEC22AA3B847}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{BCB48336-4DDD-48FF-BB0B-D3190DACB3E2}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CAA59E3C-4792-41A5-9909-6A6A8D32490E}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{F2A1CB5A-E3CC-4A2E-AF9D-505A7009D442}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}\Count Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{FA99DFC7-6AC2-453A-A5E2-5E2AFF4507BD}\Count PS C:\WINDOWS\system32> Get-Service -Name WSearch Status Name DisplayName ------ ---- ----------- Running WSearch Windows Search PS C:\WINDOWS\system32> Get-Process -Name SearchApp -ErrorAction SilentlyContinue | Select-Object Id,ProcessName,CPU,StartTime PS C:\WINDOWS\system32> Get-AppxPackage -Name "Windows.Search" -AllUsers | Select-Object Name,PackageFullName PS C:\WINDOWS\system32> Get-Service -Name WSearch Status Name DisplayName ------ ---- ----------- Running WSearch Windows Search PS C:\WINDOWS\system32> Get-Service -Name WSearch >> Get-Process -Name SearchApp -ErrorAction SilentlyContinue | Select-Object Id,ProcessName,CPU,StartTime >> Get-AppxPackage -Name "Windows.Search" -AllUsers | Select-Object Name,PackageFullName Status Name DisplayName ------ ---- ----------- Running WSearch Windows Search PS C:\WINDOWS\system32> Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name Start_TrackProgs -ErrorAction SilentlyContinue >> Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer" -Name "Start_ShowRecent" -ErrorAction SilentlyContinue Start_TrackProgs : 0 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer PSChildName : Advanced PSDrive : HKCU PSProvider : Microsoft.PowerShell.Core\Registry PS C:\WINDOWS\system32>