Please feel free to provide feedback or file bugs here.

Bug in New-FileCatalog

This bug also applies to Test-FileCatalog, I believe.

Create a script containing the following commands, and run it with the -Verbose switch

----------------------------------------------------------

[CmdletBinding()]

param ( $path = 'SOMEPATHOROTHER'

New-FileCatalog -Path $path -CatalogFilePath C:\Source.cat -CatalogVersion 2.0
New-FileCatalog -Path $path -CatalogFilePath C:\Destination.cat -CatalogVersion 2.0

----------------------------------------------------------

The output will contain VERBOSE output, even though the script does not contain any Write-Verbose commands.

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Cliff HarrisonCliff Harrison shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Cliff HarrisonCliff Harrison commented  ·   ·  Flag as inappropriate

        Just noticed, there should be a closing parenthesis on the param line. :(

        Is there a way to edit a post?

      Feedback and Knowledge Base