您好,我有一些文件在网络共享,我需要删除ReparsePoint属性。我尝试将这些文件属性设置为'Normal‘,但没有删除'ReparsePoint’
Clear-Host
$Path = "\\network\share"
Get-ChildItem $Path -recurse -force | ForEach {
($_.Attributes = "normal")
}如何从这些文件中删除'ReparsePoint‘属性?
发布于 2015-07-20 21:45:36
看起来我找到了可以在ReparsePoint上工作的工具。
fsutil reparsepoint删除file_name
Clear-Host
$Path = "\\network\share"
Get-ChildItem $Path -recurse -force | Where-Object {($_.Length -like 1022) | ForEach {
fsutil reparsepoint delete $_ }
}https://stackoverflow.com/questions/31514964
复制相似问题