it技術:powershell
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
it技術:powershell [2019/07/24 13:00] – [値を編集して出力] yajuadmin | it技術:powershell [2019/07/24 13:07] – [IISのDefault Web Siteの値取得] yajuadmin | ||
---|---|---|---|
行 25: | 行 25: | ||
==== IISのDefault Web Siteの値取得 ==== | ==== IISのDefault Web Siteの値取得 ==== | ||
+ | Default Web Siteの値を取得する | ||
+ | <code powershell> | ||
+ | PS > Get-ItemProperty ' | ||
+ | |||
+ | name : Default Web Site | ||
+ | id : 1 | ||
+ | serverAutoStart | ||
+ | state : Started | ||
+ | bindings | ||
+ | limits | ||
+ | logFile | ||
+ | traceFailedRequestsLogging : Microsoft.IIs.PowerShell.Framework.ConfigurationElement | ||
+ | applicationDefaults | ||
+ | virtualDirectoryDefaults | ||
+ | ftpServer | ||
+ | Collection | ||
+ | | ||
+ | applicationPool | ||
+ | enabledProtocols | ||
+ | physicalPath | ||
+ | userName | ||
+ | password | ||
+ | ItemXPath | ||
+ | PSPath | ||
+ | PSParentPath | ||
+ | PSChildName | ||
+ | PSDrive | ||
+ | PSProvider | ||
+ | PSIsContainer | ||
+ | Attributes | ||
+ | ChildElements | ||
+ | ElementTagName | ||
+ | Methods | ||
+ | Schema | ||
+ | </ | ||
+ | |||
ASPプロパティ内のセッションプロパティの値を取得する。 | ASPプロパティ内のセッションプロパティの値を取得する。 | ||
<code powershell> | <code powershell> | ||
PS > Get-WebConfiguration system.webServer/ | PS > Get-WebConfiguration system.webServer/ | ||
+ | |||
+ | PS > Get-WebConfiguration -PSPath ' | ||
+ | |||
+ | PS > Get-WebConfigurationProperty -Location ' | ||
+ | |||
+ | PS > Get-WebConfigurationProperty -PSPath ' | ||
</ | </ | ||
==== 二重引用符はエスケープ ==== | ==== 二重引用符はエスケープ ==== |
it技術/powershell.txt · 最終更新: 2019/07/24 13:09 by yajuadmin