Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Security/New-FileCatalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Security.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Security
ms.date: 05/29/2024
ms.date: 03/05/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/new-filecatalog?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: New-FileCatalog
Expand Down Expand Up @@ -89,8 +89,18 @@ Accept wildcard characters: False

### -Path

Accepts a path or array of paths to files or folders that should be included in the catalog file. If
a folder is specified, the command includes all files in the folder.
Accepts a path or array of paths to files or folders that should be included in the catalog file.
When you specify a folder, the command enumerates the contents of the folder recursively to include
all subfolders and their contents. The catalog file contains relative paths to the files included in
the catalog.

> [!IMPORTANT]
> When you provide a list of files or folders, the cmdlet can't compute a relative path since the
> files and folders can be anywhere on the filesystem. Under this condition, the cmdlet only uses
> the filename for the hash, which means that you can't have duplicate filenames in different paths.
> For the best results, pass in a single folder and let the cmdlet enumerate the contents. The
> cmdlet uses that initial path to calculate relative paths so that duplicate filenames are still
> unique within the folder tree.

```yaml
Type: System.String[]
Expand Down
16 changes: 13 additions & 3 deletions reference/7.4/Microsoft.PowerShell.Security/New-FileCatalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Security.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Security
ms.date: 05/29/2024
ms.date: 03/05/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/new-filecatalog?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: New-FileCatalog
Expand Down Expand Up @@ -91,8 +91,18 @@ Accept wildcard characters: False

### -Path

Accepts a path or array of paths to files or folders that should be included in the catalog file. If
a folder is specified, the command includes all files in the folder.
Accepts a path or array of paths to files or folders that should be included in the catalog file.
When you specify a folder, the command enumerates the contents of the folder recursively to include
all subfolders and their contents. The catalog file contains relative paths to the files included in
the catalog.

> [!IMPORTANT]
> When you provide a list of files or folders, the cmdlet can't compute a relative path since the
> files and folders can be anywhere on the filesystem. Under this condition, the cmdlet only uses
> the filename for the hash, which means that you can't have duplicate filenames in different paths.
> For the best results, pass in a single folder and let the cmdlet enumerate the contents. The
> cmdlet uses that initial path to calculate relative paths so that duplicate filenames are still
> unique within the folder tree.

```yaml
Type: System.String[]
Expand Down
16 changes: 13 additions & 3 deletions reference/7.5/Microsoft.PowerShell.Security/New-FileCatalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Security.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Security
ms.date: 05/29/2024
ms.date: 03/05/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/new-filecatalog?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: New-FileCatalog
Expand Down Expand Up @@ -91,8 +91,18 @@ Accept wildcard characters: False

### -Path

Accepts a path or array of paths to files or folders that should be included in the catalog file. If
a folder is specified, the command includes all files in the folder.
Accepts a path or array of paths to files or folders that should be included in the catalog file.
When you specify a folder, the command enumerates the contents of the folder recursively to include
all subfolders and their contents. The catalog file contains relative paths to the files included in
the catalog.

> [!IMPORTANT]
> When you provide a list of files or folders, the cmdlet can't compute a relative path since the
> files and folders can be anywhere on the filesystem. Under this condition, the cmdlet only uses
> the filename for the hash, which means that you can't have duplicate filenames in different paths.
> For the best results, pass in a single folder and let the cmdlet enumerate the contents. The
> cmdlet uses that initial path to calculate relative paths so that duplicate filenames are still
> unique within the folder tree.

```yaml
Type: System.String[]
Expand Down
16 changes: 13 additions & 3 deletions reference/7.6/Microsoft.PowerShell.Security/New-FileCatalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Security.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Security
ms.date: 05/29/2024
ms.date: 03/05/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.security/new-filecatalog?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
title: New-FileCatalog
Expand Down Expand Up @@ -91,8 +91,18 @@ Accept wildcard characters: False

### -Path

Accepts a path or array of paths to files or folders that should be included in the catalog file. If
a folder is specified, the command includes all files in the folder.
Accepts a path or array of paths to files or folders that should be included in the catalog file.
When you specify a folder, the command enumerates the contents of the folder recursively to include
all subfolders and their contents. The catalog file contains relative paths to the files included in
the catalog.

> [!IMPORTANT]
> When you provide a list of files or folders, the cmdlet can't compute a relative path since the
> files and folders can be anywhere on the filesystem. Under this condition, the cmdlet only uses
> the filename for the hash, which means that you can't have duplicate filenames in different paths.
> For the best results, pass in a single folder and let the cmdlet enumerate the contents. The
> cmdlet uses that initial path to calculate relative paths so that duplicate filenames are still
> unique within the folder tree.

```yaml
Type: System.String[]
Expand Down