Funny thing having brain farts. I connected the ISE to the cmdlets a couple weeks ago last time I started writing this script for importing drivers into ConfigMgr 2012.
Greg's blog also explains http://gregramsey.net/2012/11/ Jason Condo | Bennett Adelson<http://www.bennettadelson.com/> | Blog<http://bennettadelson.wordpress.com/> | Cleveland Region Principal Consultant - Systems Management & Operations (M) 234.380.9214 From: [email protected] [mailto:[email protected]] On Behalf Of Niall Brady Sent: Friday, May 10, 2013 4:44 PM To: [email protected] Subject: Re: [mssms] Silly question about PowerShell and ConfigMgr 2012 the below might give you some help also * using System Center 2012 Configuration Manager - Part 12. Connecting Powershell and building a reference image of Windows 8 with .NET 3.5<http://www.windows-noob.com/forums/index.php?/topic/7945-using-system-center-2012-configuration-manager-part-12-connecting-powershell-and-building-a-reference-image-of-windows-8-with-net-35/> * using System Center 2012 Configuration Manager - Part 13. Deploying Windows 8 X64 with custom Start screen<http://www.windows-noob.com/forums/index.php?/topic/8101-using-system-center-2012-configuration-manager-part-13-deploying-windows-8-x64-with-custom-start-screen/> On Fri, May 10, 2013 at 10:30 PM, Jason Condo <[email protected]<mailto:[email protected]>> wrote: Thanks all for the replies. Knew it was something simple and overlooked it yesterday drilling through the adminconsole directory. Jason Condo | Bennett Adelson<http://www.bennettadelson.com/> | Blog<http://bennettadelson.wordpress.com/> | Cleveland Region Principal Consultant - Systems Management & Operations (M) 234.380.9214 From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Ryan Sent: Friday, May 10, 2013 9:47 AM To: [email protected]<mailto:[email protected]> Subject: Re: [mssms] Silly question about PowerShell and ConfigMgr 2012 Open up the console, then click File -> Connect via Windows PowerShell If you want to do this straight from the Powershell ISE, you'll need: Import-Module -path "Path to ConfigurationManager.psd1" CD "SiteCode:\" "SiteCode" should be your 3 digit site code, so for the hydration kit with a site code of PS1 it would be: CD "PS1:\" On Fri, May 10, 2013 at 8:37 AM, Jason Condo <[email protected]<mailto:[email protected]>> wrote: How do you load the PowerShell modules so you can run scripts? I am pulling up the PowerShell ISE and don't see any of the xxx-CMxxxxxx commands available. I am running from a 2012 primary site server with SP1 and CU1 and the console installed so I would expect the PowerShell extensions for ConfigMgr to be there. Everything I see says you just need the console installed but I don't see them on the server or my laptop with 2012 sp1 and cu1 installed. OpsMgr and VMM both have their own PowerShell environment. Is there something more I need to install? Jason Condo

