I have custom site template file which i got from the SP2007 site as .stp file..
CustomTemplate.stp
What i need to do is Deploy this site template to SharePoint 2010 Farm..
I know i can do it from stsadm command.. But i need to do it from Powershell command..
If this is not possible please give me a way to install this site template site collection wise..
Basically im asking replacement for following command with Powershell..
Stsadm.exe -o addtemplate -filename C:\CustomTemplate.stp -title "Custom Site"