Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Soap
6.1.0
Soap/Get-WinRmClient.ps1
function
Get-WinRmClient
{
$ComputerNames
=
$(
Get-AdComputer
-Filter
*
)
.
Name
Invoke-Command
-ComputerName
$ComputerNames
-ScriptBlock
{
$env:HOSTNAME
}
-ErrorAction
Ignore
}