Tags

,

Often I need to write PowerShell scripts/ functions for my SharePoint tasks. For a long time I struggled with @(). I wondered where they are used and what they mean.
If a variable is declared like $myVariable=@(), it means an empty array. You may see the Technet article for the same explanation:
https://technet.microsoft.com/en-us/library/ee692797.aspx

Advertisements