Skip to content

ShellGeek

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

Get last boot time of computer using PowerShell

by shelladmin

You can get the last boot time of the computer or remote computers using the PowerShell script. net stats, systeminfo, wmic (windows management instrumentation), and …

Read more

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

Get-ComputerInfo – Get Computer Multiple Properties

by shelladmin

The command to get computer multiple properties like manufacturer, BIOS info, etc.. is the Get-ComputerInfo cmdlet in PowerShell. Get-ComputerInfo cmdlet in PowerShell retrieves computer hardware …

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

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