Any help is appreciated.
I am trying to run the following PS code within VBA and return the value for $email and $FASCN argument to an Excel worksheet.
$myEDIPI = (whoami /upn).replace('@mil','')
$comOBJS = @()
$PIVCERT = gci Cert:\CurrentUser\My | ? {$_.Subject -like "*$($myEDIPI)*" -and...