Friday 26 March 2021

Command line to list users in a Windows Active Directory group?


The ability to administer and maintain up-to-date user lists and groups is critical to the security of an organization.

Using the GUI

There are a number of different ways to determine which groups a user belongs to. First, you can take the GUI approach:

1.     Go to “Active Directory Users and Computers”.

2.     Click on “Users” or the folder that contains the user account.

3.     Right click on the user account and click “Properties.”

4.     Click “Member of” tab.

Using the Command Line 

gpresult /V

You’ll get output that looks like this (I’ve truncated it to only include the group info):



  





Another command line to export to an output file

dsquery group -name ‘groupname’ | dsget group -members | dsget user -display >> outputfilename.txt


How do I check my mailbox database mount status?

Quick Exchange (on-prem)  Tips:


How do I check my mailbox database mount status?

Get-MailboxDatabase with the -status

Shell to create a user mailbox

New-Mailbox -Alias onPrem1 -Name "Test onprem1" -FirstName onPrem -LastName onprem1 -DisplayName "Test onprem1" -UserPrincipalName onprem1@yourdomain.com -Password (ConvertTo-SecureString -String 'P@ssw0rd' -AsPlainText -Force)

Shell to create a existing user mailbox

Enable-Mailbox estherv@yourdomain.com -Database UsersMailboxDatabase

Enable-Mailbox ktadmin@yourdomain.com -Database MDB1

check results:

Get-Mailbox -Database MDB1


License Issue M365 E3 to E5 Resolved and Next Step

We had enough trouble when swapped license between E3 to E5.

M365 license (means Enterprise Mobility + Security E5 & Office 365 E5) and feature selection is important.

Following issues were reported when license step up was carried out from E3 to E5:

We had users (a few frontrunners) complaining that they get product deactivated message and sign-in issues when we moved them from E3 to E5 group.



 

Resulting in failure to sign in.



Reactivate message remains

However, the aforesaid issue can be easily resolved by selecting the license feature ‘Microsoft 365 Apps for enterprise’ to ‘ON’ from office admin portal


 



‘Microsoft 365 Apps for enterprise’ to ‘ON’

Samsung Galaxy device Crashing Apps?

This happened to me on 24th March 2021. When I opened my navigation WAZE app and Outlook app, at first glance I was pondering why they closed abruptly and thought what went wrong. A quick investigation made me realize that a lot of Galaxy smartphone and tablet users as well were complaining about apps crashing on their devices. This issue is not just limited to Samsung’s devices. It is a widespread issue that is affecting a lot of Android users globally since 24th of March 2021. 

If you are one among them, then you are at the right blog with a remediation plan and fix those app crashes using a simple solution.

Don't worry, it took less than 5 mins. for me to fix my Samsung Galaxy Note 10+ Android phone.

The issue is related to a system component called Android System WebView. Google released a buggy update to the component via the Play Store, which resulted in app crashes for many users. If you are facing the same issue on your Samsung Galaxy smartphone or tablet, you should try to check the Play Store and update the Android System WebView app (version 89.0.04389.105).

If you can’t spot the update, you can fix it by uninstalling the latest update to the Android System WebView. You can navigate to Settings » Apps >> Android System WebView and tap on it and uninstall updates.

If you are on a device running Android 9, you can do the following:

  1. Navigate to Settings » Apps
  2. Tap on the three dots on the top right corner of the screen.
  3. Now tap on Show system apps.
  4. Now find Android System WebView and tap on it.
  5. Now select Uninstall updates.

Alternatively, you can also try to uninstall the update to Android System WebView directly from the Play Store.