I have a need to iterate a for loop or a do loop by letter instead of number. Is that possible? I need to map some drive letters for users to different areas on a network. The number of drive letters changes per user. Sometimes it is just two drives. Sometimes it is around eight drive letters.
For ($i=A; $i -le D; $i++){
#Map Drive Letter using $i
}
I know that doesn't work but is there something like it that does?