Hi,
I need to pass a User name and a Pass to the PS script.
I tried to find it online but could not.
Ant idea how to do this?
thank you.
I need to pass a User name and a Pass to the PS script.
I tried to find it online but could not.
Ant idea how to do this?
Code:
Invoke-Command -Computer DESK-2.domain.somecorp.com -Scriptblock {C:\Python39\python.exe 'C:\temp\DT_Col\HN.py'}
thank you.