Are the account actions visible under Events and Tasks in the vSphere client ?
Can you try connecting to the ESXi server on which you manipulated the account and then run the script ?
Are the account actions visible under Events and Tasks in the vSphere client ?
Can you try connecting to the ESXi server on which you manipulated the account and then run the script ?