That said, the real strength of Powershell comes from it's snap-ins. These extensions allow you to do all manner of things. One of those is the ability to script actions in IIS. To get started you'll need to ensure you have the Feature installed on your flavor of Windows. If you don't have it installed, you can either download it here:
or add it via Windows' Programs and Features. Generally on anything late Windows 7 or Server 2008, it's already loaded.
Once installed, you'll need to load the snap-in thus:
From here, you're only limited by the available calls and your imaginations.