Forum Replies Created

Viewing post 1 (of 1 total)

  • Reply To: iterate through servers with drive names

    Hello,

    I don't know if you have already tried this or not, but I think this will work for you:

    $Drives = Get-PSDrive -PSProvider 'FileSystem'

    foreach($Drive in $drives) {

    #select largest file in given...

Viewing post 1 (of 1 total)