Problem: windows will throws error when the file already exist, which is different from linux Solution: change to use new-item Issue: https://github.com/rancher/rancher/issues/22679