I am not expert on PowerShell so just trying to find way here I am trying to get a list of files added to a command.
I have a folder full of certs cert1.p12 cert2.p12 cert3.p12
How do I get these files listed for my command bellow and separated by comma?
CertUtil -p "password1","password2" -MergePFX -user cert1.p12,cert2.p12,cert3.p12 certificate.pfx
Tried searching for a command to add to a straight line with separation