$secSmbPassword = $smbPassword | ConvertTo-SecureString -asPlainText -Force\r
$smbCredential = New-Object System.Management.Automation.PSCredential($smbUser, $secSmbPassword)\r
\r
$secSmbPassword = $smbPassword | ConvertTo-SecureString -asPlainText -Force\r
$smbCredential = New-Object System.Management.Automation.PSCredential($smbUser, $secSmbPassword)\r
\r