Updating dependencies.
Released 3 Dec 2024
Reducing directory nesting of internal, private, nested modules.
Released 10 Jun 2024
Added Get-CNtfsPermission
, Grant-CNtfsPermission
, Revoke-CNtfsPermission
, and Test-CNtfsPermission
, migrated
from Carbon's Get-CPermission
, Grant-CPermission
, Revoke-CPermission
, and Test-CPermission
. If you are switching
from Carbon to Carbon.FileSystem, do the following:
-
Rename usages of
Get-CPermission
,Grant-CPermission
,Revoke-CPermission
, andTest-CPermission
toGet-CNtfsPermission
,Grant-CNtfsPermission
,Revoke-CNtfsPermission
, andTest-CNtfsPermission
. -
Replace usages of the
Test-CNtfsPermission
function's-Exact
switch to-Strict
. -
Using the table below, replace usages of
Grant-CNtfsPermission
andTest-CNtfsPermission
arguments in the left column with the new arguments from the right column.Old Argument New Argument(s) -ApplyTo Container
-ApplyTo FolderOnly
-ApplyTo SubContainers
-ApplyTo SubfoldersOnly
-ApplyTo Leaves
-ApplyTo FilesOnly
-ApplyTo ChildContainers
-ApplyTo SubfoldersOnly -OnlyApplyToChildFilesAndFolders
-ApplyTo ChildLeaves
-ApplyTo FilesOnly -OnlyApplyToChildFilesAndFolders
-ApplyTo ContainerAndSubContainers
-ApplyTo FolderAndSubfolders
-ApplyTo ContainerAndLeaves
-ApplyTo FolderAndFiles
-ApplyTo SubContainerAndLeaves
-ApplyTo SubfoldersAndFilesOnly
-ApplyTo ContainerAndChildContainers
-ApplyTo FolderAndSubfolders -OnlyApplyToChildFilesAndFolders
-ApplyTo ContainerAndChildLeaves
-ApplyTo FolderAndFiles -OnlyApplyToChildFilesAndFolders
-ApplyTo ContainerAndChildContainersAndChildLeaves
-ApplyTo FolderSubfoldersAndFiles -OnlyApplyToChildFilesAndFolders
-ApplyTo ContainerAndSubContainersAndLeaves
-ApplyTo FolderSubfoldersAndFiles
-ApplyTo ChildContainersAndChildLeaves
-ApplyTo SubfoldersAndFilesOnly -OnlyApplyToChildFilesAndFolders
Get-CNtfsHardLink
. ReplacesGet-FileHardLink
.
- Function
Get-FileHardLink
. Use the newGet-CNtfsHardLink
function.
Released 5 May 2022
Adding Guid to Carbon.FileSystem.psd1
which is needed to publish to PSGallery.
Released 5 May 2022
- Added
Get-CNtfsHardLink
which is used to retrieve hard link targets. This fixes a breaking change from Windows PowerShell where theTarget
property is not populated in PowerShell Core when usingGet-Item
to retrieve a previously linked file.