Powershell Script Function With Array C