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

Error with Get-ADCPDump #30

Open
ant1 opened this issue Jun 29, 2021 · 0 comments
Open

Error with Get-ADCPDump #30

ant1 opened this issue Jun 29, 2021 · 0 comments

Comments

@ant1
Copy link

ant1 commented Jun 29, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant