We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db0c66 commit c14e698Copy full SHA for c14e698
BC.HelperFunctions.ps1
@@ -191,7 +191,7 @@ function Get-ContainerHelperConfig {
191
}
192
193
194
- if ($bcContainerHelperConfig.useWinRmSession -ne 'never') {
+ if ($isWindows -and ($bcContainerHelperConfig.useWinRmSession -ne 'never')) {
195
# useWinRmSession should be never if the service isn't running
196
$service = get-service WinRm -erroraction SilentlyContinue
197
if ($service -and $service.Status -ne "Running") {
0 commit comments