I have a PowerShell script that checks the CPU level of the server it is running on, and then if it is above a certain threshold it will run a SQL stored procedure and e-mai
PowerShell v2 doesn't auto-load modules, so you need to load the relevant modules or snapins yourself:
Add-PSSnapin SqlServerCmdletSnapin100 Add-PSSnapin SqlServerProviderSnapin100
[Source]