Skip to main content

Useful AD commands in View

Command 101 :

We have option to Add AD group in view pool entitlement. we can't export user details in group as we do in view manager. if required any details like user count or user name details, need to open AD user and computer and search manually whenever required.

As a best practice always keep this details handy. i have tried out one simple command to import all  user in group to csv file.

Command

Get-ADGroupMember -identity “<AD-group>” | select name | Export-csv -path e:\Myfile\<filename>.csv

Note : Make sure you don't keep any space in destination path folder

Example

import-module activedirectory

Get-ADGroupMember -identity “VDI-DD-STD1” | select name | Export-csv -path e:\Myfile\groupcount.csv


Comments

Popular posts from this blog

Vmware view Sysprep customization steps

VMware View Desktop Error 'The Display Protocol for this Desktop is currently blocked by a firewall'

user profile conflict in c drive and d drive or user profile is not creating in d drive

VMware View Display Protocol Error