Skip to content

Unable to run Deploy.ps1 #1

@abalaranjan

Description

@abalaranjan

When I run the Deploy.ps1 I get the following error :

X:\Github\poshfiles [master ≡]> .\Deploy.ps1
copy-item : Container cannot be copied onto existing leaf item.
At X:\Github\poshfiles\Deploy.ps1:4 char:1

  • copy-item -Path $here* -Destination $psUserProfile -Recurse -Force -Exclude('De ...
  • - CategoryInfo          : InvalidArgument: (X:\Github\poshfiles\scripts:String) [Copy-Item], PSArgumentException
    - FullyQualifiedErrorId : CopyContainerItemToLeafError,Microsoft.PowerShell.Commands.CopyItemCommand
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions