Scripting and security

Operating Systems, software development, scripting, PowerShell tips, network and security

Menú principal
  • Categorías
  • Cursos
  • Libro de PowerShell
  • Lo mejor
  • Lo último
  • Proyectos
  • Contactar
Ir al contenido

Validar credenciales en el Directorio Activo (Active Directory)

Ofertas y promociones en Videojuegos

PowerShell
1
2
3
4
Add-Type -AssemblyName System.DirectoryServices.AccountManagement
$account = New-Object System.DirectoryServices.AccountManagement.PrincipalContext([DirectoryServices.AccountManagement.ContextType]::Domain, $env:userdomain)
 
$account.ValidateCredentials('usuario', 'secreto333#@A')

CATEGORÍAS

PowerShell, Usuarios

ETIQUETAS

Active, Active Directory, Add-Type, AssemblyName, Directorio Activo, Directory, env, Jesús Niño, Jesús Niño Camazón, New-Object

MÁS

  • Administración y aseguramiento de la información (Implantación de sistemas operativos)
  • 11. Gestión del Directorio Activo (nivel intermedio)
  • Servicios de directorio (Sistemas operativos en red)
  • Ejercicios de PowerShell: ejercicios básicos sobre el sistema de archivos en PowerShell
  • Enviar credenciales (Get- Credential) mediante el protocolo UDP entre un cliente y un servidor
  • Ejercicios de PowerShell: realizar operaciones en un equipo remoto
688733626 658246935 655129286 683463550 605224734 688492729 653288752 626079884 611077023 611385045 617498195 658639297 659305326 604867163 649443406 696994265 648218694 670626666 698665173 625268717 644985880 668178503 671973657 639911939 615675207 669973289 660196618 618349842 665768823 668310185 684498781 645156860 681781958 643333730 634055519 659724833 675809401 662973867 684344770 604582523 605615906 665945667 642443047 643731938 626956432 639692269 681515268 607224431 634448066 658752788 655298016 687165234 635244291 652480154 632766675 606598818 616931341 661503102 637314465 618577734 617634841 667341848 603618008 620566568 691805295 673491097 639801112 679639905 686399681 614955081