Sometimes cmdlets are asking for plain-text passwords instead of Secure Strings. And the New-SmbMapping cmdlet (developed by Microsoft! Huh!) is one of them…
You may be probably a little lost when you start working with Powershell cmdlets handling secure strings.
Indeed, one can think that ConvertFrom-SecureString gives you back what you entered with Read-Host -AsSecureString or ConvertTo-SecureString.
But that’s not the case!
Like you probably know, most of the threats enter your company through users. The most common scenarios are: infected emails browsing malicious or infected web sites opening infected documents (Word, Excel, …) That’s where the Privileged Access Workstation(PAW) or Secured Admin Workstation (SAW) come in. The main principle behind You separate the user’s environment from […]