Help for this page

Select Code to Download


  1. or download this
    my $command='Set-ADUser '.$un.' -Replace @{thumbnailPhoto=([Byte[]](Ge
    +t-Content '.$jpeg.' -Encoding Byte))}'; 
    my $result = `c:\\windows\\system32\\windowspowershell\\v1.0\\powershe
    +ll.exe -command "$command"`;