New-​File​Catalog

Syntax

New-FileCatalog
   [-CatalogFilePath] <String>
   [[-Path] <String[]>]
   [-CatalogVersion <Int32>]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Examples

1:

PS C:\>

Required Parameters

-CatalogFilePath
Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-CatalogVersion
Type:Int32
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:False
Accept pipeline input:False
Accept wildcard characters:False
-Path
Type:String[]
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
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:False
Accept pipeline input:False
Accept wildcard characters:False