Posted On March 29, 2019

Run Windows Commands Remotely

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Run Windows Commands Remotely

# RPC 
WMIC /node:SERVER1 process call create ‘powershell.exe’

# WinRM 
winrs -r:SERVER1 powershell.exe

# Systernals 
psexec //SERVER1 powershell.exe

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Setup Multiple SMTP Servers

- Add SPF record for both SMTP servers that are authorized to send email for…

MS Exchange 2010: Mailbox Repair

PowerShell snippet to initiate repair # set user alias or email addresses here:$userAliases="user1","user2"foreach ($user in…

How To Use Command Line to Configure iDrac Settings

Step 1: Install RacADM $computerlist=@' SERVER1 SERVER2 '@ $computernames=@($computerlist -split "`n")|%{$_.Trim()} $fileURL="https://dl.dell.com/FOLDER08543783M/1/DellEMC-iDRACTools-Web-WINX64-10.3.0.0-4945.exe" $expectedExecutable='racadm.exe' $expectedInstallPath='C:\Program Files\Dell\SysMgt\iDRACTools\racadm'…