About 669,000 results
Open links in new tab
  1. Stack<T> Class (System.Collections.Generic) | Microsoft Learn

    The following code example demonstrates several methods of the Stack<T> generic class. The code example creates a stack of strings with default capacity and uses the Push method to …

  2. arsscriptum/ps-collections-cheatsheet - GitHub

    [System.Collections.Generic.KeyValuePair[int, string]] (or more generally, KeyValuePair<TKey, TValue>) is used when you want to store a pair of related values together — a key and a value …

  3. .net - PowerShell generic collections - Stack Overflow

    In this case, it means it's looking for System.String in System.dll, and not in mscorlib, so it fails. The solution is to specify the fully qualified assembly name for the generic parameter types.

  4. The PowerShell Stack collection - powershelldistrict

    Jan 11, 2018 · In this article I will go through what the System.collections.stack actually is, and in what cases it should be used. I’ll explain of course how to use in Powershell, and showcase …

  5. PowerShell Journeyman - Generic Collections · Of Computers …

    My expectation is that before you can be a “PowerShell Journeyman”, you should have experience with many aspects that can help your projects get done quickly and effectively. …

  6. Practical PowerShell: Crafting Collections | Practical365

    Jun 3, 2025 · PowerShell scripting becomes far more powerful when you master collections like arrays and hash tables. In this article, we review the basics of standard collection types. Then, …

  7. PowerShell Arrays, ArrayLists & Collections: Best Practices

    Oct 29, 2019 · Learn about PowerShell Arrays, ArrayLists, and Collections, and apply best practices for efficient scripting.

  8. Generic Collections in PowerShell - Ars Scriptum

    Oct 12, 2022 · The generic list will feel quite familiar and is generally considered the best collection to use for operations due to its superior performance. There are other arrays in …

  9. Powershell: Collection. PowerShell provides a variety of data

    Sep 28, 2023 · Depending on your specific requirements, you can choose the appropriate collection type to store and manipulate your data efficiently in your PowerShell scripts.

  10. Stack Class (System.Collections) | Microsoft Learn

    Instead, we recommend that you use the generic System.Collections.Generic.Stack<T> class. For more information, see Non-generic collections shouldn't be used on GitHub. If Count is less …