Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PhpConfig
1.4.2
private/Get-ListIISS.ps1
function
Get-ListIIS
(
)
{
Param
(
)
$sites
=
@{
0
=
'GLOBAL'
}
(
Get-IISSite
)
|
ForEach-Object
{
$sites
[
$_
.
Id
.
tostring
(
)
]
=
$_
.
Name
.
tostring
(
)
}
return
$sites
;
}