Skip to content

ShellGeek

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

shelladmin

Delete Disabled AD Account Using PowerShell

April 14, 2024January 31, 2023 by shelladmin

Active directory user Enabled property tells the user is enabled or disabled. If the Enabled property value is True, the ad user is active else …

Read more

PowerShell Bind Certificate to IIS Site

April 14, 2024January 31, 2023 by shelladmin

IIS (Internet Information Services) web server in Windows OS is used to host static or dynamic websites. To get the trust of users of your …

Read more

PowerShell Create Self-Signed Certificate for IIS

April 14, 2024January 31, 2023 by shelladmin

Use the New-SelfSignedCertificate cmdlet in PowerShell to create a self-signed certificate for the IIS website in the LocalMachine\My store. Self-Signed certificates are created for testing …

Read more

Search String in File or Grep in PowerShell

April 14, 2024January 31, 2023 by shelladmin

PowerShell Grep equivalent cmdlet is Select-String which uses regular expressions to search string in files. Select-String cmdlet in Powershell works similar to grep in UNIX …

Read more

Get AdUsers with Password Never Expires

April 14, 2024January 31, 2023 by shelladmin

The main reason for setting up the Active Directory Password Policy is to ensure that all users are using sufficiently secure passwords. This can be …

Read more

PowerShell Get SSL Certificate Information

April 14, 2024January 31, 2023 by shelladmin

Use the [Net.HttpWebRequest] library to create a connection to the website URI and GetResponse() that contains SSL certificate information like Handle, Issuer, Subject, Expiration Date, …

Read more

PowerShell Get SSL Certificate Thumbprint

April 14, 2024January 31, 2023 by shelladmin

In PowerShell, use GetCertHashString() method associated with ServicePoint.Certificate to get SSL certificate thumbprint or cert hash value. Thumbprint or certificate hash is a unique identifier …

Read more

Check SSL Certificate Expiration Date in PowerShell

April 14, 2024January 31, 2023 by shelladmin

SSL ( Secure Sockets Layer) is a digital certificate that provides an encrypted connection between server and client and authenticates a website identity. To keep …

Read more

CMD – Get Current UserName in Windows

April 14, 2024January 31, 2023 by shelladmin

Use environment variable %username% to get the currently logged-in user name using cmd in the Windows system. Environment variables store the current user logged-in information. …

Read more

Get Certificate Serial Number in PowerShell

April 14, 2024January 30, 2023 by shelladmin

The certificate has a SerialNumber property that is used to get the certificate serial number in PowerShell. It returns the string type value. Use the …

Read more

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