About 986,000 results
Open links in new tab
  1. pipe - Why does Powershell silently convert a string array with one ...

    Why does Powershell silently convert a string array with one item to a string Ask Question Asked 13 years, 7 months ago Modified 4 years, 3 months ago

  2. windows - How to fix truncated PowerShell output, even when I've ...

    Mar 7, 2016 · I'm trying to get a list of all the directories and files on an external hard drive, with one fully-qualified directory/file path per line. I'm using PowerShell on Windows 10 to achieve …

  3. How can I store one result from a Get-ChildItem as one array value?

    Nov 24, 2021 · Instead, you should tell your variable that it definetly is an array, even if it has only one value. You can do that by casting it to a [string[]] or by wrapping your entire command into …

  4. Powershell - Arrays all on one line - Super User

    Nov 4, 2018 · Powershell - Arrays all on one line Ask Question Asked 7 years, 1 month ago Modified 5 years ago

  5. Powershell with "array dimensions exceeded supported range" …

    Feb 23, 2023 · This works for anything slightly under 1GB, but 1GB throws an error: "array dimensions exceeded supported range". It can get up to 1073741784 bytes without issue, but …

  6. Populate a powershell array with values, one per line, without …

    Jun 4, 2019 · Populate a powershell array with values, one per line, without needing quotes? Ask Question Asked 6 years, 6 months ago Modified 6 years, 6 months ago

  7. regex - Multiple -notmatch strings in powershell - Super User

    Jan 14, 2021 · Multiple -notmatch strings in powershell Ask Question Asked 4 years, 10 months ago Modified 4 years, 10 months ago

  8. array - PowerShell - Number in non-sequential range check failing ...

    Feb 23, 2024 · PowerShell - Number in non-sequential range check failing Ask Question Asked 1 year, 9 months ago Modified 1 year, 9 months ago

  9. powershell - Use variables to access array cells? - Super User

    Nov 22, 2020 · How you build the array of strings is inconsequential to your initial question. You need to understand why my answer worked.

  10. Splitting Multi-valued JSON elements into an Array with PowerShell

    Oct 27, 2021 · I'm working with some JSON data in PowerShell. Some elements are multi-valued, delimited with a semi-colon, but its not always the same elements that are multi-valued. I …