About 50 results
Open links in new tab
  1. Adding arrays to arraylists - PowerShell Forums

    Jul 11, 2022 · PowerShell Help david-zemdegs July 11, 2022, 4:00am 1 I have an object which is of type {system.collections.arraylist] To add a single element I can use the Add method but to add an array I …

  2. How to insert a value into a array - PowerShell Forums

    Jun 19, 2024 · Everything you wanted to know about arrays - PowerShell Arrays are a fundamental language feature of most programming languages. It’s a little less straight forward to inspect the …

  3. Difference new-object and ::new () - PowerShell Help - PowerShell …

    Nov 9, 2020 · They both instantiate a new system.collections.arraylist object. Details. The New-Object cmdlet “under the hood” calls a constructor method for the type specified plus the arguments …

  4. Mailbox and Folder Permissions in Exchange Online ... - PowerShell …

    Mar 22, 2024 · Mailbox and folder SHARING permissions - one file per mailbox. This report is similar to opening each mailbox and looking at the sharing permissions for each folder. It’s obviously way …

  5. New-Object blocked on some Constrained hosts but not others

    May 23, 2023 · Edit They are blocked according to this. What does Constrained Language constrain? Constrained Language consists of a number of restrictions that limit unconstrained code execution …

  6. How to query an array for value - PowerShell Forums

    Oct 21, 2023 · Hi, I have a powershell array with the following contents (where name has unique values): Name|Val1|Val2 Mary |25 |32 Joe |38 |21 Anne |38 |17 I would like to query the array with a …

  7. PSCustomObjects - Understanding the difference - PowerShell Forums

    Nov 8, 2023 · Since arrays in PowerShell are immutable you destroy the original array and create a new one with the same name and the added item every time you use the += operator.

  8. Help with Foreach loop, and saving results to an ... - PowerShell Forums

    Apr 16, 2023 · I wish I could scrub all the examples using this method from the internet… but sadly even new samples all over are riddled with this. I really wish the powershell team would’ve just made this …

  9. Passing an array to a function - PowerShell Help - PowerShell Forums

    Oct 16, 2023 · Hello, I’m passing an array to a function. The array passed is an object. I’m making a copy of the array object, via the Invoke function. Then, appending a single ...

  10. Retrieve details of vms on each and every host ... - PowerShell Forums

    Aug 26, 2022 · I would like to use the invoke command to get the details of all vms installed on each and every server host on the network in a list format.