トップ 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

プログラミング

Google WebAPI をPowershellで使う

http://www.itlab51.com/?p=875
http://www.itlab51.com/?p=6278

intra-mart v6.1のマニュアル

http://www.intra-mart.jp/download/product/index_v61.html

Splitting csv files with Powershell

http://www.youdidwhatwithtsql.com/splitting-csv-files-with-powershell/374

Using PowerShell to write a file in UTF-8 without the BOM

http://stackoverflow.com/questions/5596982/using-powershell-to-write-a-file-in-utf-8-without-the-bom

Powershell 例外処理

Windows PowerShell 入門(9)−エラー編 (CodeZine)
http://codezine.jp/article/detail/2811

PowerShellスクリプトで発生したエラー情報をイベント・ログに記録する
http://www.atmarkit.co.jp/fwin2k/win2ktips/1033psevent1/psevent1.html
⇒trapを使う方法

trap/throw
try/catch/finally

Dependency Walker(ディペンデンシーウォーカー)

32ビット/64ビット(exe、dll、ocx、sysなど)の
Windowsモジュールをスキャンするユーティリティです。全ての依存モジュールの階層的ツリーダイアグラムを表示します。

PowerShell - コマンドレットやオブジェクトなどの調査に関する20問

http://d.hatena.ne.jp/fsugiyama/20111201/p1

WSH(VBScriptでタスクを登録/COMを使う)

⇒ただし、ライブラリが要るかも?
http://www.roy.hi-ho.ne.jp/mutaguchi/bbs/list155.shtml

・Powershellで複数行を一つの単位(レコード)として処理する方法(foreach と$foreach.movenext を使う)

Text parsing in Powershell: Identify a target line and parse the next X lines to create objects
http://stackoverflow.com/questions/9136967/text-parsing-in-powershell-identify-a-target-line-and-parse-the-next-x-lines-to
⇒ foreach と $foreach.movenext/ forを使っても同じ(この場合、カウンタiを使う)

Powershellで複数行処理(awkでのrecord処理のようなもの)
http://poshcode.org/1956
http://poshcode.org/3546
ConvertFrom-Property

      • *

Powershell 複数行を一つの単位として処理する方法

$b = Get-content -delimiter ..... old_filename
$a = Get-Content -delimiter "`r`n`r`n" filename | select-string '******' |  select-string GP_NAS
キャストが必要かも? ↑[String]

最後の$a[-1, -2] の *****をチェックする!

compare-object -ref $a -dif $b | select -expandProperty ????

SendMail
      • *

Powershell Add-Memberの使い方

Creating an Array of Custom Objects in Powershell(Add-Member)
http://ryan.witschger.net/?p=82

PowerShellにおけるオブジェクトの拡張について
http://mojibake.seesaa.net/article/52071328.html
PSObject passThru

PowershellのNoteProperty に複数値を入れる
⇒Add-Member Same NoteProperty with multiple values
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/1138818e-c7e6-4f42-acbb-e17ce40b6c15/

PowershellでADのアカウント属性のログオン時間制限の設定(Set Logon Hours)

http://learningpcs.blogspot.jp/2011/08/powershell-set-logon-hours.html

Set logonHours Attribute of Users
http://gallery.technet.microsoft.com/scriptcenter/fd6a340b-ed8b-4787-8d12-3c6fcb822104

get AD user allowed Logonhours from MSH
http://mow001.blogspot.jp/2005/12/get-ad-user-allowed-logonhours-from.html

ログオン時間の判別 (VBscriptで採取/LDAP/ADSI)
http://gallery.technet.microsoft.com/scriptcenter/e505acbc-94c2-40e7-b99b-f1cf76113d51

Windows PowerShell から Active Directory を検索する方法はありますか

http://gallery.technet.microsoft.com/scriptcenter/767d313c-645c-4c62-b021-3772091a8c61
LDAPの検索フィルタの例がある。

DirectorySearcher Filter Options - Multiple Groups in one Filter
http://forums.asp.net/t/877916.aspx/1

.Net でDNSから正引きする方法。

⇒この方法の難点は、DNSserverを指定が出来ないかも!(試した限りでは、ローカルPCのDNSserverの設定を参照していると思う。)
System.Net.Dns.GetHostAddresses メソッド⇒たぶん、Windowsでのコンピュータ名(FQDNではないと思う)
指定したホストのインターネット プロトコル (IP: Internet Protocol) アドレスを返します。
GetHostByName メソッド ⇒ 普通のfqdn
Here is the best part you'll need:

