|
1 |
Create a file named dcom-config.ps1 that contains the script below on the target machine. |
|
2 |
Run the script on behalf of the Administrator user using the following command: runas /user:Administrator powershell -File dcom-config.ps1 |
|
Host/host |
[ScriptingHost]. The remote host to execute the command on. | |
|
Command/cmd |
||
|
Output text/stdout |
||
|
Error text/stderr |