Skip to content

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
Updated April 12, 2022 at 15:31 . Thoughts? Email me.
Posted to:
Bluesky
About Colophon Now Evergreen TIL Stories Poems Photos Bookshelf

© 2026 Sajal Choudhary

Streak New posts for 126 consecutive weeks