'Deploy a sharepoint 2010 timer job solution with powershell

We made a solution containing a custom timer job that needs to be deployed on a server with sharepoint 2010 but without visual studio 2010.

How can this be done ? I haven't find anything regarding this issue.

thanks



Solution 1:[1]

first thing find it out your feature scope of Timer job executed. you should install and deployed your WSP of solution using SharePoint Management Shell.

go to :

Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell

open it and

Add Solution:

Add-SPSolution c:\wspfilename.wsp

Deploy/Install Solution:

Install-SPSolution –Identity wspfilename.wsp –WebApplication http://contoso.com -GACDeployment

afterward you can activated feature manually or using Management Shell like here

Hops it helps!!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community