Powershell Converting from Filetime

If you have ever worked with Powershell you send up running into DateTime stamps that are stored in FileTime instead of DateTime.

You can easily convert these to a date time object with the DateTime type accelerator.

PS C:\> [datetime]::FromFileTime(129948127853609000)
Monday, October 15, 2012 3:13:05 PM …
more ...

Running PowerShell Scripts

Running PowerShell scripts is significantly different from batch files and normal exe files.

Starting PowerShell

Search for PowerShell in the start menu, then right click and run as admin. Enter your username and password (or user your Piv Certificate) like normal.

You will then have PowerShell running as admin.

Basic …

more ...

Pages

  • Emacs Doom emacs
  • Git Advanced Cheetsheet

  • i