Skip to content

Commit ffa25c7

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Updating examples
1 parent c05630a commit ffa25c7

3 files changed

+23
-15
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
### Example
2-
3-
```powershell
4-
5-
Import-Module Microsoft.Graph.Beta.Applications
6-
7-
Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
8-
9-
```
10-
This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet.
11-

src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Example 1: Code snippet
1+
### Example 1: Add search with linked files and the latest cloud attachment version
22

33
```powershell
44
@@ -10,11 +10,30 @@ $params = @{
1010
}
1111
additionalDataOptions = "linkedFiles"
1212
cloudAttachmentVersion = "latest"
13+
}
14+
15+
Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params
16+
17+
```
18+
This example will add search with linked files and the latest cloud attachment version
19+
20+
### Example 2: Add search with all data options and the latest cloud and document versions
21+
22+
```powershell
23+
24+
Import-Module Microsoft.Graph.Beta.Security
25+
26+
$params = @{
27+
search = @{
28+
id = "c17e91d6-6bc0-4ecb-b388-269ea3d4ffb7"
29+
}
30+
additionalDataOptions = "linkedFiles, allVersions, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder"
31+
cloudAttachmentVersion = "latest"
1332
documentVersion = "recent10"
1433
}
1534
1635
Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params
1736
1837
```
19-
This example shows how to use the Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet Cmdlet.
38+
This example will add search with all data options and the latest cloud and document versions
2039

src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Import-Module Microsoft.Graph.Beta.Security
77
$params = @{
88
outputName = "Export via API"
99
description = "Export for the Contoso investigation"
10-
exportOptions = "originalFiles,fileInfo,tags"
11-
exportStructure = "directory"
10+
exportOptions = "originalFiles, tags, splitSource, includeFolderAndPath, friendlyName, condensePaths, optimizedPartitionSize"
11+
exportStructure = "msg"
1212
}
1313
1414
Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params

0 commit comments

Comments
 (0)