PSCredentialStore/docs/Import-CSCertificate.md

73 lines
1.7 KiB
Markdown
Raw Normal View History

2019-04-08 13:12:15 +02:00
# Import-CSCertificate
## SYNOPSIS
Imports a linked certificate to the valid store location.
## SYNTAX
```
Import-CSCertificate [-Type] <String> [-Path] <FileInfo> [<CommonParameters>]
```
## DESCRIPTION
Import-CSCertificate takes a pfx certificate file and imports it to the supposed certificate store for
private and shared credential stores.
## EXAMPLES
### BEISPIEL 1
```
.\Remove-Some-Script.ps1 -One content
```
## PARAMETERS
2019-04-08 15:25:08 +02:00
### -Path
Provide a valid path to pfx certificate file.
2019-04-08 13:12:15 +02:00
```yaml
2019-04-08 15:25:08 +02:00
Type: FileInfo
2019-04-08 13:12:15 +02:00
Parameter Sets: (All)
Aliases:
Required: True
2019-04-08 15:25:08 +02:00
Position: 2
2019-04-08 13:12:15 +02:00
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
2019-04-08 15:25:08 +02:00
### -Type
Select between the a private and shared credential store.
2019-04-08 13:12:15 +02:00
```yaml
2019-04-08 15:25:08 +02:00
Type: String
2019-04-08 13:12:15 +02:00
Parameter Sets: (All)
Aliases:
Required: True
2019-04-08 15:25:08 +02:00
Position: 1
2019-04-08 13:12:15 +02:00
Default value: None
Accept pipeline input: False
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
### Describe the script input parameters (if any), otherwise it may also list the word "[None]".
## OUTPUTS
### Describe the script output parameters (if any), otherwise it may also list the word "[None]".
## NOTES
- File Name : Import-CSCertificate.ps1
- Author : Marco Blessing - marco.blessing@googlemail.com
- Requires :
## RELATED LINKS
[https://github.com/OCram85/PSCredentialStore](https://github.com/OCram85/PSCredentialStore)