PowerTip: Create a Strongly Typed Array in PowerShell
Summary: Learn how to create a strongly typed array. I want to create a strongly typed array of system.diagnostics.processes and store it in a variable called $a. How can I do this? Use a command such as:[diagnostics.process[]]$a=get-process
Summary: Learn how to create a strongly typed array. I want to create a strongly typed array of system.diagnostics.processes and store it in a variable called $a. How can I do this? Use a command such as:[diagnostics.process[]]$a=get-process
.jpg)
.jpg)
.png)