Get-ChildItem says "does not exist"

Welcome Forums General PowerShell Q&A Get-ChildItem says "does not exist"

This topic contains 2 replies, has 2 voices, and was last updated by

5 months ago.

  • Author
  • #117204

    Points: 64
    Rank: Member

    I'm trying to get content of a folder in\JetStor\Data

    So when I enter Get-ChildItem -Path '\JetStor\Data' it says it does not exist.

  • #117292

    Points: 638
    Helping Hand
    Rank: Major Contributor

    Have you tried using a UNC Path:

    Get-ChildItem -Path '\\\JetStor\Data'
  • #117334

    Points: 64
    Rank: Member

    Oh my god, I can't believe I forgot the \\. Thank you. It's working.

The topic ‘Get-ChildItem says "does not exist"’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort