have added and installed couple of .wsp solutions to farm using following commands:
$getSolution = Get-SPSolution -Identity "MySolution.wsp"
if($getSolution -eq $null)
{
Add-SPSolution -LiteralPath "Path\MySolution.wsp"
}
if($getSolution.Deployed -eq $false )
{
Install-SPSolution –Identity MySolution.wsp -GACDeployment
}
How can I knowing the status by using PowerShell??