Saturday, August 29, 2015

Multiple ways to Install Software remotely on Windows - Method 5 Powershell Remoting

Multiple ways to Install software remotely
Multiple ways to Install Software remotely on Windows - Method 1 Group Policy
Multiple ways to Install Software remotely on Windows - Method 2 Third party softwares

Multiple ways to Install Software remotely on Windows - Method 3 Command line PSEXEC tool
Multiple ways to Install Software remotely on Windows - Method 4 WMI (Windows Management Instrumentation)
Multiple ways to Install Software remotely on Windows - Method 5 PowerShell Remoting
Multiple ways to Install Software remotely on Windows - Method 6 PowerShell DSC (Desired State Configuration)
Multiple ways to Install Software remotely on Windows - Method 7 Copy Portable applications 
Multiple ways to Install Software remotely on Windows - Method 8 Task scheduler 

In this article I will be covering remote installation using powershell. Powershell is windows scripting tool and may replace cmd (Command prompt) gradually over the time. Powershell has remoting feature as same as ssh in linux. Powershell uses WS-Manangement protocol to connect remotely, and it need to be enabled on remote server (as same as remote desktop).

Requirement is both the server and client should have powershell installed. below steps done to enable psremoting.

Start PowerShell as administrator and fire below command.

Enable-PSRemoting 

Basically it does below main things  
Start WinRM service (Windows Remote Management (WS-Management)), set to auto automatic start. Add any hosts * in the listeners (clients) list (any computers in the same domain can connect over WINRM protocol), and the last thing is to enable firewall exception for WS-management traffic. 

Type couple of Y to agree all the required changes. This need to be setup on remote server. And you are ready to connect.

In this section I will be using SCCM client to install remotely, as usual it is located on shared drive, From any other server open powershell, Go with the below command. Line in the bold is invoke-command (to execute command remotely) and you will need to replace hostname according to your need (provide netbios name only, To work IP address correctly you will need to add ips to trusted host list.),  In the curly brackets I have executed SCCM client kept on shared drive, ccmsetup.exe with its parameters pointing toward site code and other info.

Invoke-Command -ComputerName Client001 -Command {\\ad001\Softwares\SCCMClient\CCMSetup.exe /mp:SMSMP01 /logon SMSSITECODE=S01 FSP=SMSFSP01}

Here you are done and you can check on the remote server for Installed application. 
There are more methods I will be addressing in my next articles.

Next is Powershell DSC Desire state configuration to install software remotely in line.
Method 6 PowerShell DSC (Desired State Configuration) install software remotely.

11 comments:

Mac pro said...

Nice article admin thanks for share your atricle keep share your knowledge i am waiting for your new post check hi vis jacket girls knee high socks kindly review and reply me

Unknown said...

It's a very helpful article but sometimes PowerShell seems so complicated in learning for general users. So, you can try an alternative way to
install software remotely on multiple computers. Take a look at the free cloud-based tool Action1 to solve this issue.

Yash Ambaskar said...

Hi,

Can you please provide me a way to install set of applications remotely using Powershell on a system which is connected over a domain without using the SCCM Client. I have worked on SCCM before but not many companies in India use SCCM Client to deploy and install software packages in the remote system.

I am actively searching for this type of script which can help me in the above installation process only using a remote connection and Powershell.

Billy Bonilla said...

This blog post provides a helpful overview of different methods for remote software installation on Windows.

TechPulseDaily said...

Detailed help guide describing how to access your Home Depot credit card account through homedepot.com/mycard/login safely and manage online services.
Practical guide for managing credit card services through homedepot.com/mycard/login, including payments, statements, and account monitoring.
Learn how to manage and pay your credit card bills through homedepot.com/mycard/login with easy instructions and helpful account tips.

Informational website describing how to access your credit card services using homedepot.com/mycard/login with login and payment guidance.
Tech blog guide showing how to manage Home Depot credit card services through homedepot.com/mycard/login with simple login and payment instructions

TechPulseDaily said...

Helpful website showing how to log in to your credit card account through homedepot.com/mycard/login and manage billing, transactions, and online services.
Informational webpage describing how to manage Home Depot credit card services through homedepot.com/mycard/login with login and payment instructions.
Helpful tutorial guiding users to manage their credit card account through homedepot.com/mycard/login including login steps, bill payments, and account features.

Informative article describing how to handle your Home Depot credit card through homedepot.com/mycard/login with easy instructions for login, payments, and account tools
Activate and manage your credit card easily with homedepot.com/mycard/login, a secure portal to check balances, make payments, and access all your Home Depot account features online anytime.

TechPulseDaily said...

An online portal that allows users to manage their credit card account, including payments and activity, homedepot.com/mycard/login makes account handling simple.
Through homedepot.com/mycard/login, customers can securely check balances, view statements, and track transactions in one convenient place.
homedepot.com/mycard/login provides a convenient way for cardholders to manage billing, payments, and overall account management online.

Users can access their credit account anytime using homedepot.com/mycard/login to stay updated on purchases and due dates.
Designed to help customers efficiently manage services, homedepot.com/mycard/login offers a simple and secure online platform for account control.

TechPulseDaily said...

Easily manage your credit account online through homedepot.com/mycard/login for secure access and quick payment options.
Stay on top of your finances by visiting homedepot.com/mycard/login to check balances and make payments easily.
Access your Home Depot card services anytime with homedepot.com/mycard/login for convenient and secure account management.

Manage your Home Depot credit card easily by visiting homedepot.com/mycard/login to check balances, make payments, and track transactions securely online anytime.
Access your account, pay bills, and monitor spending with ease through homedepot.com/mycard/login, your convenient online portal for Home Depot credit card management.

TechPulseDaily said...

The home depot credit card login lets cardholders securely access their account online. After signing in, you can view your balance, make payments, check recent transactions, and manage your account conveniently from any device.
HomeDepot.com/MyCard is the online portal where eligible Home Depot credit cardholders can manage their card account, make payments, view statements, and monitor recent transactions. Sign in securely to access your account features and keep your card information up to date.


Malwarebytes download guide helps you securely get the latest Malwarebytes setup, understand system requirements, and protect your PC from malware, ransomware, and threats fast.
Malwarebytes download and setup instructions show step‑by‑step how to install and configure Malwarebytes protection on your device to keep it safe from viruses and cyber threats.
Protect your devices with Malwarebytes download for advanced malware removal, real-time protection, and safer online browsing today.

TechPulseDaily said...

Users who want to manage conversations on a bigger screen often rely on WhatsApp web to access chats and send messages directly from their browser.
A complete messaging guide explains how to connect your device and start chatting online with WhatsApp web using a quick QR code setup.
Improve your messaging productivity with useful browser tips and tricks while using WhatsApp web to manage conversations more efficiently.
Staying connected from your desktop becomes simple when you link your phone and start messaging through WhatsApp web on any modern browser.
Setting up messaging on a computer is quick and simple when you connect your phone and access chats through WhatsApp web in your browser

TechPulseDaily said...

Learn how to stay securely logged in on WhatsApp web while managing sessions safely. Also explore for quick setup and seamless internet access anytime.
Access WhatsApp web using a QR code with this complete guide. Learn secure login, key features, and troubleshooting tips to use WhatsApp web quickly and efficiently.
A browser-based messaging platform that lets users send and receive messages from their computer, WhatsApp web connects seamlessly with your mobile app for real-time communication.
Stay connected easily with WhatsApp web to send messages, share files, and manage chats directly from your browser anytime.

Access live sports, entertainment, and TV streaming guides with simple setup instructions using Fubo.tv/link6 to activate your device and start watching quickly.