A
A
Arkadii0262020-06-26 16:43:37
PowerShell
Arkadii026, 2020-06-26 16:43:37

How to use powershell to connect to another computer?

How to use powershell to connect to another computer on the local network using username and password?
And if possible, for those who know, write a command how to delete a ball using wmi.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sergey, 2020-06-26
kuzmin @sergueik

https://windowsnotes.ru/powershell-2/udalennoe-upr...

A
Alexander, 2020-06-28
@Adorne

enter-pssession -computername <computer>

A
Arkadii026, 2020-06-29
@Arkadii026

If by ip then Enter-PSSession 192.168.1.160 -Credential compname\username so
where compname\username is the username of the connected computer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question