Skip to content

Commit 343fe84

Browse files
authored
Merge pull request MicrosoftDocs#6665 from jobrover/master
Add missing Restore-SPODataEncryptionPolicy SPO PS Cmdlet Documentation
2 parents 626e93d + f5b4c20 commit 343fe84

File tree

1 file changed

+13
-28
lines changed

1 file changed

+13
-28
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Restore-SPODataEncryptionPolicy.md

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,49 +14,34 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
.
17+
CmdLet to restore customer encryption status for your geo tenant when in recovery mode.
18+
For more information, see [Controlling your data in Office 365 using Customer Key](https://docs.microsoft.com/microsoft-365/compliance/controlling-your-data-using-customer-key)
1819

1920
## SYNTAX
2021

2122
```powershell
22-
Restore-SPODataEncryptionPolicy [-Identity] <SpoSitePipeBind> -PrimaryKeyVaultName <string> -PrimaryKeyName <string> -PrimaryKeyVersion <guid> -SecondaryKeyVaultName <string> -SecondaryKeyName <string> -SecondaryKeyVersion <guid> [<CommonParameters>]
23+
Restore-SPODataEncryptionPolicy -PrimaryKeyVaultName <string> -PrimaryKeyName <string> -PrimaryKeyVersion <guid> -SecondaryKeyVaultName <string> -SecondaryKeyName <string> -SecondaryKeyVersion <guid> [<CommonParameters>]
2324
```
2425

2526
## DESCRIPTION
2627

27-
Use this cmdlet to .
28+
Use the cmdLet to restore customer encryption status for your geo tenant when in recovery mode.
29+
For more information, see [Controlling your data in Office 365 using Customer Key](https://docs.microsoft.com/microsoft-365/compliance/controlling-your-data-using-customer-key)
2830

2931
## EXAMPLES
3032

3133
### Example 1
3234

3335
```powershell
34-
36+
Restore-SPODataEncryptionPolicy -PrimaryKeyVaultName 'PKVaultName1' -PrimaryKeyName 'PrimaryKey1' -PrimaryKeyVersion 'f635a23bd4a44b9996ff6aadd88d42ba' -SecondaryKeyVaultName 'SKVaultName1' -SecondaryKeyName 'SecondaryKey2' -SecondaryKeyVersion '2b3e8f1d754f438dacdec1f0945f251a’
3537
```
36-
37-
This example.
38+
This example restores the DEP used with SharePoint Online and OneDrive for Business to the given keys.
3839

3940
## PARAMETERS
4041

41-
### -Identity
42-
43-
URL of the site collection.
44-
45-
```yaml
46-
Type: SpoSitePipeBind
47-
Parameter Sets: (All)
48-
Aliases:
49-
Applicable: SharePoint Online
50-
Required: True
51-
Position: 1
52-
Default value: None
53-
Accept pipeline input: False
54-
Accept wildcard characters: False
55-
```
56-
5742
### -PrimaryKeyVaultName
5843

59-
.
44+
The name of the primary key vault.
6045

6146
```yaml
6247
Type: String
@@ -72,7 +57,7 @@ Accept wildcard characters: False
7257
7358
### -PrimaryKeyName
7459
75-
.
60+
The name of the primary key.
7661
7762
```yaml
7863
Type: String
@@ -88,7 +73,7 @@ Accept wildcard characters: False
8873
8974
### -PrimaryKeyVersion
9075
91-
.
76+
The version of the primary key.
9277
9378
```yaml
9479
Type: Guid
@@ -104,7 +89,7 @@ Accept wildcard characters: False
10489
10590
### -SecondaryKeyVaultName
10691
107-
.
92+
The name of the secondary key vault.
10893
10994
```yaml
11095
Type: String
@@ -120,7 +105,7 @@ Accept wildcard characters: False
120105
121106
### -SecondaryKeyName
122107
123-
.
108+
The name of the secondary key.
124109
125110
```yaml
126111
Type: String
@@ -136,7 +121,7 @@ Accept wildcard characters: False
136121
137122
### -SecondaryKeyVersion
138123
139-
.
124+
The version of the secondary key.
140125
141126
```yaml
142127
Type: Guid

0 commit comments

Comments
 (0)