$rs = [System.Net.Dns]::GetHostAddresses($i)|select-object IPAddressToString -expandproperty  IPAddressToString

now, I wrote this and tested it using powershell v2 ctp3, and it should work on the Lower versions but have not tested it.
with that line, you will have just an IP address in the var, $rs. from there you can do other things and fancy stuff, all aglore.
the select statement cleans up the output of: [System.Net.Dns]::GetHostAddresses($i) otherwise the output is not really useable as the output is formated in its own colums, with outher propertys. the select-object strips everything out except the IP address.

.NET Framework のクラスを Windows PowerShell の関数にパッケージ化する方法はありますか

http://gallery.technet.microsoft.com/scriptcenter/6e384863-02da-4c70-8902-30b0d00f859c

PowerShellでWebにアクセスしてみよう!Add Star

http://d.hatena.ne.jp/coma2n/20090305/1236253258

ADO と ADO.NET の違い(必見)

データコネクティビティ・アーキテクチャの変遷
http://www.progress-japan.co.jp/datadirect/technote/ADOvsADODOTNET.asp

Powershellでoracle接続

Querying Oracle from Powershell Part 2
http://cmille19.wordpress.com/2010/03/01/querying-oracle-from-powershell-part-2/

ODBC Driver for Oracle
http://msdn.microsoft.com/en-us/library/windows/desktop/ms713590%28v=vs.85%29.aspx

[INFO] Microsoft Oracle ODBC Driver および OLE DB Provider の制限事項
http://support.microsoft.com/kb/244661/ja

ORACLE:ORACLEのフリークライアントソフト「Instant Client」のセットアップ方法
http://billyboy.blog81.fc2.com/blog-entry-164.html

ORACLE:ORACLE「Instant Client」セットアップ後の動作テスト(ODBCドライバ接続編)
http://billyboy.blog81.fc2.com/blog-entry-166.html

Oracle ODBC Instant Client Release Notes
Release 10.1.0.2.0
ODBC Instant Client
http://www.oracle.com/technetwork/database/features/oci/odbc-ic-releasenotes-094306.html

Oracle Database Instant Client
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html

ADSI+VBScriptで、ローカルユーザアカウントの抜き方

Sub ListUsers( strDomain )
    Set objComputer = GetObject("WinNT://" & strDomain )
    objComputer.Filter = Array( "User" )
    For Each objUser In objComputer
        WScript.Echo "Name: " & objUser.Name & vbCrLf _ 
                     & "AccountDisabled: " & objUser.AccountDisabled
    Next
End Sub

ListUsers("localhost")

Powershellでイベントログの抜き方(Vista以降)

get-winevent System -filterxpath "*[System[Provider[@Name='Microsoft-Windows-Kernel-General'] and (EventID='12' or EventID='13')]]" -maxevents 10

Powershellで継承の切り方

dddd→ フォルダ名(path)

$d = get-acl dddd

$d.SetAccessRuleProtection($true, $true)
set-acl -Path dddd -AclObject $d

特定ユーザのアクセス権を削除

$Account = new-object System.Security.Principal.NTaccount("domain\user")
$acl = get-acl dddd
$acl.PurgeAccessRules($account)
set-acl -Path dddd -AclObject $acl

PowerShellでのアクセス権設定(Set-Acl,Get-Acl)

How to Handle NTFS Folder Permissions, Security Descriptors and ACLs in PowerShell
http://blogs.technet.com/b/josebda/archive/2010/11/12/how-to-handle-ntfs-folder-permissions-security-descriptors-and-acls-in-powershell.aspx

PowerShellでNTFSフォルダへセキュリティグループのアクセス権付与
http://www.aineas.net/

フォルダーのアクセス権とアクセス権のあるユーザーを特定する方法はありますか
http://gallery.technet.microsoft.com/scriptcenter/f73c92ea-3c73-4e80-8733-cb96f31af7dc

Convert ADSI objects to Powershell objects

http://stackoverflow.com/questions/6276658/convert-adsi-objects-to-powershell-objects

Powershell で ADSI接続で認証情報と接続先ADを指定する方法

Credentials Failing
キーワード powershell Get-Credential adsi

http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/58a88a4e-2896-4869-b4c2-12043fbc067c

PrincipalContext コンストラクター (ctxt キーワード)を使えば、get-credentialは不要かも?
→理由、このコンストラクターにパスワードを入れる引数があるが、型 system.stringなのでいらないと思う。
http://handcraft.blogsite.org/Memo/Article/Archives/150
http://msdn.microsoft.com/ja-jp/library/bb341016.aspx

Active DirectoryオブジェクトのCNを変更する

http://yamahei.blogspot.jp/2010/04/active-directorycn.html

Hey, Scripting Guy! Active Directory グループの名前を変更するにはどうすればよいでしょうか。
http://gallery.technet.microsoft.com/scriptcenter/46b89cbb-72aa-48a5-9e49-f47c2a506412

http://hiros-dot.net/PowerShell/myfunction/myfunction20.htm

http://mow001.blogspot.jp/2006/09/powershell-rc2-and-active-directory_29.html
http://mow001.blogspot.jp/2006/07/powershell-and-active-directory-part-3.html

Powershell デバッグログ

ログを残す
http://hiros-dot.net/PowerShell/myfunction/myfunction20.htm

.NET Framework 3.5 でディレクトリのセキュリティ プリンシパルを管理する

http://msdn.microsoft.com/ja-jp/magazine/cc135979.aspx
→[ADSI]ではなく、独自の.Net PrincipalContext を使う方法

 これでADのオブジェクトを作成する。

PowerShellスクリプトで発生したエラー情報をイベント・ログに記録する

http://www.atmarkit.co.jp/fwin2k/win2ktips/1033psevent1/psevent1.html

PowerShell例外処理

・非構造化例外処理

 trap/
 VBのON errorと同じで、処理全体をエラーの補足対象にする。
 $ErrorActionPreference/ コマンドレットのオプション -errorAction →エラーが発生した場合の、続行するか停止するかを決める。
 デフォルトは、継続(continue)する。

・構造化例外処理

 try/catch
 たぶん、メソッドの処理を補足対象にしている。補足できなれば、呼び出し元、さらに補足できなれば呼び出し元になっていく。

VB.Netでの例外処理の概要
http://msdn.microsoft.com/ja-jp/library/vstudio/sf1hwa21%28v=vs.100%29.aspx
http://msdn.microsoft.com/ja-jp/library/vstudio/8a9f2ew0%28v=vs.100%29.aspx
http://msdn.microsoft.com/ja-jp/library/vstudio/s74yzzb5%28v=vs.100%29.aspx

PowerShell例外処理の挙動

例外処理
http://mtgpowershell.blogspot.jp/2010/06/blog-post_24.html
http://mtgpowershell.blogspot.jp/2011/04/trap.html

ADSIでユーザアカウント作成 (Invokeを使っている例)

PS > $Connection = "LDAP://Server1/OU=NewOU,DC=APA,DC=CORP"
PS > $OU = [adsi] $Connection
PS > $User = $OU.Create("user", "cn=jeapic")
PS > $User.Put("sAMAccountName", "jeapic")
PS > $User.Put("userPrincipalName", "jeapic@apa.corp")
PS > $User.Put("DisplayName", "Jean-Luc Picard")
PS > $User.Put("givenName", "Jean-Luc")
PS > $User.Put("sn", "Picard")
PS > $User.Put("Description", "Captain of the Enterprise")
PS > $User.Put("mail", "picard@enterprise.com")
PS > $User.SetInfo()
PS >
PS > $User.PsBase.Invoke("SetPassword", "Password123") ← PsBase.Invokeメソッドを使っている
PS > $User.PsBase.InvokeSet("AccountDisabled", $false) ← PsBase.InvokeSetメソッドを使っている
PS > $User.SetInfo()

[ADSI]で、直接pwdLastSetを抜き取る方法。

→(pwdLastSet : {System.__ComObject})
1. スマートな方法
http://serverfault.com/questions/58720/powershell-how-do-i-query-pwdlastset-and-have-it-make-sense/385451#385451
$user = [ADSI]'LDAP://cn=someusername,ou=someou,dc=somedomain,dc=com'
[datetime]::FromFileTime($user.ConvertLargeIntegerToInt64($user.pwdLastSet.value))

2. ADSI→ADSISearcherにキャストして抜く方法
[ADSISeacher]で抜く方法(ようは、[ADSI]で$ouにバインドしてchildrenのプロパティを引っ張る。
そして、ひっぱたオブジェクト内のコレクションからオブジェクトを取り出して、[ADSISeacher]にキャストして一つづつバインドしてから抜く。
$user = [ADSI]"DN名"
PS #> $searcher=New-Object DirectoryServices.DirectorySearcher $user
PS #> $searcher.Filter="(&(samaccountname=user1))"
PS #> $results=$searcher.findone()
PS #> [datetime]::FromFileTime($results.properties.pwdlastset[0])
→FromFileTimeは現地時間, FromFileTimeUTCは標準時

3. Hey, Scripting Guy! 古いコンピューター アカウントを特定する方法はありますか
http://gallery.technet.microsoft.com/scriptcenter/68e917e5-603a-4caa-b5f8-f01f298fc6d8

Powershell 2.0

モジュール機能
ファイル名: MyModule.psm1
*****
function Get-AllItem
{
  Get=childItem -recures
}
Export-ModuleMember Get-AllItem
*****

上のファイルを用意して、%Windir%\System32\WindowsPowerShell\1.0\Modulesに格納する。
この場合なら、%Windir%\System32\WindowsPowerShell\1.0\Modules\MyModule
→ファイル名とフォルダ名は一致していること!!!
Import-Module MyModule
でインポートできる。

資格情報(Powershellで認証処理)

$credential = Get-Credential (実行したら、ポップアップが表示されて、ユーザ名をパスワードを入力する。)
$credential.password | CovertFrom-SecureString | Set-content .\passwd.txt
上記のように、パスワード用のファイルを保存できる。上の例は、パスワードだけが保存されている。
↓無理矢理、パスワードを平文で格納する方法
$User = “domain\someuser”
$Pass = ConvertTo-SecureString “plaintextpassword” -AsPlainText -Force
$Credentials = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $User,$Pass

Powershell ストップウォッチ

$watch=new-object System.Diagnostics.Stopwatch
 
"ForEach-Object 開始"
 
$watch.Start()
1..10|ForEach-Object {
    "start: " + $_
    Start-Sleep -sec 5
    "end: " + $_
}
$watch.Stop()
 
"ForEach-Objectの場合:" + $watch.Elapsed.TotalSeconds + " sec"

PowerShell の演算子とキーワード

http://www.upken.jp/kb/yYSXtbkMYczpKVyfGletiyKKLDskQB.html

http://handcraft.blogsite.org/Memo/Article/Archives/168

FTPサーバーに PowerShell で接続する

http://blogs.gine.jp/kusa/archives/1707

Powershellの配列

Powershell 通常配列の値を取得する要素編
http://www.itlab51.com/?p=5797

配列関連
http://mtgpowershell.blogspot.jp/2010/06/blog-post_23.html

ADSIとPowerShell

Benp’s Basic Guide to Managing Active Directory Objects with PowerShell
http://blogs.technet.com/b/benp/archive/2007/03/05/benp-s-basic-guide-to-managing-active-directory-objects-with-powershell.aspx
→ADSIの使い方、ADSIのメソッド一部がある。

"Invisible" methods for ADSI?
→Invisible(訳:見えない)
http://pathologicalscripter.wordpress.com/2006/09/28/invisible-methods-for-adsi/
Powershellの[ADSI]オブジェクトに対して、get-memberを実行しても、プロパティやメソッドが見えない理由
→結構重要

ADSI Scripting with Windows PowerShell.
http://blogs.msdn.com/b/arulk/archive/2006/07/25/678137.aspx

ハウツー解説: ADSI を使用して LDAP のディレクトリの属性を設定するのには
http://support.microsoft.com/kb/260251/ja
→翻訳、ここに、ADSIのput,putex メソッドの解説がある。

道場で使用したスクリプト(ユーザー登録、OU作成、グループ作成)
http://blogs.technet.com/b/junichia/archive/2007/06/05/6-4-ou.aspx
→VBScriptでputexの使い方

ADSI Powershellを使ったputexの実行例
Powershell: Updating a MultiValued Active Directory Property
http://waxtadpole.wordpress.com/2009/08/30/powershell-updating-a-multivalued-active-directory-property/
http://www.vistax64.com/powershell/77526-adsi-group-membership-what-am-i-doing-wrong.html

Working with Active Directory using PowerShell ADSI adapter (en-US)
http://social.technet.microsoft.com/wiki/contents/articles/4231.working-with-active-directory-using-powershell-adsi-adapter-en-us.aspx

IADs::PutEx method のドキュメント
http://msdn.microsoft.com/en-us/library/windows/desktop/aa746353%28v=vs.85%29.aspx

DirectoryEntry.InvokeSet メソッド
http://msdn.microsoft.com/ja-jp/library/system.directoryservices.directoryentry.invokeset%28v=vs.90%29.aspx
→.Net のClass DirectoryEntryのメソッドInvokeSet(その他もあり)から、ADSIのメソッドを呼び出す方法

  ようは、Invoke(訳:思い起こす、引き起こす)がラッパーになっている。

ADSI Linked Attributes(user と groupのmember,memberOf属性の関係)

Lateral thinking - ADSI LDAP Provider to add users to groups
http://blogs.technet.com/b/jhoward/archive/2005/08/15/409179.aspx
→vbscriptで、userアカウントに、PutExでmemberOfを入れるとエラーになる。これは仕様

Linked Attributes
http://msdn.microsoft.com/en-us/library/windows/desktop/ms677270%28v=vs.85%29.aspx

Linked attributes in Active Directory
http://morgansimonsen.wordpress.com/2006/08/15/linked-attributes-in-active-directory/
→(ADSIでUserオブジェクトにmemberOf属性を直接入れられない理由) → ●重要!

PowerShell 2.0の新機能

Windows 7に搭載されるPowerShell 2.0の新機能ベスト10
http://itpro.nikkeibp.co.jp/article/COLUMN/20090703/333171/

PowerShell 2.0の新機能
http://codezine.jp/article/corner/342

PowerShellでActive Directoryのグループのメンバを大量に取得

http://ken-etsu-tech.blogspot.jp/2011/07/powershellactive-directory.html
PS C:\> [DirectoryServices.DirectoryEntry]$ADSIGroup = [ADSI]("LDAP://CN=LargeGroup,CN=Some Groups,DC=domain,DC=local")
PS C:\> $members = $ADSIGroup.Members() | foreach { ([DirectoryServices.DirectoryEntry]$_).distinguishedName }
PS C:\>

ADSIのオブジェクト

Dev Center - Desktop(ADSIのAPI/Classメソッド・プロパティ解説)
IADsOU interface
http://msdn.microsoft.com/en-us/library/windows/desktop/aa706066%28v=vs.85%29.aspx

・Powershellオブジェクト(PSbase,PSobjectなど)
Windows PowerShell Blog
What's up with PSBASE, PSEXTENDED, PSADAPTED, and PSOBJECT?
http://blogs.msdn.com/b/powershell/archive/2006/11/24/what-s-up-with-psbase-psextended-psadapted-and-psobject.aspx

・Managing Active Directory with Windows PowerShell
http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/

・Powershell 1000ユーザ 検索 制限(ADSI)
powershell adsi 1000 SearchScope

・DirectoryEntry (.Netのclass) と ADSI
http://blogs.wankuma.com/mitchin/archive/2011/07/15/201072.aspx

PowreShell Write-HostとWrite-Output の違い

http://www.itlab51.com/?p=5659

PowerShellで時間を計る(Unix timeコマンドみたいなもの)

で進行状況を表示するには、Write-Progressコマンドレット
PSbase

Powershell コマンドレット実行時間計測: Measure-Command(unixでのtimeコマンドかな?)

Measure-Command {Get-ADGroupMember -Identity $g}).TotalSeconds

WinRM/WinRSの解説

HTTPベース
WinRM 1.1
WinRM 2.0 (Powershellでファンイン・ファンアウト)が可能

WinRMはサーバ側
WinRS(Windows Remote Shell)を使って色々コマンドも実行できますよ。
WinRS は、WinRM を基盤として、シェルを実行するもの見たいな感じです
winrsコマンドで、サーバ側に接続して、リモートマシンのコマンドを実行可能。

WinRMはそもそもPowershellとは単独で動作している。
ただし、WinRM 2.0はPowershellで非同期実行やリモートログインができる。

そういう意味では、リモート管理、リモートログイン(リモートシェル)は2種類かな。
winrs(1.1 or 2.0?)で接続してリモート管理
powershell2.0+winrm2.0で、ファンインでリモートログインしてコマンドレットを実行

WinRM2.0セットアップ とPowershellで使う方法

winrm quickconfig (制御対象のサーバで実施)全てyで答えたら、port 80でlisttenする。
・リモート実行するコマンド(ファンアウト)
Invoke-Command @(サーバ1, サーバ2,...) {<実行する命令>} 同期
Invoke-Command @(サーバ1, サーバ2,...) {<実行する命令>} -asJob 非同期 →バックグラウンドジョブとして動作する。
・複数回実行する場合は、再利用可能なPSSessionを作成
New-Pssession @(サーバ1, サーバ2,...)
各サーバにPSsessionが作成される。
get-Pssession
Invoke-command {実行する命令} -Session (Get-PSSession -id 1)
→ -asJobを追加すると非同期になる。
・リモート接続(ファンイン)
Enter-PSSession -Id 1
[Win-3ddfaasl]: PS c:\user\administrator.test> とかになりリモート接続が出来る。

・PowerShellを使ったリモート接続
http://nky-tech.blogspot.jp/2011/09/powershell.html

・Power Shell リモート接続の事前準備
http://atamoco.boy.jp/ps/20100913_2.php

PowerShellでCSVをJoinする方法(SQL Joinみたいなもの)

Windows PowerShell Blog
Join-Object(UNIXのjoinコマンド) CSVファイルをインポートして、SQL のjoin結合を実現するコマンドレット
http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx

PowerShell Code Repository
http://poshcode.org/1461

Searching Active Directory with Windows PowerShell
http://technet.microsoft.com/en-us/library/ff730967.aspx

PowerShell script to create AD groups from a .CSV file
http://blogs.msdn.com/b/aaronsaikovski/archive/2009/06/24/powershell-script-to-create-ad-groups-from-a-csv-file.aspx

Excel, PowerShell, and the Import-CSV Cmdlet
http://www.leadfollowmove.com/archives/powershell/excel-powershell-and-the-import-csv-cmdlet

Powershell ADSIでアカウント作成など

Script Guy
複数のユーザーを作成し、属性に値を代入して、ユーザーをグループに割り当てる方法はありますか
http://gallery.technet.microsoft.com/scriptcenter/1c59b673-27d5-45a4-a74d-08a25262e75b

新しいフォレストに Active Directory セキュリティ グループの正確なコピーを作成する
http://gallery.technet.microsoft.com/scriptcenter/0900810b-61a9-406b-9709-52f94e790803

→Script Resources for IT Professionals

 (IT プロフェッショナル向けスクリプト リソース)(スクリプト ギャラリー)

http://gallery.technet.microsoft.com/scriptcenter/

Working with Active Directory using PowerShell ADSI adapter (en-US)
http://social.technet.microsoft.com/wiki/contents/articles/4231.working-with-active-directory-using-powershell-adsi-adapter-en-us.aspx

Windows PowerShell でのスクリプティング(本尊)

http://technet.microsoft.com/ja-jp/scriptcenter/powershell.aspx

