How do I pass an array or list as a parameter to a PowerShell function?

前端 未结 2 1292
感情败类
感情败类 2021-02-19 00:13

I am writing a PowerShell script to get a list of certificates which are getting expired within 30 days. The script is working, but the problem is there are too many app and pre

2条回答
  •  独厮守ぢ
    2021-02-19 00:29

    Working with PS 4.0 or later, it´s possible to define as CheckCert([array]$ComputerNames) as well.

提交回复
热议问题