Skip to content

ShellGeek

  • Home
  • PowerShell
  • PowerShell Tips
  • About Us
  • Contact

Find What Domain Controller Am I Using?

by shelladmin

Use the windows command echo %logonserver% in cmd and $env:logonserver in the PowerShell, terminal to find the domain controller you are connected to. These commands …

Read more

Check Password Policy in the Active Directory

by shelladmin

Use the Get-ADDefaultDomainPasswordPolicy cmdlet in PowerShell to check password policy in the Active Directory. This command gets details like MaxPasswordAge, MinPasswordAge, Password length, etc… Use …

Read more

What Active Directory Groups Am I In?

by shelladmin

Use commands whoami /groups and gpresult /r to find out what active directory groups am i in. ADUC snap-in tool provides user groups membership it …

Read more

Command to Open Active Directory Users and Computers

by shelladmin

Use the dsa.msc command to open Active Directory Users and Computers graphical user interface. You can use the command dsa in the PowerShell terminal. Active …

Read more

Find Inactive Users in Active Directory

by shelladmin

Active directory user has an attribute “lastLogonTimeStamp” that stores the user last login timestamp. This attribute helps to find inactive users in Active Directory. Inactive …

Read more

PowerShell Ping Sweep Script

by shelladmin

A ping sweep is a network discovery technique used by network administrators to check the active IP addresses on the network. Use the PowerShell Test-Connection …

Read more

Run PowerShell As System

by shelladmin

Run PowerShell as System is important for several reasons like higher permissions to perform the actions that user accounts can not, and access to files, …

Read more

PowerShell – Recursively Set Permission on Files

by shelladmin

Use the Set-Acl cmdlet in PowerShell to change the security descriptor for the file, folders, or registry key. It applies security descriptors recursively on multiple …

Read more

Copy Files From Windows to Linux using PowerShell

by shelladmin

Use the SCP (Secure Copy) command is used to copy files from Windows to Linux, it uses the SSH protocol for encryption and authentication to …

Read more

PowerShell Export Certificate from a Certificate Store

by shelladmin

Use the Export-Certificate cmdlet in PowerShell to export a certificate or download a certificate from the certificate store. It takes the certificate store location path …

Read more

Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page33 Next →

Recent Posts

  • Get BitLocker Status using PowerShell
  • Get BitLocker Recovery Key Using PowerShell
  • PowerShell Get Activation Key for Windows

Footer

  • Home
  • About Us
  • Contact
  • Privacy Policy
  • Terms and Conditions
Copyright © 2023 ShellGeek All rights reserved