This is my script which is working fine.
$include = @(
'File.M*'
'ABC.M*'
'XYZ.M*'
)
At the end there is .M*. Is there anyway that I can simply use the common .M* outside of the bracket? Something like this:
$include= @((
"File"
"ABC"
"XYZ"
)+.M*)