in reply to Update HomeDirectory Using Win32::Ole
$User=Win32::OLE-> GetObject("WinNT://wsi/$username", "user"); [download]
$User=Win32::OLE->GetObject("WinNT://wsi/$username", "user"); [download]