Skip to content

ShellGeek

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

Get-Date

PowerShell – Convert Datetime to String

by shelladmin

The PowerShell DateTime object has a built-in method that converts datetime to string. The ToString() method of the DateTime object converts a DateTime to a …

Read more

Convert Timestamp to Date in PowerShell

by shelladmin

To convert timestamp to Date in PowerShell, use the .Net method FromFileTimeToUTC(). This method takes Int64 as the input parameter and returns the DateTime. Windows …

Read more

PowerShell Compare Files Modified Date and Creation Dates

by shelladmin

The file has attributes like CreationTime, LastWriteTime, Length, etc. In PowerShell to compare files by modified date or creation date, use the PowerShell operators lt …

Read more

PowerShell Compare Dates

by shelladmin

PowerShell Get-Date cmdlet returns the DateTime object. To Compare dates in PowerShell, use the PowerShell operator lt or gt. It compares the date is less …

Read more

PowerShell Get-Date Minus 1 Day

by shelladmin

In PowerShell to get yesterday’s date or Get-Date minus 1 day date, use the Get-Date cmdlet. Get-Date returns the current date and time. The Get-Date …

Read more

Recent Posts

  • Get BitLocker Status using PowerShell
  • Get BitLocker Recovery Key Using PowerShell
  • PowerShell Get Activation Key for Windows

Footer

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