Get Length Of Array In Powershell Commands For Activation