May 1, 2010 at 6:15 pm
Comments posted to this topic are about the item How to create Policies using PowerShell scripts
Thanks
Jay
http://www.sqldbops.com
May 3, 2010 at 8:06 pm
Thanks for taking the time to share what you have learned with the community.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
May 3, 2010 at 8:54 pm
Greetings! It is always a gesture of grace to contribute knowledge to a community of those who can most use it. I wish to just comment about the text itself. Please do not take this as offensive, or in any negative way. I have always been a mentor and a part of solutions, not the problem. So if you will...
May I suggest that if the original text was in a language other than English, that the person who is responsible for translation, pay closer attention to the results. Otherwise, may I suggest that the author be more diligent about proofreading the material.
I feel very strongly that the author is a very talented and knowledgeable individual; and even more praise is due for his efforts to help others in their endeavors. However, I also strongly believe that the audience is soon daunted by trying to translate the article, (at least grammatically), and therefore would quickly lose interest in completing the reading of the article. It is noble and kind to help, but it is tragic to consider that these efforts go to waste because they’re simply too difficult to read with any degree of continuity.
May 4, 2010 at 11:48 am
Thanks for your comments & is helpful to correct my writing skills brion. Also for your information, it is not been translated from any other sources, I've written this script and got help from diffrenent resources to resolve the issues on the script. The script which I created was working fine when I execute it inside the Powershell window but the same script if you call it from DOS prompt it thrown error due to missing libraries, which Sethu helped to resolved.
Anyway thanks again for your comments...
Thanks
Jay
http://www.sqldbops.com
November 20, 2010 at 3:49 pm
I have some few questions to the author with regards to the windows powershell scripts:
1) Can we integrate the powershell scripts to the Policy Management or shall I say can we add this script using the GUI in policy management?
2)How can we implement a policy in powershell script that upon creation of a certain store procedure which does not conforms to the performance best practices it will autmatically returned error and it shall not be created?
🙂 Thanks.
December 30, 2010 at 10:53 am
Sorry for the delayed answer.
1) Can we integrate the powershell scripts to the Policy Management or shall I say can we add this script using the GUI in policy management?
[Answer]Per my knowledge, there is no option to integrate the powershell scripts in the PBM because the facets are predefined and can not be modified.
2)How can we implement a policy in powershell script that upon creation of a certain store procedure which does not conforms to the performance best practices it will autmatically returned error and it shall not be created?
[Answer]If I understood your question correctly, the answer is no, the policies can evaluate the created objects and defined facets.
Thanks
Jay
http://www.sqldbops.com
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply