hello.
when i run a script to obtain the owner of a file, i get more then only the owner.
here an example of a output:
BUILTIN\Administrator
or
Domain\MyUsername
u must know, i only need the username offcourse, thats the owner. so let say all users will be obtained like 'Domain\Username' then 'Domain\' must be deleted..
i guess that happends with codes like tokens and delims but i dont know anything about that. can someone give me a example.?
when i run a script to obtain the owner of a file, i get more then only the owner.
here an example of a output:
BUILTIN\Administrator
or
Domain\MyUsername
u must know, i only need the username offcourse, thats the owner. so let say all users will be obtained like 'Domain\Username' then 'Domain\' must be deleted..
i guess that happends with codes like tokens and delims but i dont know anything about that. can someone give me a example.?