Search Results for

    Show / Hide Table of Contents

    Remove-SearchCatalog

    Deletes the specified search catalog.

    Syntax

    Remove-SearchCatalog
          [-Catalog] <String>
          [-WhatIf]
          [-Confirm]
          [<CommonParameters>]
    

    Description

    The Remove-SearchCatalog cmdlet deletes the catalog with the specified name.

    Examples

    Example 1: Delete a catalog

    Remove-SearchCatalog -Catalog Sample01
    
    Confirm
    Are you sure you want to perform this action?
    Performing the operation "Remove-SearchCatalog" on target "Sample01".
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    

    This command deletes the search catalog named Sample01 after prompting the user for confirmation.

    Example 2: Delete a catalog without confirmation

    Remove-SearchCatalog -Catalog Sample01 -Confirm:$false
    

    This command deletes the search catalog named Sample01 without prompting for confirmation.

    Parameters

    -Catalog

    Specifies the name of the catalog to delete.

    Type

    string

    Position

    0

    Default value

    None

    Accept pipeline input

    False

    Accept wildcard characters

    False

    Inputs

    None

    You can't pipe objects to this cmdlet.

    Outputs

    None

    This cmdlet returns no output.

    Related Links

    • Get-SearchCatalog

    • New-SearchCatalog

    • Reset-SearchCatalog

    • Set-SearchCatalog

    • Update-SearchCatalog

    In this article
    Back to top Copyright © 2023 Matthias Wolf, Mawosoft