Examples/Resources/WSManListener/1-WSManListener_HTTP.ps1
<# .EXAMPLE This will create or enable an HTTP WS-Man Listener on port 5985. configuration Sample_WSManListener_HTTP #> Configuration Example { param ( [Parameter()] [System.String[]] $NodeName = 'localhost' ) Import-DscResource -Module WSManDsc Node $NodeName { WSManListener HTTP { Transport = 'HTTP' Ensure = 'Present' } # End of WSManListener Resource } # End of Node } # End of Configuration |