Graph Nested AD Security Groups by Member Property

Graph Nested AD Security Groups by Member Property

http://gallery.technet.microsoft.com/scriptcenter/Graph-Nested-AD-Security-20aa3fcd
Advertenties

Function ConvertTo-Thumbnail

Function ConvertTo-Thumbnail

Function ConvertTo-Thumbnail {            
Param($Path)            
End {            
    $Full  = [System.Drawing.Image]::FromFile("$(Resolve-Path $Path)")             
    $Thumb = $Full.GetThumbnailImage(72, 72, $Null, [intptr]::Zero)             
    $Thumb.Save("$(Resolve-Path $Path).thumb.jpg" )            

    $Full.Dispose()            
    $Thumb.Dispose()             
    }             
}