Sajal Choudhary

Garden Stream Nordletter Books About
Colophon Now Feeds
Evergreen TIL Shelf Stories Poems
Blog Micro Photos
Books Film TV Games
til powershell
Sajal Choudhary https://sajalchoudhary.net

PowerShell Arrays

POWERSHELL

How to create arrays

An empty array can be created by using @()

Example array:

$ExampleArray = @(
	"C:\test",
	"C:\test2"
)

references:

  1. Everything you wanted to know about arrays - PowerShell | Microsoft Docs

Subscribe to NordLetter

A weekly newsletter on living in Finland.

← Back to Til
UPDATED April 12, 2022 at 12:31
Thoughts? Email [email protected]

This website was last updated on June 9, 2026 at 06:50

New posts for 116 consecutive weeks

1639 total posts

© 2026 Sajal Choudhary. All rights reserved.