To attach or detach a content database by using Windows PowerShell
Attach database.
Mount-SPContentDatabase "<ContentDb>" -DatabaseServer "<DbServer>" -WebApplication http://SiteName
Detach database
Dismount-SPContentDatabase "<ContentdBName>"
Update-SPSolution –Identity Lyck.Common.wsp –LiteralPath “C:\UpdateSolutions\20140826\Lyck.Common.wsp” –GacDeployment
Remove-SPSolution -Identity Lyck.Common.wsp
Add-SPSolution -LiteralPath C:\UpdateSolutions\20141201\Lyck.Common.wsp
Install-SPSolution -Identity Lyck.Common.wsp -GACDeployment
Get Error from correlationid script
replace with your correlationid.
get-splogevent | ?{$_.Correlation -eq "d871d853-a72c-458a-a2ea-b007fedcb73a "} | select Area, Category, Level, EventID, Message | Format-List
Ingen kommentarer:
Send en kommentar