Win2k8
$filePath = "c:\temp\Terminal CALs "
$fileType = ".txt"
$timestamp = get-date -format "dd-MM-yyyy"
$fullPath = $filePath + $timestamp + $fileType
get-wmiobject win32_tslicensekeypack | select typeandmodel,issuedlicenses | Out-File -FilePath $fullPath
Win2k12
$filePath = "c:\temp\Terminal CALs "
$fileType = ".txt"
$timestamp = get-date -
(
Read more... )