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.

78 lines
2.8 KiB

7 years ago
---
external help file: NTFSSecurity.dll-Help.xml
Module Name: ntfssecurity
online version:
schema: 2.0.0
---
# Get-Privileges
## SYNOPSIS
7 years ago
{{ Fill in the Synopsis }}
## SYNTAX
```
7 years ago
Get-Privileges [<CommonParameters>]
```
## DESCRIPTION
7 years ago
{{ Fill in the Description }}
## EXAMPLES
### Example 1
```PowerShell
6 years ago
PS C:\> Get-Privileges
-------------------------------------------------------------------------
| Privilege | PrivilegeAttributes | PriviliegeState |
|-------------------------------|---------------------|-----------------|
| IncreaseQuota | Disabled | Disabled |
| Security | Enabled | Enabled |
| TakeOwnership | Enabled | Enabled |
| LoadDriver | Disabled | Disabled |
| SystemProfile | Disabled | Disabled |
| SystemTime | Disabled | Disabled |
| ProfileSingleProcess | Disabled | Disabled |
| IncreaseBasePriority | Disabled | Disabled |
| CreatePageFile | Disabled | Disabled |
| Backup | Enabled | Enabled |
| Restore | Enabled | Enabled |
| Shutdown | Disabled | Disabled |
| Debug | Enabled | Enabled |
| SystemEnvironment | Disabled | Disabled |
| ChangeNotify EnabledByDefault | Enabled | Enabled |
| RemoteShutdown | Disabled | Disabled |
| Undock | Disabled | Disabled |
| ManageVolume | Disabled | Disabled |
| Impersonate EnabledByDefault | Enabled | Enabled |
| CreateGlobal EnabledByDefault | Enabled | Enabled |
| IncreaseWorkingSet | Disabled | Disabled |
| TimeZone | Disabled | Disabled |
| CreateSymbolicLink | Disabled | Disabled |
-------------------------------------------------------------------------
7 years ago
```
6 years ago
The above command gets the privliges.
7 years ago
## PARAMETERS
### CommonParameters
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).
## INPUTS
### None
## OUTPUTS
### ProcessPrivileges.PrivilegeAndAttributes
## NOTES
## RELATED LINKS