Share via


Remove-SPODataAccessGovernanceInsight

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

Syntax

Default (Default)

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.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReportID

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

Parameter properties

Type:System.Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object