It’s easy to create a site collection using PowerShell as seen in an earlier post. Now let’s see how easy it is to delete a site collection using PowerShell cmdlet. It’s any day efficient way to create and delete site collections using PowerShell then use Central Administration GUI.
For the purpose of testing we will
· Create a site collection named 2Delete using a site template STS#0
· Delete a site collection named 2Delete