New-MgComplianceEdiscoveryCaseReviewSetQuery

Create a new reviewSetQuery object.

Syntax

New-MgComplianceEdiscoveryCaseReviewSetQuery
   -CaseId <String>
   -ReviewSetId <String>
   [-AdditionalProperties <Hashtable>]
   [-CreatedBy <IMicrosoftGraphIdentitySet>]
   [-CreatedDateTime <DateTime>]
   [-DisplayName <String>]
   [-Id <String>]
   [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
   [-LastModifiedDateTime <DateTime>]
   [-Query <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgComplianceEdiscoveryCaseReviewSetQuery
   -CaseId <String>
   -ReviewSetId <String>
   -BodyParameter <IMicrosoftGraphEdiscoveryReviewSetQuery>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgComplianceEdiscoveryCaseReviewSetQuery
   -InputObject <IComplianceIdentity>
   [-AdditionalProperties <Hashtable>]
   [-CreatedBy <IMicrosoftGraphIdentitySet>]
   [-CreatedDateTime <DateTime>]
   [-DisplayName <String>]
   [-Id <String>]
   [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
   [-LastModifiedDateTime <DateTime>]
   [-Query <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgComplianceEdiscoveryCaseReviewSetQuery
   -InputObject <IComplianceIdentity>
   -BodyParameter <IMicrosoftGraphEdiscoveryReviewSetQuery>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new reviewSetQuery object.

Examples

Example 1: Using the New-MgComplianceEdiscoveryCaseReviewSetQuery Cmdlet

Import-Module Microsoft.Graph.Compliance
$params = @{
	DisplayName = "My Query 1"
	Query = "(subject:"Quarterly Financials")"
}
New-MgComplianceEdiscoveryCaseReviewSetQuery -CaseId $caseId -ReviewSetId $reviewSetId -BodyParameter $params

This example shows how to use the New-MgComplianceEdiscoveryCaseReviewSetQuery Cmdlet. To learn about permissions for this resource, see the permissions reference.

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

reviewSetQuery To construct, please use Get-Help -Online and see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphEdiscoveryReviewSetQuery
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

-CaseId

key: id of case

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-CreatedBy

identitySet To construct, please use Get-Help -Online and see NOTES section for CREATEDBY properties and create a hash table.

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-CreatedDateTime

The time and date when the query was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

The name of the query.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Id

The unique identifier for an entity. Read-only.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, please use Get-Help -Online and see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IComplianceIdentity
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

-LastModifiedBy

identitySet To construct, please use Get-Help -Online and see NOTES section for LASTMODIFIEDBY properties and create a hash table.

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-LastModifiedDateTime

The date and time the query was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Query

The query string in KQL (Keyword Query Language) query. For details, see Document metadata fields in Advanced eDiscovery. This field maps directly to the keywords condition. You can refine searches by using fields listed in the searchable field name paired with values; for example, subject:'Quarterly Financials' AND Date>=06/01/2016 AND Date<=07/01/2016.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ReviewSetId

key: id of reviewSet

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.PowerShell.Models.IComplianceIdentity

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphEdiscoveryReviewSetQuery

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphEdiscoveryReviewSetQuery

Notes

ALIASES

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphEdiscoveryReviewSetQuery>: reviewSetQuery

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Application <IMicrosoftGraphIdentity>]: identity
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DisplayName <String>]: The display name of the identity. This property is read-only.
      • [Id <String>]: The identifier of the identity. This property is read-only.
    • [Device <IMicrosoftGraphIdentity>]: identity
    • [User <IMicrosoftGraphIdentity>]: identity
  • [CreatedDateTime <DateTime?>]: The time and date when the query was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • [DisplayName <String>]: The name of the query.
  • [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  • [LastModifiedDateTime <DateTime?>]: The date and time the query was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • [Query <String>]: The query string in KQL (Keyword Query Language) query. For details, see Document metadata fields in Advanced eDiscovery. This field maps directly to the keywords condition. You can refine searches by using fields listed in the searchable field name paired with values; for example, subject:'Quarterly Financials' AND Date>=06/01/2016 AND Date<=07/01/2016.

CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Application <IMicrosoftGraphIdentity>]: identity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. This property is read-only.
    • [Id <String>]: The identifier of the identity. This property is read-only.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity

INPUTOBJECT <IComplianceIdentity>: Identity Parameter

  • [CaseId <String>]: key: id of case
  • [CaseOperationId <String>]: key: id of caseOperation
  • [CustodianId <String>]: key: id of custodian
  • [DataSourceId <String>]: key: id of dataSource
  • [LegalHoldId <String>]: key: id of legalHold
  • [NoncustodialDataSourceId <String>]: key: id of noncustodialDataSource
  • [ReviewSetId <String>]: key: id of reviewSet
  • [ReviewSetQueryId <String>]: key: id of reviewSetQuery
  • [SiteSourceId <String>]: key: id of siteSource
  • [SourceCollectionId <String>]: key: id of sourceCollection
  • [TagId <String>]: key: id of tag
  • [TagId1 <String>]: key: id of tag
  • [UnifiedGroupSourceId <String>]: key: id of unifiedGroupSource
  • [UserSourceId <String>]: key: id of userSource

LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Application <IMicrosoftGraphIdentity>]: identity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. This property is read-only.
    • [Id <String>]: The identifier of the identity. This property is read-only.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity