Wednesday, June 14, 2017

Apple Mail 9,223,372,036,854,775,807 filtered messages.



I have seen this multiple times on my Mac. Click the filter off and the number goes back to normal.

Tuesday, June 13, 2017

Fortinet "diag vpn tunnel reset" command. Yikes!


While working on a Fortigate that is the central hub for a vpn network, I typed "diag vpn tunnel reset". I intended to type "diag vpn tunnel reset tunnel-name". Most of the vpns dropped and would not come back online. The equipment had to be rebooted at all the remote sites to bring up the vpn tunnels.

Dont do this!!!

Tuesday, June 6, 2017

How to get a list of ActiveSync users and devices from command line.

$mbx=get-mailbox

$mbx | foreach {$name = $_.name; $alias = $_.alias; $device = get-activesyncdevicestatistics -mailbox $_.identity; $device | foreach {write-output "$alias;$name;$($_.devicefriendlyname);$($_.deviceid);$($_.LastSuccessSync)"} } >list.txt

This is the output. One line for each mobile device.

smithb;Smith, Bob;iPad Air;Appl345SDFGDFG;06/06/2017 16:05:01
smithb;Smith, bob;iPhone 7;SDFGD987938798;06/05/2017 16:06:00
...

Friday, June 2, 2017

How to get list of ActiveSync users from the Exchange command line.

This will provide a simple list like below.


Get-ActiveSyncDevice | select UserDisplayName, devicetype

example.com/ou/Smith, Bob       iPhone
example.com/ou/Smith, John     Android
example.com/ou/Smith, Kelly     SAMSUNGMG955U


Wednesday, May 24, 2017

Citrix users cannot remove old shortcuts from the Start Menu

Users are not allowed to right click and remove shortcuts. I found the location in the registry but it is encrypted. If I remove all of UserAssist, the Start Menu is empty.

HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\Explorer\UserAssist\

After a day of searching I found this this tool that worked for my setup.

http://www.nirsoft.net/utils/userassist_view.html

Now I am able to remove one outdated shortcut and leave the rest.

Friday, April 28, 2017

I can not view the Primary Stream on Pelco cameras.

This is the default setting when accessing this camera in a web browser.

  

Next I get this on Safari.

  

If I click that box, I get this info from Apple.

   

I have tried several computers with different browsers and none can view the primary stream. Why is new hardware using Quicktime 7?

Thursday, April 27, 2017

How to view all the hidden fields in Active Directory Users and Computers.

Active Directory Users and Computers
View / advanced Features
Find User
Member Of / Open group
Close User
Open User again

Attribute Editor tab

More than 500 fields are now available in the GUI. Why are there so many Microsoft?