PowerShell PowerShell $dlls = (ls C:\Windows\system32\*.dll).name [array]::indexof($dlls,"advpack.dll") 12 $dlls = (ls C:\Windows\system32\*.dll).name[array]::indexof($dlls,"advpack.dll")