


# Create a new local user named "max"

Add-User -name "max" -Container "WinNT://localhost" -Password "secret-123"

# Set the Description property of the user "max" to "just a test account!"

Set-DirectoryValue -Path "WinNT://localhost/max" -Name "description" -Value "just a test account!"

# Remove the use "max"

Remove-DirectoryEntry "WinNT://localhost/max"