It seems like the following is missing 
```
            windowsProvisioningSet.setWinRm(winRm);
```