@( )演算子に何も指定しないで代入すればよい。
PS > $s = @() PS > $s.Length 0 PS > $s.GetType() IsPublic IsSerial Name BaseType -------- -------- ---- -------- True True Object[] System.Array
@( )演算子に何も指定しないで代入すればよい。
PS > $s = @() PS > $s.Length 0 PS > $s.GetType() IsPublic IsSerial Name BaseType -------- -------- ---- -------- True True Object[] System.Array