Redigera

Dela via


Remove-SPODataAccessGovernanceInsight

This cmdlet deletes the given Data Access Governance (DAG) report.

Syntax

Remove-SPODataAccessGovernanceInsight
      -ReportID <Guid>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

This command deletes the DAG report, specified by the given ReportID. The ReportID is shown in the output of the Start-SPODataAccessGovernanceInsight command. It can also be fetched from the output of the Get-SPODataAccessGovernanceInsight command.

Examples

Example 1

Remove-SPODataAccessGovernanceInsight -ReportID 28f4c550-215a-472b-a123-c11e5fa8804c

This command deletes the report of the given ID "28f4c550-215a-472b-a123-c11e5fa8804c".

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-ReportID

Specifies the ID of the DAG report to be removed or deleted.

Type:Guid
Position:Named
Default value:None
Required:True
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
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object