File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ Use the **Type** parameter to change the file format.
41
41
42
42
### EXAMPLE 1
43
43
```
44
- PS C:\>$cert = (Get-ChildItem -Path cert:\CurrentUser\My\EEDEF61D4FF6EDBAAD538BB08CCAADDC3EE28FF)
45
-
46
-
44
+ PS C:\>$cert = Get-ChildItem -Path cert:\CurrentUser\My\EEDEF61D4FF6EDBAAD538BB08CCAADDC3EE28FF
47
45
48
46
PS C:\>Export-Certificate -Cert $cert -FilePath c:\certs\user.sst -Type SST
49
47
```
@@ -52,9 +50,7 @@ This example exports a certificate to the file system as a Microsoft serialized
52
50
53
51
### EXAMPLE 2
54
52
```
55
- PS C:\>$cert = (Get-ChildItem -Path cert:\CurrentUser\My\EEDEF61D4FF6EDBAAD538BB08CCAADDC3EE28FF)
56
-
57
-
53
+ PS C:\>$cert = Get-ChildItem -Path cert:\CurrentUser\My\EEDEF61D4FF6EDBAAD538BB08CCAADDC3EE28FF
58
54
59
55
PS C:\>Export-Certificate -Cert $cert -FilePath c:\certs\user.cer
60
56
```
@@ -63,9 +59,7 @@ This example exports a certificate to the file system as a DER-encoded `.cer` fi
63
59
64
60
### EXAMPLE 3
65
61
```
66
- PS C:\>$cert = ( Get-ChildItem -Path cert:\CurrentUser\My\EEDEF61D4FF6EDBAAD538BB08CCAADDC3EE28FF )
67
-
68
-
62
+ PS C:\>$cert = Get-ChildItem -Path cert:\CurrentUser\My\EEDEF61D4FF6EDBAAD538BB08CCAADDC3EE28FF
69
63
70
64
PS C:\>Export-Certificate -Cert $cert -FilePath c:\certs\user.p7b -Type p7b
71
65
```
You can’t perform that action at this time.
0 commit comments