<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://myitforum.com/cs2/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Ying Li(MVP) at myITforum.com</title><link>http://myitforum.com/cs2/blogs/yli628/default.aspx</link><description>PowerShell Script to...</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>PowerShell script to remove virtual machine from VMWare Infrastructure</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/19/powershell-script-to-remove-virtual-machine-from-vmware-infrastructure.aspx</link><pubDate>Wed, 20 Aug 2008 00:57:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:121420</guid><dc:creator>yli628</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=121420</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/19/powershell-script-to-remove-virtual-machine-from-vmware-infrastructure.aspx#comments</comments><description>Forget about the trip to Las Vegas I mentioned before, I started to like VMWare VI Tookkit the more I use it! You just need to cultivate a habit, every time if you need to repetitively doing something...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/08/19/powershell-script-to-remove-virtual-machine-from-vmware-infrastructure.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=121420" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>PowerShell Script to Take Snapshot on Multiple VM Machines</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/18/powershell-script-to-take-snapshot-on-multiple-vm-machines.aspx</link><pubDate>Tue, 19 Aug 2008 03:26:25 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:121395</guid><dc:creator>yli628</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=121395</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/18/powershell-script-to-take-snapshot-on-multiple-vm-machines.aspx#comments</comments><description>In my previous Blog , I introduced some basics about VMWare Infrastructure Toolkit. Now let&amp;#39;s put it into action! Let&amp;#39;s say you have a test MOSS or SMS virtual environment, you have a couple of...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/08/18/powershell-script-to-take-snapshot-on-multiple-vm-machines.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=121395" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>PowerShell Script to refresh GPO remotely on multiple computers</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/14/powershell-script-to-refresh-gpo-remotely-on-multiple-computers.aspx</link><pubDate>Thu, 14 Aug 2008 19:34:19 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:121306</guid><dc:creator>yli628</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=121306</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/14/powershell-script-to-refresh-gpo-remotely-on-multiple-computers.aspx#comments</comments><description>Here is a KB article explains how to refresh the Group Policy Settings on remote computers. Basiclly you need to download PsTools from SysInternals and run something like this: For Windows XP Computers...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/08/14/powershell-script-to-refresh-gpo-remotely-on-multiple-computers.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=121306" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Data Warehouse failed to enumerate database components to be deployed</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/12/data-warehouse-failed-to-enumerate-database-components-to-be-deployed.aspx</link><pubDate>Tue, 12 Aug 2008 23:43:34 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:121232</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=121232</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/12/data-warehouse-failed-to-enumerate-database-components-to-be-deployed.aspx#comments</comments><description>Right after I imported a couple of new MP to our OpsMgr environment, I started to get the below alert: Alert: Data Warehouse failed to enumerate database components to be deployed Source: XYZOPMP01.related...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/08/12/data-warehouse-failed-to-enumerate-database-components-to-be-deployed.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=121232" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>Introducing VMWare Infrastructur Toolkit (for Windows) 1.0</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/11/introducing-vmware-infrastructur-toolkit-for-windows-1-0.aspx</link><pubDate>Tue, 12 Aug 2008 02:26:47 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:121208</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=121208</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/11/introducing-vmware-infrastructur-toolkit-for-windows-1-0.aspx#comments</comments><description>Recently VMWare released their version of PowerShell Cmdlets called VI ToolKit. You can download it Here and it is free! VMWare is also challenging the world&amp;#39;s VI administrators for a scripting contest...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/08/11/introducing-vmware-infrastructur-toolkit-for-windows-1-0.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=121208" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>PowerShell Script to Schedule a Task - Task Scheduler API</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/06/powershell-script-to-schedule-a-task-task-scheduler-api.aspx</link><pubDate>Wed, 06 Aug 2008 04:23:58 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120950</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120950</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/06/powershell-script-to-schedule-a-task-task-scheduler-api.aspx#comments</comments><description>In my previous post , I blogged about how to use PowerShell to retrieve scheduled tasks (Task Scheduler API). Today I will go one step further and discuss how to create a scheduled task using PowerShell...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/08/06/powershell-script-to-schedule-a-task-task-scheduler-api.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120950" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Open Microsoft SQL Server Management Studio on Windows Server 2008 box</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/04/open-microsoft-sql-server-management-studio-on-windows-server-2008-box.aspx</link><pubDate>Mon, 04 Aug 2008 17:16:04 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120881</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120881</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/08/04/open-microsoft-sql-server-management-studio-on-windows-server-2008-box.aspx#comments</comments><description>As you may already noticed, when working with Windows Server 2008, there are a lot of nuances we need to pay attention like if you are trying to open Microsoft SQL Server Management Studio, you will get...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/08/04/open-microsoft-sql-server-management-studio-on-windows-server-2008-box.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120881" width="1" height="1"&gt;</description></item><item><title>Where is PowerShell on Windows Server 2008</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/31/where-is-powershell-on-windows-server-2008.aspx</link><pubDate>Thu, 31 Jul 2008 04:11:31 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120681</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120681</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/31/where-is-powershell-on-windows-server-2008.aspx#comments</comments><description>As you may already know that Windows PowerShell 1.0 for the first time included as part of the Windows Operating System on Windows Server 2008. But where is it on Windows Server 2008 - for a brand new...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/31/where-is-powershell-on-windows-server-2008.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120681" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>Pushing OpsMgr SP1 Agent to Windows Server 2008</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/30/pushing-opsmgr-sp1-agent-to-windows-server-2008.aspx</link><pubDate>Thu, 31 Jul 2008 03:41:08 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120680</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120680</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/30/pushing-opsmgr-sp1-agent-to-windows-server-2008.aspx#comments</comments><description>I have a couple of brand new Windows Server 2008 setup and trying to push OpsMgr agent to them but I got the below error: The MOM Server would not execute WMI Query &amp;quot;Select * from Win32_Operatingsystem&amp;quot;...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/30/pushing-opsmgr-sp1-agent-to-windows-server-2008.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120680" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>How to detach SUSDB that is "currently in use"</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/30/how-to-detach-susdb-that-is-quot-currently-in-use-quot.aspx</link><pubDate>Thu, 31 Jul 2008 03:16:44 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120679</guid><dc:creator>yli628</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120679</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/30/how-to-detach-susdb-that-is-quot-currently-in-use-quot.aspx#comments</comments><description>I am setting up ConfigMgr SP1 on Windows Server 2008 and I installed WSUS 3.0 SP1 and the SUSDB resides on the same box with ConfigMgr Database. After the setup, I am trying to follow the SQL best practice...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/30/how-to-detach-susdb-that-is-quot-currently-in-use-quot.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120679" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/ConfigMgr+2007/default.aspx">ConfigMgr 2007</category></item><item><title>PowerShell Script to retrieve scheduled tasks on a remote machine - Task Scheduler API</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/28/powershell-script-to-retrieve-scheduled-tasks-on-a-remote-machine-task-scheduler-api.aspx</link><pubDate>Tue, 29 Jul 2008 00:24:13 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120577</guid><dc:creator>yli628</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120577</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/28/powershell-script-to-retrieve-scheduled-tasks-on-a-remote-machine-task-scheduler-api.aspx#comments</comments><description>Rod Trent posted a PowerShell script for Getting the List of Scheduled Tasks . I have the need the other day to retrieve scheduled tasks on a remote server. I give it a try but to my surprise, it doesn&amp;#39;t...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/28/powershell-script-to-retrieve-scheduled-tasks-on-a-remote-machine-task-scheduler-api.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120577" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>OpsMgr: Why all my agents turn gray - OpsMgr Healthservice must run under local system account!!!</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/24/opsmgr-why-all-my-agents-turn-gray-opsmgr-healthservice-must-run-under-local-system-account.aspx</link><pubDate>Thu, 24 Jul 2008 04:19:54 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120389</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120389</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/24/opsmgr-why-all-my-agents-turn-gray-opsmgr-healthservice-must-run-under-local-system-account.aspx#comments</comments><description>The other day, I was working with Quest support for the eXc Blackberry monitoring software. We tried to delete/import their MP. During the process, I will need to input the password for the account which...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/24/opsmgr-why-all-my-agents-turn-gray-opsmgr-healthservice-must-run-under-local-system-account.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120389" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>PowerShell Script to identify Agent  which needs to have "proxying" enabled</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/21/powershell-script-to-identify-agent-which-needs-to-have-quot-proxying-quot-enabled.aspx</link><pubDate>Tue, 22 Jul 2008 02:18:02 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:120241</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=120241</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/21/powershell-script-to-identify-agent-which-needs-to-have-quot-proxying-quot-enabled.aspx#comments</comments><description>Every now and then, I get an alert like this: Alert: Agent proxying needs to be enabled for a health service to submit discovery data about other computers. Source: xyzopmp04.related.com Path: xyzopmp04...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/21/powershell-script-to-identify-agent-which-needs-to-have-quot-proxying-quot-enabled.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=120241" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>PowerShell Script to work with DNS WMI Provider</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/15/powershell-script-to-work-with-dns-wmi-provider.aspx</link><pubDate>Wed, 16 Jul 2008 00:11:25 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:119965</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=119965</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/15/powershell-script-to-work-with-dns-wmi-provider.aspx#comments</comments><description>The DNS WMI provider exposes a number of DNS objects, including DNS Servers, DNS domains, DNS Zones and DNS Resource Records etc. We could use these objects to manage DNS and you guess it, through PowerShell...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/15/powershell-script-to-work-with-dns-wmi-provider.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=119965" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>PowerShell Script to Put the Agent, the Health Service and the Health Service Watcher on the Agent into Maintenance Mode Revisited</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/11/powershell-script-to-put-the-agent-the-health-service-and-the-health-service-watcher-on-the-agent-into-maintenance-mode-revisited.aspx</link><pubDate>Fri, 11 Jul 2008 18:26:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:119788</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=119788</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/11/powershell-script-to-put-the-agent-the-health-service-and-the-health-service-watcher-on-the-agent-into-maintenance-mode-revisited.aspx#comments</comments><description>This is an update version of my previous Post I realize there are may be confusions regarding running OpsMgr related script in regular PowerShell console for some people. This script is for you to directly...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/11/powershell-script-to-put-the-agent-the-health-service-and-the-health-service-watcher-on-the-agent-into-maintenance-mode-revisited.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=119788" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>PowerShell Script to check OpsMgr Agents Service and HealthState</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/10/powershell-script-to-check-opsmgr-agents-service-and-healthstate.aspx</link><pubDate>Thu, 10 Jul 2008 04:10:26 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:119660</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=119660</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/10/powershell-script-to-check-opsmgr-agents-service-and-healthstate.aspx#comments</comments><description>Here is a PowerShell script to check OpsMgr Agents Service and HealthState You need to either run it in Operation Manager&amp;#39;s own command shell or you can use regular PowerShell console as mentioned...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/10/powershell-script-to-check-opsmgr-agents-service-and-healthstate.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=119660" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>OpsMgr 2007 Web Console Remote Access - Unexpected Error</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/09/opsmgr-2007-web-console-remote-access-unexpected-error.aspx</link><pubDate>Thu, 10 Jul 2008 00:10:40 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:119652</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=119652</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/09/opsmgr-2007-web-console-remote-access-unexpected-error.aspx#comments</comments><description>When I try to access my OpsMgr 2007 SP1 Web Console remotely as an regular user, I got the below error The Application Event log on my RMS/Web Console has the below error: Event Type: Warning Event Source...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/09/opsmgr-2007-web-console-remote-access-unexpected-error.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=119652" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>IIS7 PowerShell Provider CTP2 Released</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/03/iis7-powershell-provider-ctp2-released.aspx</link><pubDate>Fri, 04 Jul 2008 00:20:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:119358</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=119358</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/03/iis7-powershell-provider-ctp2-released.aspx#comments</comments><description>Microsoft released PowerShell Provider CTP2 for IIS7 yesterday and you can download it Here I just installed it on my Vista SP1 machine. It installs without issue (Require you turn on IIS7 and Windows...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/03/iis7-powershell-provider-ctp2-released.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=119358" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>PowerShell Summer Olympics</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/02/powershell-summer-olympics.aspx</link><pubDate>Wed, 02 Jul 2008 23:43:26 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:119294</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=119294</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/02/powershell-summer-olympics.aspx#comments</comments><description>Quest is holding their Summer Olympics (PowerShell) not in Beijing but Here . You could get your hands dirty with PowerGUI and could potentially win anywhere from $250 to $500 gift certificates to Amazon...(&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/07/02/powershell-summer-olympics.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=119294" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>2008 Microsoft® MVP Award</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/01/2008-microsoft-174-mvp-award.aspx</link><pubDate>Wed, 02 Jul 2008 03:36:40 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:119253</guid><dc:creator>yli628</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=119253</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/07/01/2008-microsoft-174-mvp-award.aspx#comments</comments><description>&lt;p&gt;Just got an email from Microsoft and I got the 2008 MVP Award in Admin Frameworks. This is the second year in a row! What a great independence day gift! Cheers! &lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=119253" width="1" height="1"&gt;</description></item><item><title>Setup ConfigMgr 2007 SP1 from start to finish</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/25/setup-configmgr-2007-sp1-from-start-to-finish.aspx</link><pubDate>Wed, 25 Jun 2008 18:16:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:118993</guid><dc:creator>yli628</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=118993</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/25/setup-configmgr-2007-sp1-from-start-to-finish.aspx#comments</comments><description>&lt;p&gt;As I promised, I will share this end to end ConfigMgr SP1 setup guide. This is for fresh install not for upgrade. You could literally get your ConfigMgr environment up and running within hours! This is for the core infrastructure and you could extend the hierarchy according to your environment.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/yli628/attachment/118993.ashx"&gt;Download Doc&lt;/a&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=118993" width="1" height="1"&gt;</description><enclosure url="http://myitforum.com/cs2/blogs/yli628/attachment/118993.ashx" length="643374" type="application/vnd.openxmlformats-officedocument.word" /><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/ConfigMgr+2007/default.aspx">ConfigMgr 2007</category></item><item><title>PowerShell script to add multiple A records in DNS</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/19/powershell-script-to-add-multiple-a-records-in-dns.aspx</link><pubDate>Thu, 19 Jun 2008 22:58:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:118723</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=118723</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/19/powershell-script-to-add-multiple-a-records-in-dns.aspx#comments</comments><description>&lt;p&gt;Recently I am focused on to design and implement ConfigMgr for our company. Unfortunately there are no native support for PowerShell in ConfigMgr yet. So if you see I am “slacking”, you know why! &lt;img src="http://myitforum.com/cs2/blogs/yli628/smile1.gif" alt="" /&gt;&amp;nbsp;But I am finishing up a ConfigMgr SP1 setup guide and will share it soon.&lt;/p&gt;
&lt;p&gt;Lately our team received a lot requests to add new DNS records for our testing web server, I am getting tired to add A record in DNS manually for those Host headers in IIS. Here is what I come up&lt;/p&gt;
&lt;p&gt;#xyz is dns servername&lt;/p&gt;
&lt;p&gt;$A = [wmiclass]&amp;quot;&lt;a&gt;\\xyz\root\MicrosoftDNS:MicrosoftDNS_AType&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;$DNSServer = &amp;quot;xyz.R-test.com&amp;quot;&lt;br /&gt;$Zone = &amp;quot;R-Test.com&amp;quot;&lt;br /&gt;$class = 1&lt;br /&gt;$TTL = 3600&lt;/p&gt;
&lt;p&gt;#This is your web server IP Address&lt;br /&gt;$IPAddress = &amp;quot;192.168.1.88&amp;quot;&lt;/p&gt;
&lt;p&gt;$Sites = Get-content WebSites.txt&lt;/p&gt;
&lt;p&gt;Foreach ($Site in $Sites)&lt;br /&gt;{&lt;br /&gt;$A.CreateInstanceFromPropertyData($DNSserver, $zone, $Site, $class, $ttl, $IPAddress)&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;The WebSites.txt is something look like this:&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;whatever1.R-test.com&lt;/span&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;whatever2&lt;/span&gt;.R-test.com&lt;/span&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;whatever3&lt;/span&gt;.R-test.com&lt;/span&gt;&lt;span style="mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;whatever4&lt;/span&gt;.R-test.com&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;…&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;If whateverx already has a DNS A record, you will get something like this:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Exception calling &amp;quot;CreateInstanceFromPropertyData&amp;quot; : &amp;quot;Generic failure &amp;quot;&lt;br /&gt;At C:\Documents and Settings\Administrator.RELATED-TEST\My Documents\AddDNSARecords.ps1:13 cha&lt;br /&gt;+ $A.CreateInstanceFromPropertyData( &amp;lt;&amp;lt;&amp;lt;&amp;lt; $DNSserver, $zone,$Site, $class, $ttl, $IPAddress)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Thanks Richard Siddaway for his post &lt;a href="http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!1018.entry"&gt;Here&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=118723" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Breakthrough Product of TechEd 2008</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/16/breakthrough-product-of-teched-2008.aspx</link><pubDate>Tue, 17 Jun 2008 01:03:55 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:118581</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=118581</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/16/breakthrough-product-of-teched-2008.aspx#comments</comments><description>The word is out, at the TechEd 2008 for IT Professional (June 10&amp;ndash;13, 2008), &lt;a href="http://www.powergui.org/index.jspa"&gt;PowerGUI&lt;/a&gt;&amp;nbsp;has received the highest award &amp;ndash; The breakthrough product of the show.&amp;nbsp;If you haven&amp;rsquo;t tried already, You can download from the link above. Trust me, you sure will like it! Kudos to Dimitry and his team! &lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=118581" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Sysinternals Live beta avaliable</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/11/sysinternals-live-beta-avaliable.aspx</link><pubDate>Thu, 12 Jun 2008 03:19:35 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:118379</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=118379</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/11/sysinternals-live-beta-avaliable.aspx#comments</comments><description>If you are a fan of the Sysinternals tools, check out the beta of &lt;a href="http://live.sysinternals.com/"&gt;Sysinternals Live&lt;/a&gt;&amp;nbsp;, a service that can let you execute Sysinternals tools directly from the Web without hunting for or manuallly downloading them. Simply enter a tool&amp;rsquo;s Sysinternals Live path into Windows Explorer, or at the command prompt as \\live.sysinternals.com\tools\,toolname&amp;gt;, or view the entire Sysinternals Live tools directory in a browser.&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=118379" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Microsoft/default.aspx">Microsoft</category></item><item><title>How to establish primary-site-to-primary-site communications in ConfigMgr (SCCM)</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/09/how-to-establish-primary-site-to-primary-site-communications-in-configmgr-sccm.aspx</link><pubDate>Mon, 09 Jun 2008 22:14:02 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:118293</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=118293</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/06/09/how-to-establish-primary-site-to-primary-site-communications-in-configmgr-sccm.aspx#comments</comments><description>&lt;p&gt;I am working on to setup a new ConfigMgr (SCCM) hierarchy.&amp;nbsp;The first hurdle I have to overcome is once I have the&amp;nbsp;central site&amp;nbsp;(RP and SUP) and the main primary site setup.&amp;nbsp;The standard sender is automatically created for me and all I need is to create the addresses for each site as detailed in &lt;a href="http://technet.microsoft.com/en-us/library/bb680457.aspx"&gt;How to Create Configuration Manager Site Addresses&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So end of the story? Not quite, at least for me.&lt;/p&gt;
&lt;h2 class="heading"&gt;To create a Configuration Manager site address&lt;/h2&gt;
&lt;div class="section"&gt;
&lt;ol class="ordered"&gt;
&lt;li&gt;
&lt;p&gt;In the Configuration Manager console, navigate to &lt;b&gt;System Center&lt;/b&gt; &lt;b&gt;Configuration Manager&lt;/b&gt; / &lt;b&gt;Site Database&lt;/b&gt; / &lt;b&gt;Site Management&lt;/b&gt; / &amp;lt;&lt;i&gt;site code&lt;/i&gt;&amp;gt; - &amp;lt;&lt;i&gt;site name&lt;/i&gt;&amp;gt; / &lt;b&gt;Site Settings&lt;/b&gt; / &lt;b&gt;Addresses&lt;/b&gt;.&lt;/p&gt;
&lt;li&gt;
&lt;p&gt;Right-click &lt;b&gt;Addresses&lt;/b&gt; and then click &lt;b&gt;New&lt;/b&gt;.&lt;/p&gt;
&lt;li&gt;
&lt;p&gt;Select the type of address that you want to create to start the appropriate &lt;b&gt;New Address Wizard&lt;/b&gt;.&lt;/p&gt;
&lt;li&gt;
&lt;p&gt;To finish installing the address, complete the &lt;b&gt;General&lt;/b&gt;, &lt;b&gt;Schedule&lt;/b&gt;, and &lt;b&gt;Rate Limits&lt;/b&gt; pages of the &lt;b&gt;New Address Wizard&lt;/b&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
&lt;p&gt;&lt;img alt="New Address" src="http://myitforum.com/cs2/blogs/yli628/New_20Address_small1.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;As this is brand new setup &amp;ndash; there is nothing to select when you click the down arrow next to Destination site code.&amp;nbsp;Actually we do can type with a list box even though this is not really new but somehow that down arrow hard coded my brain and make me believe I can only &amp;ldquo;select&amp;rdquo; not type. That almost cost me a PSS call! &lt;/p&gt;
&lt;p&gt;Once I type in the destination code and type in the Site Server name (if the site you need to connect is 901 on server USNYSCCM01, the destination code should be 901 and the Site server name should be USNYSCCM01!). All I need to do is to wait until the the address from 901 &amp;ndash; (Unknown) to 901 &amp;ndash; Headquarter.&lt;/p&gt;
&lt;p&gt;There is one more thing that bothers me but I don&amp;rsquo;t know if it is by design. On the central site, I can see the above change but on the primary site console.&amp;nbsp;it stays as 900 &amp;ndash; (Unknown). But if you look at it on the console in central site &amp;ndash; it indeed change to 900 &amp;ndash; Central Site!&lt;/p&gt;
&lt;p&gt;The bottom line is I know it is working!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=118293" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/ConfigMgr+2007/default.aspx">ConfigMgr 2007</category></item><item><title>Powershell script to change 'MaximumQueueSizeKb' registry value on multiple servers.</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/28/powershell-script-to-change-maximumqueuesizekb-registry-value-on-multiple-servers.aspx</link><pubDate>Wed, 28 May 2008 22:15:18 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:117815</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=117815</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/28/powershell-script-to-change-maximumqueuesizekb-registry-value-on-multiple-servers.aspx#comments</comments><description>&lt;p&gt;In our SCOM 2007 environment, we get a lot of the below alert:&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Alert: Alert generated by Send Queue % Used Threshold&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Source: xyz.related.com&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Path: xyz.related.com&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Last modified by: System&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Last modified time: 5/22/2008 6:29:13 PM Alert description: The current value of 60.2739067077637 is outside the accepted threshold&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Alert view link: &amp;quot;&lt;/font&gt;&lt;a href="http://whatever:51908/default.aspx?displaymode="&gt;&lt;font face="Consolas" size="3"&gt;http://whatever:51908/default.aspx?DisplayMode=Pivot&amp;amp;AlertID={d815369d-b5f9-4b03-a572-fa9857e781af}&lt;/font&gt;&lt;/a&gt;&lt;font face="Consolas" size="3"&gt;&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Notification subscription ID generating this message: {4B6F3971-955E-1491-6D82-5C22F1466FC2}&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;Stefan Stranger has a &lt;a href="http://weblog.stranger.nl/increase_agent_sender_queue_size_for_scom_2007"&gt;Blog&lt;/a&gt;&lt;font face="Consolas" size="3"&gt;&amp;nbsp;about this. He mentioned that we need to increase the size of the following registry key:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\%Management Groupname%\MaximumQueueSizeKb] &lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;Which I have been using to fix the alert and for some server, I even go one step further changing the size to 61440. But I kind tired of doing this on each server &amp;ndash; the solution is PowerShell and remote registry!&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;Mow has a &lt;a href="http://mow001.blogspot.com/2005/10/startrdp-script.html"&gt;blog&lt;/a&gt;&amp;nbsp;about using PowerShell to change the remote registry key.&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;Enlighten by their work, I come up with the below script to use PowerShell changing registry key on multiple remote server and report in excel:&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&lt;br /&gt;$a = New-Object -comobject Excel.Application&lt;br /&gt;$a.visible = $True &lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;$b = $a.Workbooks.Add()&lt;br /&gt;$c = $b.Worksheets.Item(1)&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&lt;br /&gt;$c.Cells.Item(1,1) = &amp;quot;Server Name&amp;quot;&lt;br /&gt;$c.Cells.Item(1,2) = &amp;quot;Old MaximumQueueSizeKb&amp;quot;&lt;br /&gt;$c.Cells.Item(1,3) = &amp;quot;New MaximumQueueSizeKb&amp;quot;&lt;br /&gt;$c.Cells.Item(1,4) = &amp;quot;Report Time Stamp&amp;quot;&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;$d = $c.UsedRange&lt;br /&gt;$d.Interior.ColorIndex = 19&lt;br /&gt;$d.Font.ColorIndex = 11&lt;br /&gt;$d.Font.Bold = $True&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;$intRow = 2&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;$colComputers = get-content C:\MachineList.txt&lt;br /&gt;foreach ($strComputer in $colComputers)&lt;br /&gt;{&lt;br /&gt;$c.Cells.Item($intRow,1)&amp;nbsp; = $strComputer.Toupper()&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;Function GetRegInfo&lt;br /&gt;{&lt;br /&gt;$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey(&amp;#39;LocalMachine&amp;#39;, $strComputer)&lt;br /&gt;$key=&amp;quot;SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\XYZ Enterprise Apps&amp;quot;&lt;br /&gt;$regKey = $reg.OpenSubKey($key)&lt;br /&gt;$max = $regkey.GetValue(&amp;quot;MaximumQueueSizeKb&amp;quot;)&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;If($max -eq &amp;#39;15360&amp;#39;)&lt;br /&gt;{&lt;br /&gt;$c.Cells.Item($intRow,2).Interior.ColorIndex = 3&lt;br /&gt;$c.Cells.Item($intRow,2) = $max&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;#$True make the registry key writable&lt;br /&gt;$regKey = $reg.OpenSubKey($key, $True)&lt;br /&gt;$regkey.SetValue(&amp;#39;MaximumQueueSizeKb&amp;#39;, 30720)&lt;br /&gt;$newmax =&amp;nbsp; $regkey.GetValue(&amp;quot;MaximumQueueSizeKb&amp;quot;)&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;$c.Cells.Item($intRow,2) = $newmax&lt;br /&gt;}&lt;br /&gt;Else&lt;br /&gt;{$c.Cells.Item($intRow,2) = $max}&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;}&lt;br /&gt;GetRegInfo&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;$c.Cells.Item($intRow,4) = Get-date&lt;br /&gt;&amp;nbsp;&lt;br /&gt;$intRow = $intRow + 1&lt;br /&gt;}&lt;br /&gt;$d.EntireColumn.AutoFit()&lt;br /&gt;cls&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;br /&gt;Happy PowerShelling and Sharing!&lt;/p&gt;
&lt;p class="MsoPlainText" style="margin:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=117815" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item><item><title>PowerShell script to collect server inventory</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/27/powershell-script-to-collect-server-inventory.aspx</link><pubDate>Tue, 27 May 2008 18:10:53 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:117744</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=117744</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/27/powershell-script-to-collect-server-inventory.aspx#comments</comments><description>&lt;p&gt;$erroractionpreference = &amp;quot;SilentlyContinue&amp;quot;&lt;/p&gt;
&lt;p&gt;$a = New-Object -comobject Excel.Application&lt;br /&gt;$a.visible = $True &lt;/p&gt;
&lt;p&gt;$b = $a.Workbooks.Add()&lt;br /&gt;$c = $b.Worksheets.Item(1)&lt;/p&gt;
&lt;p&gt;$c.Cells.Item(1,1)&amp;nbsp; = &amp;quot;Organization&amp;quot;&lt;br /&gt;$c.Cells.Item(1,2)&amp;nbsp; = &amp;quot;Server Name&amp;quot;&lt;br /&gt;$c.Cells.Item(1,3)&amp;nbsp; = &amp;quot;Operating System&amp;quot;&lt;br /&gt;#$c.Cells.Item(1,4)&amp;nbsp; = &amp;quot;IP Address&amp;quot;&lt;br /&gt;$c.Cells.Item(1,4)&amp;nbsp; = &amp;quot;Service Packs&amp;quot;&lt;br /&gt;$c.Cells.Item(1,5)&amp;nbsp; = &amp;quot;System Type&amp;quot;&lt;br /&gt;$c.Cells.Item(1,6)&amp;nbsp; = &amp;quot;Install Date&amp;quot;&lt;br /&gt;$c.Cells.Item(1,7)&amp;nbsp; = &amp;quot;Manufacturer&amp;quot;&lt;br /&gt;$c.Cells.Item(1,8)&amp;nbsp; = &amp;quot;Model&amp;quot;&lt;br /&gt;$c.Cells.Item(1,9)&amp;nbsp; = &amp;quot;Service Tag&amp;quot;&lt;br /&gt;$c.Cells.Item(1,10)&amp;nbsp; = &amp;quot;Serial Number&amp;quot;&lt;br /&gt;$c.Cells.Item(1,11) = &amp;quot;Number of Processors&amp;quot;&lt;br /&gt;$c.Cells.Item(1,12) = &amp;quot;Total Phsyical Memory (GB)&amp;quot;&lt;br /&gt;$c.Cells.Item(1,13) = &amp;quot;Last Reboot Time&amp;quot;&lt;br /&gt;$c.Cells.Item(1,14) = &amp;quot;Report Time Stamp&amp;quot;&lt;/p&gt;
&lt;p&gt;$d = $c.UsedRange&lt;br /&gt;$d.Interior.ColorIndex = 19&lt;br /&gt;$d.Font.ColorIndex = 11&lt;br /&gt;$d.Font.Bold = $True&lt;/p&gt;
&lt;p&gt;$intRow = 2&lt;/p&gt;
&lt;p&gt;$colComputers = get-content C:\MachineList.txt&lt;br /&gt;foreach ($strComputer in $colComputers)&lt;br /&gt;{&lt;br /&gt;$OS = get-wmiobject Win32_OperatingSystem -computername $strComputer&lt;br /&gt;$Computer = get-wmiobject Win32_computerSystem -computername $strComputer&lt;br /&gt;$Bios =get-wmiobject win32_bios -computername $strComputer&lt;/p&gt;
&lt;p&gt;$c.Cells.Item($intRow,1)&amp;nbsp; = $OS.Organization&lt;br /&gt;$c.Cells.Item($intRow,2)&amp;nbsp; = $strComputer.Toupper()&lt;br /&gt;$c.Cells.Item($intRow,3)&amp;nbsp; = $OS.Caption&lt;br /&gt;#$c.Cells.Item($intRow,4)&amp;nbsp; = $IP.IPaddress[0]&lt;br /&gt;$c.Cells.Item($intRow,4)&amp;nbsp; = $OS.CSDVersion&lt;br /&gt;$c.Cells.Item($intRow,5)&amp;nbsp; = $Computer.SystemType&lt;br /&gt;$c.Cells.Item($intRow,6)&amp;nbsp; = [System.Management.ManagementDateTimeconverter]::ToDateTime($OS.InstallDate)&lt;br /&gt;$c.Cells.Item($intRow,7)&amp;nbsp; = $Computer.Manufacturer&lt;br /&gt;$c.Cells.Item($intRow,8)&amp;nbsp; = $Computer.Model&lt;br /&gt;$c.Cells.Item($intRow,9)&amp;nbsp; = $Bios.serialnumber&lt;br /&gt;$c.Cells.Item($intRow,10)&amp;nbsp; = $OS.SerialNumber&lt;br /&gt;$c.Cells.Item($intRow,11) = $Computer.NumberOfProcessors&lt;br /&gt;$c.Cells.Item($intRow,12) = &amp;quot;{0:N0}&amp;quot; -f ($computer.TotalPhysicalMemory/1GB)&lt;br /&gt;$c.Cells.Item($intRow,13) = [System.Management.ManagementDateTimeconverter]::ToDateTime($OS.LastBootUpTime)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;$c.Cells.Item($intRow,14) = Get-date&lt;br /&gt;&amp;nbsp;&lt;br /&gt;$intRow = $intRow + 1&lt;br /&gt;}&lt;br /&gt;$d.EntireColumn.AutoFit()&lt;br /&gt;cls&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=117744" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Migrating Standalone File Sever to Clustered File Servers - The Easy Way?</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/21/migrating-standalone-file-sever-to-clustered-file-servers-the-easy-way.aspx</link><pubDate>Wed, 21 May 2008 23:41:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:117462</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=117462</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/21/migrating-standalone-file-sever-to-clustered-file-servers-the-easy-way.aspx#comments</comments><description>&lt;p&gt;We are currently working on a File server migration project. The plan is to migrate the current Window 2000 file server to a three nodes Windows Server 2003 Clustered file server. All the disks are on the SAN. Instead copy files or restore files from backup. We decided&amp;nbsp;to re-map the SAN volumes to the new clusters, this will carry over all the data and NTFS permissions&amp;nbsp;except – it won’t carry over the Shares as the share information stored in the OS registry.&lt;/p&gt;
&lt;p&gt;My fellow MVP friend Jeremy Moskowitz helped me identified the registry key for the shares&lt;/p&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares\&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;and&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares\Security&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;We tested it out and it is all happy except the shares will not fail over. Then we realized the fact that we need to create the File Share Resource through Cluster Administrator not Windows Explorer. Export/Import registry key is equivalent to creating shares through Windows Explorer. But creating hundreds of shares through Cluster Administrator even by script is daunting task and further more – it is not optimal configuration anyway!&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;Further digging point me to this &lt;/font&gt;&lt;a href="http://support.microsoft.com/kb/256926"&gt;&lt;font color="#000000"&gt;KB256926&lt;/font&gt;&lt;/a&gt;&lt;font color="#000000"&gt;&amp;nbsp;and our problem solved!&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;All we need to do as instructed in the above article &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;1, Create&amp;nbsp;one single (root volume) cluster file share resource.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;2, Grant everyone full control share-level permissions in cluster administrators.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;3,&amp;nbsp;Using the Parameters tab for the root cluster file share resource, click to select the&amp;nbsp;Share all sub-directories check box. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;4, Set appropriate NTFS permissions.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font color="#000000"&gt;That is all we need to do for the new users folder created!&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=117462" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Microsoft/default.aspx">Microsoft</category></item><item><title>PowerShell V2 CTP2 and PowerShell Scriptomatic V1 Avaliable</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/18/powershell-v2-ctp2-and-powershell-scriptomatic-v1-avaliable.aspx</link><pubDate>Mon, 19 May 2008 03:01:42 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:117334</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=117334</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/18/powershell-v2-ctp2-and-powershell-scriptomatic-v1-avaliable.aspx#comments</comments><description>&lt;p&gt;In case you don&amp;rsquo;t already know, Windows PowerShell V2 Community Technology Preview 2 (CTP2) is available for download &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=7c8051c2-9bfc-4c81-859d-0864979fa403&amp;amp;displaylang=en&amp;amp;tm"&gt;&lt;font color="#000000"&gt;Here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Another Pre-Memorial bonus for PowerShell fans is that Windows PowerShell Scriptomatic V1.0 now avaliable&amp;nbsp;and you can&amp;nbsp;download it &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=d87daf50-e487-4b0b-995c-f36a2855016e&amp;amp;displaylang=en"&gt;Here&lt;/a&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=117334" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>PowerShell script to install SCOM Agent on multiple servers</title><link>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/15/powershell-script-to-install-scom-agent-on-multiple-servers.aspx</link><pubDate>Thu, 15 May 2008 23:15:08 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:117246</guid><dc:creator>yli628</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/yli628/rsscomments.aspx?PostID=117246</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/yli628/archive/2008/05/15/powershell-script-to-install-scom-agent-on-multiple-servers.aspx#comments</comments><description>&lt;p&gt;Here is a PowerShell script to install SCOM agent on multiple servers.&lt;/p&gt;
&lt;p&gt;In my previous blog&amp;nbsp;&amp;nbsp;&lt;a href="http://myitforum.com/cs2/blogs/yli628/archive/2008/04/08/re-uniting-powershell-consoles-on-your-computer.aspx"&gt;Re-Uniting PowerShell Console&lt;/a&gt;&amp;nbsp;I explained how you can run SCOM related PowerShell script in regular PowerShell console.&lt;/p&gt;
&lt;p&gt;Now continue on &lt;/p&gt;
&lt;p&gt;PS Microsoft.EnterpriseManagement.OperationsManager.Client\OperationsManagerMonitoring::NYTWOPMP01&amp;gt; C:\InstallSCOMAgent.ps1&lt;/p&gt;
&lt;p&gt;Here is what&amp;rsquo;s in InstallSCOMAent.ps1 script &amp;ndash; becareful with the path, as SCOM seems very picky about it. You have to use full path even the serverlist is in the same directory with InstallSCOMAgent.ps1&lt;/p&gt;
&lt;p&gt;$creds = Get-Credential&lt;/p&gt;
&lt;p&gt;#Create an array $Servers for a list of servers&lt;/p&gt;
&lt;p&gt;$servers = get-content c:\ServerList.txt&lt;/p&gt;
&lt;p&gt;$DiscoCnfg = New-WindowsDiscoveryConfiguration -computername:$servers -performverification: $true -actionaccount:$creds -computertype: &amp;quot;server&amp;quot;&lt;/p&gt;
&lt;p&gt;$ms = Get-rootManagementServer&lt;/p&gt;
&lt;p&gt;#You have to Discover the computer first&lt;/p&gt;
&lt;p&gt;$DiscoResults = Start-Discovery -managementserver $ms -windowsdiscoveryconfiguration:$DiscoCnfg&lt;/p&gt;
&lt;p&gt;install-agent -ManagementServer $ms -AgentManagedComputer: $DiscoResults.custommonitoringobjects&lt;/p&gt;
&lt;p&gt;My productivity goes up significantly because of this! &lt;img src="http://myitforum.com/cs2/blogs/yli628/smile3.gif" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=117246" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/Powershell/default.aspx">Powershell</category><category domain="http://myitforum.com/cs2/blogs/yli628/archive/tags/OpsMgr+2007/default.aspx">OpsMgr 2007</category></item></channel></rss>