Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Search 如何使用powershell更改Windows搜索索引位置?_Search_Powershell_Automation_Indexing_Windows Search - Fatal编程技术网

Search 如何使用powershell更改Windows搜索索引位置?

Search 如何使用powershell更改Windows搜索索引位置?,search,powershell,automation,indexing,windows-search,Search,Powershell,Automation,Indexing,Windows Search,Windows搜索索引的默认位置是C:\ProgramData\Microsoft。在我的情况下,此位置位于空间有限的SSD上。因此,我希望将索引缓存移动到另一个具有更多空间的驱动器。我知道如何使用GUI实现这一点 我想知道如何使用PowerShell进行此操作?这样我就可以自动化这个过程了

Windows搜索索引的默认位置是C:\ProgramData\Microsoft。在我的情况下,此位置位于空间有限的SSD上。因此,我希望将索引缓存移动到另一个具有更多空间的驱动器。我知道如何使用GUI实现这一点

我想知道如何使用PowerShell进行此操作?这样我就可以自动化这个过程了