Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceAlias "vEthernet (DockerNAT)" -NetworkCategory Private
##keep this running for Decryption
while ($true)
{
if ($(Get-SmbServerConfiguration).EncryptData)
{
Write-Host("$(Get-Date): Encryption enabled - calling Set-SmbServerConfiguration -Force -EncryptData 0")
Set-SmbServerConfiguration -Force -EncryptData 0
}
Start-Sleep -Seconds 5
}