2018-10-01 09:49:43 +00:00
---
external help file: DSInternals.PowerShell.dll-Help.xml
Module Name: DSInternals
2018-10-14 12:10:18 +00:00
online version: https://github.com/MichaelGrafnetter/DSInternals/blob/master/Documentation/PowerShell/ConvertTo-GPPrefPassword.md
2018-10-01 09:49:43 +00:00
schema: 2.0.0
---
# ConvertTo-GPPrefPassword
## SYNOPSIS
2018-10-14 12:10:18 +00:00
Converts a password to the format used by Group Policy Preferences.
2018-10-01 09:49:43 +00:00
## SYNTAX
```
ConvertTo-GPPrefPassword [-Password] < SecureString > [< CommonParameters > ]
```
## DESCRIPTION
{{Fill in the Description}}
## EXAMPLES
### Example 1
```powershell
PS C:\> {{ Add example code here }}
```
{{ Add example description here }}
## PARAMETERS
### -Password
Provide a password in the form of a SecureString.
```yaml
Type: SecureString
Parameter Sets: (All)
Aliases: p
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### 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
### System.Security.SecureString
## OUTPUTS
### System.String
## NOTES
## RELATED LINKS