SetAclCommand Class

The Set-Acl cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.


Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Security (in Microsoft.PowerShell.Security.dll)

'Usage
Dim instance As SetAclCommand

[CmdletAttribute("Set", "Acl", SupportsShouldProcess=true, SupportsTransactions=true, DefaultParameterSetName="ByPath", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113389")] 
public sealed class SetAclCommand : SecurityDescriptorCommandsBase
/** @attribute CmdletAttribute("Set", "Acl", SupportsShouldProcess=true, SupportsTransactions=true, DefaultParameterSetName="ByPath", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113389") */ 
public final class SetAclCommand extends SecurityDescriptorCommandsBase
CmdletAttribute("Set", "Acl", SupportsShouldProcess=true, SupportsTransactions=true, DefaultParameterSetName="ByPath", HelpUri="http://go.microsoft.com/fwlink/?LinkID=113389") 
public final class SetAclCommand extends SecurityDescriptorCommandsBase

This cmdlet changes the security descriptor of a specified resource, such as a file or a registry key. For more information about this cmdlet, see Set-Acl in the Microsoft TechNet library.

For Help at the command line, type:

get-help set-acl


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft