Skip to content

Instantly share code, notes, and snippets.

@stknohg
Created March 23, 2017 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stknohg/f0636633c149a7fea6a0418b3c5dcc4f to your computer and use it in GitHub Desktop.
Save stknohg/f0636633c149a7fea6a0418b3c5dcc4f to your computer and use it in GitHub Desktop.
サーバーマネージャーの"構成設定のエクスポート"でエクスポートしたテンプレートに登録されている機能を抽出するやつ
$TemplatePath = ".\展開の構成テンプレート.xml"
(Import-Clixml -LiteralPath $TemplatePath).GetEnumerator() | % { $_.CimClass.CimClassQualifiers["DisplayName"].Value } | Get-WindowsFeature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment