Skip to content

ShellGeek

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

PowerShell

Merge Multiple Text Files into One in PowerShell

by shelladmin

Merging multiple text files into one in PowerShell can be accomplished using the Get-Content and Set-Content cmdlets in PowerShell. Concatenating files into one is necessary …

Read more

Get-AdGroupMember – Export AD Group Members to CSV

by shelladmin

Get-AdGroupMember PowerShell cmdlet gets AD group members, members can be users, computers, or groups. Administrator often needs to export active directory group members to CSV …

Read more

Get-ADComputer- Find Computer Details in OU with Examples

by shelladmin

Get-AdComputer cmdlet in PowerShell is used to find one or more computers in the Active Directory or find computers in OU (Organization Unit). Using the …

Read more

PowerShell Compare Two Strings

by shelladmin

Comparing two strings in PowerShell can be easily done using different ways like using the equal() method, -eq operator, or PowerShell -like operator to compare …

Read more

Get-AdComputer PasswordLastSet – Find Stale Computers

by shelladmin

PasswordLastSet attribute stores information about the password last set for the computer. In the active directory, you can check the last password set date in the …

Read more

PowerShell Convert Integer to String

by shelladmin

In PowerShell to perform automation tasks, it’s quite often to convert data from different data types like converting an integer to a string. To convert …

Read more

PowerShell Convert String to Integer

by shelladmin

In PowerShell, converting string to integer is necessary when mathematical or conditional operations need to be performed on a value stored as a string. Use …

Read more

Find Empty Organizational Unit in Active Directory

by shelladmin

Empty organizational units in the Active Directory can be retrieved using Get-AdOrganizationalUnit with a filter switch where it checks if OU doesn’t contain any users, …

Read more

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

Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page27 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