Category: Arrays
-
Quickly Create An Array of Strings Without Quoting Each String
Troy Bowman
When there is a list of words that need to be quickly converted to an array of strings, use this quick method. The ql function will quickly create an array of strings without needing to use any quotes. Very handy! Example Output This is such a great tip from the book: Windows PowerShell in Action,…
-
Various Ways to Add Values to an Array
Troy Bowman
Declare an array of a fixed size. Adding values to an array. Declaring empty arrays and then using += add values will add a significant penalty in the time to complete the operation. It takes 383 seconds to assign 100,000 values to an array using += @() and += takes 383 seconds to complete! Fixed…
Follow Us
search
About

Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Maecenas odio lacus, dignissim sollicitudin finibus commodo, rhoncus et ante.
categories
- Arrays (2)
- AWS (1)
- Failure (1)
- PowerShell (4)
- Uncategorized (2)
Latest post
Archives
- April 2024 (3)
- December 2023 (3)
- November 2023 (1)