Error on createchildcontrols

Jun 27, 2011 at 12:52 PM

I try to import PowerModule and I get "

PowerShell Exception:
The term 'createchildcontrols' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Stack:
at iLoveSharePoint.WebControls.PowerControl.Render(HtmlTextWriter writer) at iLoveSharePoint.WebControls.PowerWebPart.RenderContents(HtmlTextWriter writer)

 

The code is correct when running in the webpart.