Tags » Outlook

DCM - Check if User has PST's mounted in Outlook

I wrote a machine-based rule to check if the environment contains anyone who was actively using PST’s per management request.  Voila:

$primaryUser = "" # use some method to determine the primary user of the machine
$officeVersion = "16.0"
$sid = (New-Object System.Security.Principal.NTAccount($primaryUser)).Translate().value

$valuesarray = New-Object System.Collections.ArrayList
New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS -ErrorAction SilentlyContinue | Out-Null

$strOutlookSubkey = "HKU:\$sid\Software\Microsoft\Office\$officeVersion\Outlook\Profiles\Outlook"
$outlookSubkey = (Get-ChildItem "$strOutlookSubkey" -ErrorAction SilentlyContinue).PSChildName

foreach ($key in $outlookSubkey){
    $properties = $null
    $properties = (Get-Item "$strOutlookSubkey\$key").Property
    foreach ($property in $properties){
        if ((Get-ItemPropertyValue -Path "$strOutlookSubkey\$key" -Name $property).GetType().Name -eq 'Byte[]'){
            $valuesarray.Add(::Unicode.GetString((Get-ItemPropertyValue -Path "$strOutlookSubkey\$key" -Name $property))) | Out-Null

$filteredValuesArray = ($valuesarray | ? 31 more words

I’m Michael Honke and This Is How I Mesh

I’m a Canadian masters student interning at Pointwise from the University of Waterloo. My current research is on ferrofluid simulation. I did a BSc in Physics as my undergrad degree at the… 653 more words


Governor SBP welcomes change in Moody’s Outlook and recent market developments

Governor SBP, Dr. Reza Baqir, welcomed Moody’s change in outlook on Pakistan from negative to stable. He noted that this positive development reflects the recognition of tough decisions taken by the economic policymakers over recent months including the step devaluations of the exchange rate that culminated in the change in the exchange rate regime to a market based system since May 2019. 250 more words


One Time Password

Money transactions became very easy after the onset of online banking. Transferring money, paying bills and debts are all just a few clicks away. But with these increasing online transactions, security became the prime concern. 425 more words


Negative Nathan

When I consider upcoming events in my life, I am prone to think of the worst-case scenario (that’s plausible and possible at least). I tend to have a negative approach to new relationships, job circumstances, etc. 1,213 more words