Active Directory (AD) - CMD to List the members in a AD Group

They are lot of commands to get to List the members in a AD Group. below step will work any workstation no matter what.

1. From Command Prompt
run the below cmd
>>Rundll32 dsquery.dll OpenQueryWindow
New window will open
enter the group name and click on 'find now'
below in the search result tab, you will see the Group Name, click on it.
new window will open with list of members :)


Other Commands:
>> net Group <AD-GroupName>
>> dsquery group -name <AD-GroupName> | dsget group -members -expand



Isilon Useful Commands


#####cmd to view the isilon Node hardware Serial Number
ISILON001-2#isi_for_array -s 'isi_hw_status | grep -i serno'
XXXXX001-1: SerNo: JXXXXX6120XXXX
XXXXX001-2: SerNo: JXXXXX6050XXXX

#####Check the time on isilon cluster
IsilonCluster1-2# date
Fri Aug 10 15:01:05 PDT 2018

#####Check the NTP Settings
IsilonCluster1-2# isi ntp servers list
Name          Key
------------------
10.xxx.xxx.xxx -
10.xxx.xxx.xxx -
10.xxx.xxx.xxx -
10.xxx.xxx.xxx -
------------------
Total: 4

#####cmd to view the isilon Node hardware details
isi_for_array -s 'isi_hw_status | grep -i product'
XXXXX001-1: Product: NL410-4U-Single-48GB-2x1GE-2x10GE SFP+-140TB-800GB SSD
XXXXX001-2: Product: NL410-4U-Single-48GB-2x1GE-2x10GE SFP+-140TB-800GB SSD

#####CLI command to show which nodes the worker/threads are using (Lnn=logical node number)
ISILON001-2# isi sync jobs reports view JobName_XX
Policy Name: 
JobName_XX
....
Worker ID: 0
Lnn: 1
....
Worker ID: 2
Lnn: 2


#####To view the boot drive wear life
IsilonCluster1-2#isi event events list | grep -i wear

#####View types of Jobs
IsilonCluster1-2# isi snapshot schedule list
ID   Name
------------------------------------
1    Tier-X
2    Tier-NL
3    OnBaseprdcopy_163099212
4    MHC_Infra_FileShare_Development
7    obdg$_Snapshot
8    obdg2$_Snapshot
9    obdg3$_Snapshot
10   obdg4$_Snapshot
11   obdg5$_Snapshot
12   obdg6$_Snapshot
13   obdg7$_Snapshot
14   obdg8$_Snapshot
15   obdg9$_Snapshot
16   obdiskgroups$_Snapshot
17   shc_Snapshot
18   uha-uswired_Snapshot
19   e-fax_Snapshot
20   Rad-Fax_Snapshot
21   RTA$_Snapshot
22   ProdClientFiles$_Snapshot
23   Processing_Snapshot
24   LabFaxes_Snapshot
25   ImageNet$_Snapshot
26   HimsRoiArchive_Snapshot
27   Billing-Healthlogic_Snapshot
28   EPIC_nonprod_Snapshot
29   EPIC_prod_Snapshot
30   msp_nfs_oracle
31   msp_ora_silver
32   longterm_cifs_msp_sql
33   longterm_cifs_stc_sql
34   MHC_Prod
------------------------------------

#####View Current Running Jobs
IsilonCluster1-1# isi job list
ID    Type           State   Impact  Pri  Phase  Running Time
--------------------------------------------------------------
16451 SnapshotDelete Running Medium  2    2/2    2m 46s
--------------------------------------------------------------
Total: 1

#####Delete a Snap
IsilonCluster1-1# isi snapshot snapshots delete --snapshot=<SnapShotName>
Are you sure? (yes/[no]): yes

#####Manually initiate the snapsnop clean up job
IsilonCluster1-1# isi job jobs start snapshotdelete
Started job [16451]

#####List all snapshots
IsilonCluster1-1# isi snapshot list

#####List all Shares
IsilonCluster1-1# isi smb shares list

#####Disable the FSA Snapshot Settings
IsilonCluster1-2# isi_gconfig -t job-config jobs.fsa.snap_based_mode
jobs.fsa.snap_based_mode (bool) = true

#####List the FSAnalyze Schedule
IsilonCluster1-2# isi_classic job schedule list --verbose | grep FSAnalyze
FSAnalyze       every 1 weeks on friday at 10:00 PM             07/27 22:00

#####Gather Logs
isi_gather_info
Package: /ifs/data/Isilon_Support/pkg/IsilonLogs-SHISOLPFCAP001-20180717-113405.tgz

#####CMD to Check Disk Drive Status
isi_for_array -sX isi devices list

#####Check where the client is connected
IsilonCluster1-2# isi_for_array -s netstat -an | grep "xxx.xxx.xxx.xxx"

#####Cmd to Check the ware life on Boot Disk
#isi_for_array -s isi_radish -a /dev/ad* | grep -E "Percent Life" | grep -v Used | awk '{print $1 $2 $3 $4 sprintf( "%d","0x"$9 )}'
IsilonCluster1-6:PercentLifeRemaining:99
IsilonCluster1-6:PercentLifeRemaining:92

