I would just like help writing my if
statement, I am having a hard time finding information online to do what I would like. Basically I need my if statement to see if the $file
is located at a specified location (which can be multiple locations if possible). So far I have this:
foreach ($file in $MyInvocation.MyCommand.Path) {
if ($file) { #I need this to search a specific directory or directories
}
}
Aucun commentaire:
Enregistrer un commentaire