PowerShell Arrays
Planted .
Last tended .
How to create arrays
An empty array can be created by using @()
Example array:
$ExampleArray = @(
"C:\test",
"C:\test2"
)
references:
Paths into this note
1 note leads here
-
ipaddress is a string so can not have multiple items in one go. So need to loop for allowed IP addresses as a PowerShell Arrays, if many.