Scott Moss just publish a shirt way to load the OpsMgr 2007 snap-in for OpsMgr 2012. I've not tested in my side and I'm not sure it's really a good idea. I would prefere a way to validate my OpsMgr 2007 script for a use in OpsMgr2012.
But here is the link where i found this post : http://om2012.wordpress.com/2012/09/03/loading-the-opsmgr-2007-snap-in-for-opsmgr-2012/
Scott Moss added this recommendation : Please note this was not an exhaustive test, if you are considering running OpsMgr 2007 scripts in an OpsMgr 2012 environment please do so in a lab setup to verify it works as expected before doing this in a production environment.
Well, I just tested this in a lab. Not that it is anything special, just thought I should note this as I did it to just make sure it works. The standard OM07 cmdlets seemed to work with out much trouble. When you load the OpsMgr 2012 console, the OpsMgr 2007 snap-in file is installed as well. You just need to tell PowerShell about it and that is only four lines of code.
This posting is provided "AS IS" with no warranties.
No comments:
Post a Comment