PowerShell Installing software remotely on Multiple Computers

preview_player
Показать описание
In this video you will be able to install software remotely. You have to ensure that you identify the silent installer switch to use in Script. You can get it on Google as always. I am giving the script which is working 100 % for me and I have shown you demo in this video.

Script is as below. copy and paste it in PowerShell ISE and use it.
===========================================================

Foreach ($Server in $Servers) {
$Test = Test-Path -path "\\$Server\c$\Temp\"

If ($Test -eq $True) {Write-Host "Path exists, hence installing softwares on $Server."}

Else {(Write-Host "Path doesnt exists, hence Creating foldet on $Server and starting installation") , (New-Item -ItemType Directory -Name Temp -Path "\\$Server\c$")}
Echo "Copying Files to C:\Temp\"
Copy-Item $Folder "\\$Server\c$\Temp\"
echo "Second Part :- Installing Software on $Server"

}

}
============================================================
Рекомендации по теме
Комментарии
Автор

Thank you for your video friend, I am using your script for some software installations and works wonderful

ialvafranco
Автор

This is very helpful. Thank you so much for sharing your knowledge.

MrJunstork
Автор

Very useful video, thanks for sharing.

desmondeguakun
Автор

Thank you very much for sharing the video..

cybersecurity
Автор

Thank you very much .... very helpful!

Weddi_Ammadder
Автор

Great Stuff! How can we check if the software is already installed before trying to install?

rinceantony
Автор

if we add parameter like success or failed installation output like CSV file how to do that. please add this lines so it would be useful.

TheDASTHA
Автор

how do you use it if you only allowed to install on the remote admin account. I have admin name and password of the remote computer.

denmyos
Автор

while installing i am getting this error on event log : Exception code:
Fault offset: 0x0000ab67
Faulting process id: 0x1c90

chella
Автор

Thank you! I've been beating my head against the wall trying to get .exe's to install. &cmd.exe did the trick

ronfisher
Автор

Hello. For example my LivePCs.txt and my Softwares at in a USB Drive and not in Local C Drive. What do i replace with the "C:?" To the actual USB Drive?

NanafiedEmm
Автор

I am doing this work on virtualbox. Using one DC and two member servers off that DC.

The installation files are being copied but it is stuck here for a long time the Second Part 1 : Installing software on SVR1 (my 1st member server name).

ibteshamahmed
Автор

Thanks, But In my case I don't have servers but want to install software's on multiple laptops is it possible? maybe my i can share my folders if i execute, whether it will works or guide

arunachalama
Автор

What would i need to do, if the software I am installing requires I type an IP (for updates purposes) and then finish the installation, how or where do i specify in the script to put that ip during the installation. ?

jorgebarrientos
Автор

hey it shows error the network name cannot be found. can u help me ?

xcnvfsm
Автор

Hi folks! I starting to learn PowerShell and understand it. Does anyone could tell me why is put "c$" in $Test = Test-Path -path "\\$Server\c$\Temp\"? c is the C: drive, but the $ what does that mean? If there's a link to a documentation that you can suggest me, it'd be great. I appreciate it. Thanks in advance!!!

NBDREWDEFENDER
Автор

Hi, getting error Invoke-Command : Cannot convert 'System.Object[]' to the type required by
parameter 'ScriptBlock'. Specified method is not supported.

asharaf
Автор

Just confused where you declared $Server since $Servers is declared but $Server isnt declared. So how powershell is understanding that each name in the .txt file is to be considered as $Server

ronitdeshmukh
Автор

Hi friend, this video is very useful, but i am facing one issue. I can able to create folder and copy exe/msi to the remote computer folder. All these pc in domain.
I tried to install Adobe dc reader and putty. From the task manager i can see exe is running, but nothing happen, means not installing. Do i need to enable any port etc. i am executing from administrator and admin.
Windows remote manager service is running and in firewall in bound policy for windows remote management i enabled. Can you please help me here.

Japan
Автор

Hey,
I followed your script, and I imported your script into SCCM and run your script through SCCM, it says script executed successfully, but when I go to the other VM’s I don’t see the installed softwares…I need help…Please 😭

DMV_Burna