#####Loop through the cluster nodes and grep for non-healthy drives using#####
isi_for_array "isi devices drive list| grep -iv healthy"

#####How to check the Data Target/Stored on which nodes for Isilon file / Share.
Way1:
ISILON-Cluster1-2# isi get -D /ifs/Dir1/Dir2/ | grep -i pools
*  Disk pools:         policy n410_140tb_800gb-ssd_48gb(2) -> data target n410_140tb_800gb-ssd_48gb:6(6), metadata target n410_140tb_800gb-ssd_48gb:6(6)
*  Disk pools:         policy 2
*  Disk pools:         policy n410_140tb_800gb-ssd_48gb(2) -> data target n410_140tb_800gb-ssd_48gb:7(7), metadata target n410_140tb_800gb-ssd_48gb:7(7)
*  Disk pools:         policy 2
*  Disk pools:         policy n410_140tb_800gb-ssd_48gb(2) -> data target n410_140tb_800gb-ssd_48gb:4(4), metadata target n410_140tb_800gb-ssd_48gb:4(4)
*  Disk pools:         policy 2

Way2:
#list polices
IsilonCluster1-2# isi filepool policies list
Name                 Description                                                 State
---------------------------------------------------------------------------------------
Policy1               Keeps Short Term Storage data in X nodes per GE requirement OK
Policy2               2-                                                           OK
Policy3               -                                                           OK
---------------------------------------------------------------------------------------
Total: 3
#View the polices Settings for 'Data Storage Target'
IsilonCluster1-2# isi filepool policies view --name=<Policy1>
                              Name: Policy1
                       Description: Keeps Short Term Storage data in X nodes per GE requirement
                             State: OK
                     State Details:
                       Apply Order: 1
             File Matching Pattern: Path == /Dir1/Dir2 (begins with)
          Set Requested Protection: -
               Data Access Pattern: -
                  Enable Coalescer: -
               Data Storage Target: x410_102tb_1.6tb-ssd_128gb
                 Data SSD Strategy: metadata
           Snapshot Storage Target: x410_102tb_1.6tb-ssd_128gb
             Snapshot SSD Strategy: metadata
                        Cloud Pool: -
         Cloud Compression Enabled: -
          Cloud Encryption Enabled: -
              Cloud Data Retention: -
Cloud Incremental Backup Retention: -
       Cloud Full Backup Retention: -
               Cloud Accessibility: -
                  Cloud Read Ahead: -
            Cloud Cache Expiration: -
         Cloud Writeback Frequency: -
      Cloud Archive Snapshot Files: -

Way3:
IsilonCluster1-2# isi filepool policies list --verbose --format=list
                              Name: Policy1
                       Description: Keeps Short Term Storage data in X nodes per Policy1 requirement
                             State: OK
                     State Details:
                       Apply Order: 1
             File Matching Pattern: Path == /Dir1/Dir2 (begins with)
          Set Requested Protection: -
               Data Access Pattern: -
                  Enable Coalescer: -
               Data Storage Target: x410_102tb_1.6tb-ssd_128gb
                 Data SSD Strategy: metadata
           Snapshot Storage Target: x410_102tb_1.6tb-ssd_128gb
             Snapshot SSD Strategy: metadata
                        Cloud Pool: -
         Cloud Compression Enabled: -
          Cloud Encryption Enabled: -
              Cloud Data Retention: -
Cloud Incremental Backup Retention: -
       Cloud Full Backup Retention: -
               Cloud Accessibility: -
                  Cloud Read Ahead: -
            Cloud Cache Expiration: -
         Cloud Writeback Frequency: -

      Cloud Archive Snapshot Files: -

#####To view the performance on node 10 for particular protocol
IsilonCluster1-2# isi_for_array -n10 'isi statistics client list --protocols=smb1'
IsilonCluster1-10:   Ops     In   Out  TimeAvg  Node  Proto          Class  UserName     LocalName                          RemoteName
IsilonCluster1-10: -------------------------------------------------------------------------------------------------------------------
IsilonCluster1-10: 230.2  14.5k 14.5k    216.4    10   smb1           read   UNKNOWN 10.xxx.xxx.xxx host1.domain.org
IsilonCluster1-10: 211.4   2.9M 10.8k    161.4    10   smb1          write   UNKNOWN 10.xxx.xxx.xxx                 host2.domain.org

#####How to check Net Bios is enabled on SMB 
IsilonCluster1-2# isi smb settings  global view
    Access Based Share Enum: No
  Dot Snap Accessible Child: Yes
   Dot Snap Accessible Root: Yes
     Dot Snap Visible Child: No
      Dot Snap Visible Root: Yes
 Enable Security Signatures: No
                 Guest User: nobody
                 Ignore Eas: No
       Onefs Cpu Multiplier: 4
          Onefs Num Workers: 0
Require Security Signatures: No
           Server Side Copy: Yes
              Server String: Isilon Server
       Support Multichannel: Yes
            Support NetBIOS: No
               Support Smb2: Yes