Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
### Example

```powershell
Import-Module Microsoft.Graph.Beta.Applications
Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
```
This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet.

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

```powershell
Expand All @@ -10,11 +10,30 @@ $params = @{
}
additionalDataOptions = "linkedFiles"
cloudAttachmentVersion = "latest"
}
Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params
```
This example will add search with linked files and the latest cloud attachment version

### Example 2: Add search with all data options and the latest cloud and document versions

```powershell
Import-Module Microsoft.Graph.Beta.Security
$params = @{
search = @{
id = "c17e91d6-6bc0-4ecb-b388-269ea3d4ffb7"
}
additionalDataOptions = "linkedFiles, allVersions, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder"
cloudAttachmentVersion = "latest"
documentVersion = "recent10"
}
Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params
```
This example shows how to use the Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet Cmdlet.
This example will add search with all data options and the latest cloud and document versions

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Import-Module Microsoft.Graph.Beta.Security
$params = @{
outputName = "Export via API"
description = "Export for the Contoso investigation"
exportOptions = "originalFiles,fileInfo,tags"
exportStructure = "directory"
exportOptions = "originalFiles, tags, splitSource, includeFolderAndPath, friendlyName, condensePaths, optimizedPartitionSize"
exportStructure = "msg"
}
Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params
Expand Down
Loading