I have a Visual Studio project that I want to use to deploy a few CSS files, images and a master page to a SharePoint 2010 site that I have (the site will be pretty basic, simple BI type site with reports and Dashboards). I want to automate this with TFS and PowerShell with WinRM. I have the WinRM all complete, as I remote to the SP server, and can execute any PowerShell from there. I am working on trying to put together the PowerShell script to deploy the wsp file out to SharePoint. I am currently doing this
Add-PSSnapin Microsoft.SharePoint.PowerShell Install-SPSolution –Identity SharepointDeployer.wsp –GACDeployment
I do not get any errors or anything, and I see that the deployment was successful in Central Admin, but the files are not deployed when I look at SharePoint Designer. The files are all set to over-right in Visual Studio (IgnoreIfAlreadyExists="FALSE" Type="GhostableInLibrary") so I am not sure what the issue is. I am not a SharePoint or PowerShell expert, so correct me if this is not the way one would do this, as I am just following what I have seen online.