Common Powershell Commands

get-service Get-Help Get-Help -Name Get-* Get-Command –Name *IP* Set-ExecutionPolicy Get-ExecutionPolicy Get-Service ConvertTo-HTML Export-CSV Get-Service | Export-CSV c:\service.csv Select-Object Get-Service |…

Continue Reading →

MySQL Date Math

SELECT DATE_SUB(CURDATE(), INTERVAL 30 DAY); SELECT DATE_SUB(CURDATE(), INTERVAL 1 MONTH) SELECT DATE_SUB(CURDATE(), INTERVAL 3 MONTH) SELECT DATE_SUB(CURDATE(), INTERVAL 6 MONTH)…

Continue Reading →

CSS Font-Family

Serif Fonts ~~~~~~~~~~ Georgia, serif “Palatino Linotype”, “Book Antiqua”, Palatino, serif “Times New Roman”, Times, serif Sans-Serif Fonts ~~~~~~~~~~~~~~ Arial,…

Continue Reading →

Run from CMD Prompt

Environment Variable Path %ALLUSERSPROFILE% C:\ProgramData %APPDATA% C:\Users\{username}\AppData\Roaming %COMMONPROGRAMFILES% C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files %COMSPEC% C:\Windows\System32\cmd.exe %HOMEDRIVE% C:…

Continue Reading →