Welcome to Aquilaweb

MVP David Allen's weblog advising on
System Center Operations Manager

MP to XML

If your working with OpsMan you may well have already come across this handy script from Boris Yanushpolsky that will convert a sealed management pack to XML.


http://blogs.msdn.com/boris_yanushpolsky/archive/2007/08/16/unsealing-a-management-pack.aspx


There is clear instruction on how to use the script, however, when you try running the script you may receive a security message as below which will prevent the script from running.


PowerShell Security


To work round this issue you can change the script execution mode to unrestricted. This will not allow all scripts just to run but it will give you the option whether you want to run a script or not rather than just blocking it. Changing the execution mode only involves one short command...


Set-ExecutionPolicy Unrestricted


You should now be able to run this script and any others you have written or trust.


For more information on script security and the other security options check out this TechNet article. The article states it applies to Exchange Server 2007 but it is equally relevant for OpsMan.


http://technet.microsoft.com/en-us/library/bb125017(EXCHG.80).aspx






12 Apr, 2008 | David



« Prev item - Next Item »
---------------------------------------------

Comments


No comments yet. You can be the first!



Leave comment

This item is closed, it's not possible to add new comments to it or to vote on it