【问题标题】:How can you display access permissions of a file or folder using PowerShell using cmdlet如何使用 PowerShell 使用 cmdlet 显示文件或文件夹的访问权限
【发布时间】:2017-03-04 04:53:30
【问题描述】:

请帮我解决这个操作系统问题

【问题讨论】:

    标签: windows powershell permissions operating-system ntfs


    【解决方案1】:

    要使用 PowerShell 显示文件或文件夹的访问权限,您可以使用以下内容:

    Get-Item D:\Data | Get-NTFSAccess
    Get-NTFSAccess -Path D:\Data
    

    这将为您提供如下所示的结果:

    参考:Reading the permissions of a single item

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-30
      • 2012-12-26
      • 2015-05-27
      • 2020-03-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多