lundi 30 mars 2015

Powershell nested IF statements





I am trying to do the following:



1.Check for a file in src

1.A If that file is there copy it to dst

1.B If that file is exists in the dst continue

1.C If that file isn't in the dst do something

2.Continue on but do something else

3.Finish off and do something else



However I'm struggling to understand how nested IF statements should be structured, does anyone have any wisdom they pass on to me?



I've Googled a fair bit but nothing helps me understand the way it is done.Ta.


Aucun commentaire:

Enregistrer un commentaire