Skip to content

ShellGeek

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

PowerShell

Add-Content – Append Text to File in PowerShell

April 14, 2024February 18, 2022 by shelladmin

While working with files in PowerShell, we have to append text to a file using PowerShell like adding text to the end of a file, …

Read more

PowerShell Get-Date – Get Current Date Time

April 14, 2024February 17, 2022 by shelladmin

The Get-Date cmdlet in PowerShell gets the current date and time of the system. Get-Date uses the computer’s culture settings to format the output date …

Read more

PowerShell Unlock AD Account (Active Directory)

April 14, 2024February 14, 2022 by shelladmin

The Unlock-AdAccount in Active Directory unlocks the ad account. To unlock ad account, use the Identity parameter which specifies an account using the distinguished name, …

Read more

Get a List of Users from OU using PowerShell

April 14, 2024February 10, 2022 by shelladmin

The list of users from the organization unit can be retrieved using Get-AdUser with the SearchBase parameter to search for users in specific OU and …

Read more

Get-AdOrganizationalUnit Computers – Find Computers in OU

April 14, 2024February 10, 2022 by shelladmin

Computers in an organizational unit (OU) in the Active Directory can be retrieved using Get-AdOrganizationalUnit with Filter and SearchBase parameters to search within OU and …

Read more

PowerShell Get AD User Not Logged in X Days

April 14, 2024February 2, 2022 by shelladmin

As best practice to check regularly on stale accounts in the active directory, we want to query to get ad user not logged in for …

Read more

Restart Windows using Cmd and PowerShell

April 14, 2024February 2, 2022 by shelladmin

The shutdown command-line tool to restart Windows and Restart-Computer cmdlet in PowerShell is used to restart windows or reboot the windows without any GUI tool. …

Read more

Event Id 1074 – System Restart or Shutdown

April 14, 2024January 26, 2022 by shelladmin

Event Id 1074 – This event is logged when the user initiates a windows system restart or shutdown through Ctrl + Alt + Delete and …

Read more

Event Id 4670 – Permissions on an object were changed

April 14, 2024January 26, 2022 by shelladmin

Event Id 4670 event is generated when permissions on an object were changed. An object can be a file system, key, folder, registry, Service, or …

Read more

Event Id 4634 – An Account was logged off

April 14, 2024January 25, 2022 by shelladmin

Event Id 4634 event is generated when a logon session is terminated or is destroyed. The session is no longer exists. When the user initiated …

Read more

Older posts
Newer posts
← Previous Page1 … Page35 Page36 Page37 … 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