Skip to content

ShellGeek

  • Home
  • PowerShell
  • PowerShell Tips
  • Docker
  • Microsoft Services
    • Office 365
    • Microsoft 365
    • Outlook
  • About Us

PowerShell

Get AdUsers: Format Table Output Formatting

April 14, 2024August 5, 2022 by shelladmin

The Format-Table (FT) cmdlet in PowerShell formats the output to the table. To format a list of adusers in the table, use the Get-AdUser cmdlet …

Read more

Get AdUser Multiple Users Properties

April 14, 2024August 4, 2022 by shelladmin

Using the Get-AdUser cmdlet in PowerShell, we can get multiple user properties. The Get-AdUser cmdlet gets one or more active directory user objects. You can …

Read more

Convert SID to Username in PowerShell and Cmd

April 14, 2024August 4, 2022 by shelladmin

If you have user SID, we can convert SID to username in PowerShell using the .NET framework class System.Security.Principal.SecurityIdentifier.Use the wmic command to get user …

Read more

Get AdUser DistinguishedName in Active Directory

April 14, 2024August 4, 2022 by shelladmin

A Distinguished Name (DN) in the Active Directory uniquely identifies an object in the directory. To get aduser distinguishedname, use the Get-AdUser cmdlet with its …

Read more

Get AdUser Description From Active Directory

April 14, 2024August 4, 2022 by shelladmin

Use the Get-AdUser cmdlet in PowerShell to get aduser description from the active directory. AdUser object has an attribute Description, using the Select or Select-Object …

Read more

Get AdUsers Exclude Specific OU in Active Directory

April 14, 2024August 4, 2022 by shelladmin

To get adusers excluding specific OU in the active directory, you can use the Get-AdUser cmdlet with the SearchBase parameter to get all the users …

Read more

PowerShell Split Path into Array

April 14, 2024August 2, 2022 by shelladmin

To split the path into an array in PowerShell, use PowerShell String Split() function or split operator. The directory path is separated by character backslash …

Read more

PowerShell – Multiline Comments

April 14, 2024August 1, 2022 by shelladmin

In PowerShell, use the # symbol at the beginning of a line to comment out a single line. Multiline comments in PowerShell can be easily …

Read more

PowerShell – Multiline Command [With Examples]

April 14, 2024August 1, 2022 by shelladmin

PowerShell multiline command helps to split commands into multiple statements for readability. Readable code very easily communicates its purpose of functionality to the users. For …

Read more

PowerShell Split String on First Occurrence of Substring

April 14, 2024August 1, 2022 by shelladmin

Using the PowerShell String built-in Split() method or split operator, you can split a string on the first occurrence of a substring or character. Using …

Read more

Older posts
Newer posts
← Previous Page1 … Page30 Page31 Page32 … Page40 Next →

Recent Posts

  • How to View Docker Container Logs
  • How to Remove a Docker Container
  • How to Stop a Running Docker Container

Footer

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