You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Set-NTFSOwner.md 2.1 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. ---
  2. external help file: NTFSSecurity.dll-Help.xml
  3. Module Name: ntfssecurity
  4. online version:
  5. schema: 2.0.0
  6. ---
  7. # Set-NTFSOwner
  8. ## SYNOPSIS
  9. {{ Fill in the Synopsis }}
  10. ## SYNTAX
  11. ### Path (Default)
  12. ```PowerShell
  13. Set-NTFSOwner [[-Path] <String[]>] [-Account] <IdentityReference2> [-PassThru] [<CommonParameters>]
  14. ```
  15. ### SecurityDescriptor
  16. ```PowerShell
  17. Set-NTFSOwner [-SecurityDescriptor] <FileSystemSecurity2[]> [-Account] <IdentityReference2> [-PassThru]
  18. [<CommonParameters>]
  19. ```
  20. ## DESCRIPTION
  21. {{ Fill in the Description }}
  22. ## EXAMPLES
  23. ### Example 1
  24. ```PowerShell
  25. PS C:\> {{ Add example code here }}
  26. ```
  27. {{ Add example description here }}
  28. ## PARAMETERS
  29. ### -Account
  30. {{ Fill Account Description }}
  31. ```yaml
  32. Type: IdentityReference2
  33. Parameter Sets: (All)
  34. Aliases:
  35. Required: True
  36. Position: 2
  37. Default value: None
  38. Accept pipeline input: True (ByPropertyName)
  39. Accept wildcard characters: False
  40. ```
  41. ### -PassThru
  42. {{ Fill PassThru Description }}
  43. ```yaml
  44. Type: SwitchParameter
  45. Parameter Sets: (All)
  46. Aliases:
  47. Required: False
  48. Position: Named
  49. Default value: None
  50. Accept pipeline input: False
  51. Accept wildcard characters: False
  52. ```
  53. ### -Path
  54. {{ Fill Path Description }}
  55. ```yaml
  56. Type: String[]
  57. Parameter Sets: Path
  58. Aliases: FullName
  59. Required: False
  60. Position: 1
  61. Default value: None
  62. Accept pipeline input: True (ByPropertyName, ByValue)
  63. Accept wildcard characters: False
  64. ```
  65. ### -SecurityDescriptor
  66. {{ Fill SecurityDescriptor Description }}
  67. ```yaml
  68. Type: FileSystemSecurity2[]
  69. Parameter Sets: SecurityDescriptor
  70. Aliases:
  71. Required: True
  72. Position: 1
  73. Default value: None
  74. Accept pipeline input: True (ByPropertyName, ByValue)
  75. Accept wildcard characters: False
  76. ```
  77. ### CommonParameters
  78. This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
  79. ## INPUTS
  80. ### System.String[]
  81. ### Security2.FileSystemSecurity2[]
  82. ### Security2.IdentityReference2
  83. ## OUTPUTS
  84. ### Security2.FileSystemOwner
  85. ## NOTES
  86. ## RELATED LINKS