Skip to content

ShellGeek

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

shelladmin

How to Get Drivers Version Using PowerShell

April 14, 2024September 4, 2022 by shelladmin

Use the Win32_PnPSignedDriver class of the Get-WmiObject WMI object to get the driver’s version using PowerShell. Refer to the below steps to get the driver …

Read more

Using GetEnumerator in PowerShell to Read Data

April 14, 2024August 26, 2022 by shelladmin

GetEnumerator in PowerShell is used to iterate through the Hashtable or array to read data in the collection. GetEnumerator doesn’t modify the collection data. Use …

Read more

Get File Size in KB, MB, GB using PowerShell

April 14, 2024August 26, 2022 by shelladmin

Use the Get-Item cmdlet in PowerShell to get the file in the specified drive. The Length property of the File system directories gets the file …

Read more

PowerShell Epoch Time and DateTime Conversion

April 14, 2024August 25, 2022 by shelladmin

The Unix Epoch Time is the number of seconds that have elapsed since January 1, 1970. Using the Get-Date cmdlet with -UFormat %s in PowerShell, …

Read more

Using PowerShell to Escape Double Quotes

April 14, 2024August 25, 2022 by shelladmin

Use the backtick character (`) in PowerShell to escape the double quotes in a double quotes string and use double quotes (“) to escape a …

Read more

Split String into Fix Length in PowerShell

April 14, 2024August 25, 2022 by shelladmin

Use the Split operator in PowerShell with a regular expression (.{3}) to split the string into fixed lengths in PowerShell. The Split operator breaks the …

Read more

PowerShell Copy-Item – Copy Files to Other Location

April 14, 2024August 15, 2022 by shelladmin

Copy-Item cmdlet in PowerShell copies the file from one location to another location. It copies files and directories in the file system and registry keys …

Read more

How to Check PowerShell String Contains Multiple Values

April 14, 2024August 15, 2022 by shelladmin

Use the PowerShell match operator to check if the string contains multiple values inside it or not. Use the string Join method to join the …

Read more

Extract Substring After Character in PowerShell

April 14, 2024August 15, 2022 by shelladmin

To get PowerShell substring after a character in the given string, use the IndexOf method over the string to get the position of the character. …

Read more

How to Find Position of Substring in PowerShell

April 14, 2024August 15, 2022 by shelladmin

Using the Indexof() or LastIndexOf() methods in PowerShell, we can find the index position of the substring in PowerShell. IndexOf() method finds the first occurrence …

Read more

Older posts
Newer posts
← Previous Page1 … Page38 Page39 Page40 … Page55 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