Category Archives: Uncategorized

Powershell Tip #131: Add certificates to Personal, Root and Intermediate stores

Tip: You can add certificates to Personal, Root and Intermediate stores (LocalMachine) Personal

====== Root

====== Intermediate

====== MSDN StoreLocation Enumeration StoreName Enumeration

Powershell Tip #130: Convert ticks <> datetime

Tip: You can convert tickets to datetime and vice versa. Convert ticks to datetime

Convert datetime to ticks

Powershell Tip #129: Get midnight time

Tip: You can get the midnight time :

Powershell Tip #127: Wait for EMC Avamar Backup to be completed

Tip: You need to wait until the EMC Avamar Backup client finishes the backup. An easy way to do that is to check if the processes avtar and avvss are running.

Powershell Tip #124: Extract the OU (Organizational Unit) from DN (Distinguished Name) in Active Directory

Tip: You can extract the OU (Organizational Unit) from DN (Distinguished Name) in Active Directory. For example, someone sent you one report with DN only and you need to extract the OU.

Powershell Tip #123: Extract the CN (Common Name) from DN (Distinguished Name) in Active Directory

Tip: You can extract the CN (Common Name) from DN (Distinguished Name) in Active Directory. For example, someone sent you one report with DN only and you need to extract the CN.