<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>http://pnpk.net &#187; スクリプト</title>
	<atom:link href="http://pnpk.net/cms/archives/tag/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88/feed" rel="self" type="application/rss+xml" />
	<link>http://pnpk.net/cms</link>
	<description>pnpk is here again.</description>
	<lastBuildDate>Thu, 01 Jul 2010 16:38:56 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://pnpk.net/cms/archives/tag/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88/feed" />
		<item>
		<title>ショートカットファイルの参照先を一括変更するスクリプト</title>
		<link>http://pnpk.net/cms/archives/2231</link>
		<comments>http://pnpk.net/cms/archives/2231#comments</comments>
		<pubDate>Sun, 28 Jun 2009 19:59:20 +0000</pubDate>
		<dc:creator>pnpk</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[スクリプト]]></category>

		<guid isPermaLink="false">http://pnpk.net/cms/?p=2231</guid>
		<description><![CDATA[				Copyright &#169; 2010 pnpk. Visit the original article at http://pnpk.net/cms/archives/2231.ファイルサーバを構築している [...]]]></description>
		<wfw:commentRss>http://pnpk.net/cms/archives/2231/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://pnpk.net/cms/archives/2231" />
	</item>
		<item>
		<title>デフォルトゲートウェイをVBScriptで表示させる方法</title>
		<link>http://pnpk.net/cms/archives/1943</link>
		<comments>http://pnpk.net/cms/archives/1943#comments</comments>
		<pubDate>Sat, 28 Mar 2009 18:27:59 +0000</pubDate>
		<dc:creator>pnpk</dc:creator>
				<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[スクリプト]]></category>

		<guid isPermaLink="false">http://pnpk.net/cms/?p=1943</guid>
		<description><![CDATA[Copyright &#169; 2010 pnpk. Visit the original article at http://pnpk.net/cms/archives/1943.パソコンのIPアドレスに応じて動作を変化させるスクリプトを作ろうかと思ったのですが、ザックリとしたセグメント毎の変更で問題無かったので、Win32_NetworkAdapterConfigurationを利用して、デフォルトゲートウェイ部分を表示させるスクリプトを作ってみました。 'デフォルトゲートウェイをVBScriptで取得する Wscript.Echo &#34;このパソコンのデフォルトゲートウェイは &#34; &#38; DefaultIPGateway() &#38; &#34; です。&#34; Function DefaultIPGateway() strComputer = &#34;.&#34; Set objWMIService = GetObject(&#34;winmgmts:\\&#34; &#38; strComputer &#38; &#34;\root\CIMV2&#34;) Set colItems = objWMIService.ExecQuery( _ &#34;SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True&#34;,,48) For Each objItem in colItems 'デフォルトゲートウェイがNull以外だった場合 If isNull(objItem.DefaultIPGateway) = False [...]]]></description>
		<wfw:commentRss>http://pnpk.net/cms/archives/1943/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://pnpk.net/cms/archives/1943" />
	</item>
		<item>
		<title>Msvm_HeartbeatComponentをVBScriptで取得する方法</title>
		<link>http://pnpk.net/cms/archives/1925</link>
		<comments>http://pnpk.net/cms/archives/1925#comments</comments>
		<pubDate>Tue, 24 Mar 2009 10:00:20 +0000</pubDate>
		<dc:creator>pnpk</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[WMI]]></category>
		<category><![CDATA[スクリプト]]></category>

		<guid isPermaLink="false">http://pnpk.net/cms/?p=1925</guid>
		<description><![CDATA[Copyright &#169; 2010 pnpk. Visit the original article at http://pnpk.net/cms/archives/1925. Hyper-V上のゲストOSのハートビートの値を取得します。 strComputer = &#34;.&#34; Set objWMIService = GetObject(&#34;winmgmts:\\&#34; &#38; strComputer &#38; &#34;\root\virtualization&#34;) Set colItems = objWMIService.ExecQuery( _ &#34;SELECT * FROM Msvm_HeartbeatComponent&#34;,,48) For Each objItem in colItems Wscript.Echo &#34;-----------------------------------&#34; Wscript.Echo &#34;Msvm_HeartbeatComponent instance&#34; Wscript.Echo &#34;-----------------------------------&#34; If isNull(objItem.AdditionalAvailability) Then Wscript.Echo &#34;AdditionalAvailability: &#34; Else Wscript.Echo &#34;AdditionalAvailability: &#34; &#38; Join(objItem.AdditionalAvailability, [...]]]></description>
		<wfw:commentRss>http://pnpk.net/cms/archives/1925/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://pnpk.net/cms/archives/1925" />
	</item>
		<item>
		<title>サイボウズOFFICE7にVBスクリプトで自動ログインする</title>
		<link>http://pnpk.net/cms/archives/1874</link>
		<comments>http://pnpk.net/cms/archives/1874#comments</comments>
		<pubDate>Fri, 13 Mar 2009 18:06:09 +0000</pubDate>
		<dc:creator>pnpk</dc:creator>
				<category><![CDATA[Hobby]]></category>
		<category><![CDATA[スクリプト]]></category>

		<guid isPermaLink="false">http://pnpk.net/cms/?p=1874</guid>
		<description><![CDATA[				Copyright &#169; 2010 pnpk. Visit the original article at http://pnpk.net/cms/archives/1874.サイボウズOffice7に自 [...]]]></description>
		<wfw:commentRss>http://pnpk.net/cms/archives/1874/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://pnpk.net/cms/archives/1874" />
	</item>
		<item>
		<title>WMI Code Creatorを使ってスクリプトを作成する</title>
		<link>http://pnpk.net/cms/archives/1855</link>
		<comments>http://pnpk.net/cms/archives/1855#comments</comments>
		<pubDate>Mon, 09 Mar 2009 16:38:28 +0000</pubDate>
		<dc:creator>pnpk</dc:creator>
				<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[スクリプト]]></category>

		<guid isPermaLink="false">http://pnpk.net/cms/?p=1855</guid>
		<description><![CDATA[				Copyright &#169; 2010 pnpk. Visit the original article at http://pnpk.net/cms/archives/1855.
				今更ながらWMI  [...]]]></description>
		<wfw:commentRss>http://pnpk.net/cms/archives/1855/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://pnpk.net/cms/archives/1855" />
	</item>
	</channel>
</rss>
