Skip to content

ShellGeek

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

PowerShell Tips

PowerShell Stop-Process – How to Kill Process If Running

by shelladmin

The Stop-Process PowerShell cmdlet stops the process if running. You can kill the process if running by using the process name, process ID (PID), or …

Read more

Net User – Create Local User using CMD Prompt

by shelladmin

Net User command-line tool used to add or modify user accounts, and manage user groups in Windows. I will explain how to create a local …

Read more

PowerShell – Get File Creation Date

by shelladmin

Very often System administrator has to work with file and folder operations to get file creation date timestamp, and filename to extract all information in …

Read more

Useful PowerShell Scripts for Help Desk

by shelladmin

PowerShell has a powerful set of commands and is used by system admins, service desk staff, help desk staff, and software developers to automate tasks, …

Read more

PowerShell Execute Script With NoProfile Parameter

by shelladmin

The NoProfile parameter in PowerShell can be used to prevent the execution of the user’s profile when the PowerShell starts. The profile is a script …

Read more

$PSScriptRoot in PowerShell – Get full path of executing script

by shelladmin

$PSScriptRoot automatic variable in PowerShell Contains the full path to the script that uses the $PSScriptRoot variable in the script or command. $PSScriptRoot is one …

Read more

PowerShell List Files in Directory

by shelladmin

In one of my recent tasks, I had to deal with files and folder-based operations on a local system. File or folder-based operation is a …

Read more

PowerShell – Count Files in Folder using Get-ChildItem

by shelladmin

The Get-ChildItem in the PowerShell cmdlet get items and child items in one or more specified location specified by the Path parameter. To get count …

Read more

PowerShell Count Lines in File and Words

by shelladmin

In this quick article, I will explain how to count lines in a file and get a number of lines and words in the file …

Read more

PowerShell Find Large Size Files

by shelladmin

Use the Get-ChildItem cmdlet in PowerShell to get items in one or more specific locations and the file size attributes to find the large size …

Read more

Older posts
Page1 Page2 … Page5 Next →

Recent Posts

  • Outlook Logging – Enable Logging for Troubleshooting
  • PowerShell Stop-Process – How to Kill Process If Running
  • Get-AdUser – Find and Export Active Directory Users

Footer

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