You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have running below command using pywinrm
cmd = f'cmd /c net use {drive}: \\{smb_server}\{share} {smb_user_password} /user:.{smb_user_name}'
result = self.session.run_cmd(cmd)
Output is "The Command completed successfully"
But when i am using the share detail it is showing Unavailable
net use
New connections will be remembered.
Status Local Remote Network
Unavailable M: \10.0.67.250\share1 Microsoft Windows Network
The command completed successfully.
Same mount command working as expected when running manually
The text was updated successfully, but these errors were encountered:
I have running below command using pywinrm
cmd = f'cmd /c net use {drive}: \\{smb_server}\{share} {smb_user_password} /user:.{smb_user_name}'
result = self.session.run_cmd(cmd)
Output is "The Command completed successfully"
But when i am using the share detail it is showing Unavailable
net use
New connections will be remembered.
Status Local Remote Network
Unavailable M: \10.0.67.250\share1 Microsoft Windows Network
The command completed successfully.
Same mount command working as expected when running manually
The text was updated successfully, but these errors were encountered: