Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Error with Get-ADCPDump #30

@ant1

Description

@ant1

Hello,

When using Get-ADCPDump on a robocopy of the SYSVOL share, I have the following error message:

New-PSDrive : En cas d’utilisation du paramètre Persist, la racine doit correspondre à un emplacement sur le système de fichiers d’un ordinateur distant.
Au caractère Ligne:1 : 1
+ New-PSDrive -PSProvider FileSystem -Root C:\Users\xxx\Desktop\NTDS\20 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument : (D:PSDriveInfo) [New-PSDrive], NotSupportedException
    + FullyQualifiedErrorId : DriveRootNotNetworkPath,Microsoft.PowerShell.Commands.NewPSDriveCommand

Removing "-persist" from the New-PSDrive command fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions