diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md index d05037861a5..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md +++ b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md @@ -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. - diff --git a/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md index 14ec88b087f..c54acdcdf16 100644 --- a/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ b/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: Add search with linked files and the latest cloud attachment version ```powershell @@ -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 diff --git a/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md index 4a002882c45..fb9d68b525a 100644 --- a/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseReviewSet.md @@ -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