Powershell(v2)で、バックグラウンドジョブの使い方・基本編 [PS Advent Calendar '11]

http://winscript.jp/powershell/235
http://winscript.jp/powershell/238

JavaScript + IE7以降でのwindow.closeで警告メッセージのポップアップが出る。

IE7 - window.close() で閉じる [JavaScript] (実行例)
http://magnus.blog.so-net.ne.jp/2006-11-04

対処方法(Javascriptの変更)
http://www.ilovex.co.jp/blog/system/distributionsystem/javascriptie7.html

仕様変更の説明
Internet Explorer 6 から Internet Explorer 9 へのブラウザーの変更
http://technet.microsoft.com/ja-jp/library/gg699425.aspx

Internet Explorer 7 リリース ノート(window.opener および window.close)
http://msdn.microsoft.com/ja-jp/ie/aa740486

保護モードの Internet Explorer の理解と機能
http://msdn.microsoft.com/ja-jp/library/bb250462%28v=vs.85%29.aspx
英語(上の元ネタ)
http://msdn.microsoft.com/en-us/library/ie/ms536651%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/ie/bb250462%28v=vs.85%29.aspx
window.close メソッド解説
http://msdn.microsoft.com/en-us/library/ie/ms536367%28v=vs.85%29.aspx

温COM知新 (おんこむちしん)

http://www.asahi-net.or.jp/~kv8s-yjm/another/yjamain.htm
COMクライアントをC言語で実装

HTML/CSSコーディング

Zen Coding - HTML(CSS?)エディタに追加可能な、タグの入力支援ツール

→ なれたらかなり便利そう。

BlueGriffon

WYSIWYG方式な、Webオーサリングツール
HTML5 + CSSに便利

VIMでHTML入力

VIM + Zen Coding

WindowsでDLLの依存関係がわかるツール

Dependency Walker 2.2

Smalltalk (squeak からの拡張)

squeak 3.9 からの拡張 pharo
http://pharo-project.org/home

オブジェクト指向の広場

http://www.ogis-ri.co.jp/otc/hiroba/

Cコンパイラ (フリー) 16bitもある

Free C/C++ Compilers and Interpreters
http://www.thefreecountry.com/compilers/cpp.shtml
・キーワード
gcc --target=i386-realmode
上のオプションはかなり怪しい

HUB Transport Agentsの構造

http://dev.qsh.eu/Blogs/Milan/Exchange2010_HubTransportRoleArchitecture.pdf

Exchange開発 (Transport Agents)

http://www.msexchange.org/articles_tutorials/exchange-server-2007/planning-architecture/understanding-transport-agents-part1.html

COM相互運用機能の利用

http://japan.internet.com/column/developer/20060627/25.html

.NETエンタープライズWebアプリケーション 開発技術大全

http://www.atmarkit.co.jp/fdotnet/entwebapp/index/index.html

Gnome-volume-managerの仕様が変わる

HAL→DeviceKitに変わる
内部的な、プロトコル(IPC)としてD-BUSが使われている。
http://fedoraproject.org/wiki/Features/DeviceKit

ProxyAutoConfig (JavaScriptの関数 FindProxyForURL)の解説

Network/ProxyAutoConfig
http://apis.jpn.ph/fswiki/wiki.cgi?page=Network%2FProxyAutoConfig

COM関連情報

COM総合研究所
http://atata.sakura.ne.jp/

HTA(HTML Application)での開発

HTA Developers Center (マイクロソフト)
http://www.microsoft.com/japan/technet/scriptcenter/hubs/htas.mspx

以下はスクリプト・ガイ
http://www.microsoft.com/japan/technet/scriptcenter/resources/qanda/jul08/hey0721.mspx
http://www.microsoft.com/japan/technet/scriptcenter/resources/qanda/oct08/hey1027.mspx
http://technet.microsoft.com/ja-jp/scriptcenter/ee694611.aspx

VBS(Visual Basic Script)メモの目次

http://tuka.s12.xrea.com/index.xcg?p=VBS

VBSで漢字コードとメール送信などの便利DLL(Basp21)

メール送信/コード変換用の追加コンポーネントがコンピュータにインストールされていることが条件となる。

WSHのバージョン確認

http://itpro.nikkeibp.co.jp/article/COLUMN/20060116/227320/

'サンプル vbs →Windows上で保存して実行して
Option Explicit
' getver.vbs - VBScriptのバージョン取得

MsgBox ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion

Java アプレットでMACアドレスを取得

http://techdetails.blogmatrix.com/:entry:techdetails-2008-02-11-0000/
キーワード: java.util.Enumeration, java.net.NetworkInterface

ブラウザのJavaのバージョン確認方法

Java Testerから、Versionをクリックしたら画面にブラウザのバージョン番号が表示される。ただし、PCに複数のJREがインストールされていた場合、どのバージョンが表示されるかは不明。

Windows2000 SP4/IE6 SP1の環境で、SUN Javaインストールをしていない状態だと

Java Version: 1.1.4 from Microsoft Corp. 

と表示される。


HTMLでドローイング画像の表示

W3C勧告: SVG
基本 XML フォーマット
ただし、IEではSVG Viewが必要。ちなみに、Adobe から SVG viewerのプラグインが提供
SVGの作成には、

    • OpenOffice Draw (マルチプラットフォーム)
    • Inkscape (マルチプラットフォーム)
    • Gliffy (マルチプラットフォーム)

IE上から、VBscriptでMAC addressを取得(get)

http://www.winforums.com/showthread.php?t=8842

GUID/UUID解説

GUIDのレジストリ格納場所
ftp://ftp.ashisuto.co.jp/pub/sybase/OnlineManual/pb10/apptech/apptechp119.htm
マイ コンピュータ\HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\CLSID
\CLASSES\CLSID\{guid}

http://www7a.biglobe.ne.jp/~tsuneoka/win32tech/11.html

Hacking(VMwareの解析)

http://wizardbible.org/index.htm

ActiveXコントロールの解説あり

先輩教えて!プログラミングのabc

ためになるソース

c++ ためになる ソース

http://q.hatena.ne.jp/1176222557
cppunit
boost

http://www.o440.info/archives/cat_1.html
RealVNC