No announcements
Found 1380596 threads
-
0 Votes
How to use Get-ADGroupMember
Example: Get-ADGroupMember -Identity $Group | Get-Member Now you will notice, that the output of ...Answered | 2 Replies | 5192 Views | Created by Pwrshelllrn - Tuesday, February 9, 2016 5:13 PM | Last reply by FWN - Tuesday, February 9, 2016 5:50 PM -
0 Votes
Using select with get-adgroupmember
Hi Kent, I have used the following script for my audits: Get-ADGroup -filter {Name -eq "Group1"} | Foreach{ ...Answered | 4 Replies | 5570 Views | Created by KentYeabower - Wednesday, February 19, 2014 4:38 PM | Last reply by Mike Laughlin - Wednesday, February 19, 2014 5:58 PM -
0 Votes
Anomaly with Get-ADGroupMember
$nullResults = @(Get-WmiObject FakeClass -ErrorAction SilentlyContinue) PS C:\scripts> $nullResults.Count 0 Always ...Answered | 17 Replies | 1825 Views | Created by Tim Cerling - Monday, September 16, 2013 3:46 PM | Last reply by Bill_Stewart - Tuesday, September 17, 2013 12:39 PM -
0 Votes
Get-ADGroupMember by different criteria
# Get all Members $Users = Get-ADGroupMember Standard_Accounts | Get-ADUser -Properties samaccountname, emailaddress, description, ...Answered | 3 Replies | 3214 Views | Created by Adam-M - Tuesday, April 1, 2014 8:13 AM | Last reply by FWN - Tuesday, April 1, 2014 2:12 PM -
0 Votes
Get-ADgroupmember
Get-ADGroupMember testgrp2 |select name, objectClass \_(ツ)_/Answered | 1 Replies | 551 Views | Created by GotUagain - Friday, November 11, 2016 9:06 PM | Last reply by jrv - Friday, November 11, 2016 9:46 PM -
0 Votes
Get-ADGroupMember Output Formatting
I'm not sure why, but (Get-ADGroupMember -identity "Domain Admins").SamAccountName did not return anything at all.Answered | 4 Replies | 10721 Views | Created by jclarkemmis - Friday, March 28, 2014 5:35 PM | Last reply by Mike Laughlin - Friday, March 28, 2014 7:40 PM -
3 Votes
Properties of get-ADGroupMember
To get a list of properties of the members, you can throw the results into a loop: Get-ADGroupMember "GroupName" -Recursive | Foreach-Object ({ ...Answered | 4 Replies | 29727 Views | Created by Ogeccut - Tuesday, December 2, 2014 10:24 PM | Last reply by cpgdallasWFM - Wednesday, January 8, 2020 4:24 PM -
0 Votes
Help with Remove-ADGroupMember
I get "Remove-ADGroupMember : Cannot validate argument on parameter 'Identity'.Answered | 5 Replies | 3364 Views | Created by Dsmyth1915 - Thursday, June 4, 2015 12:36 AM | Last reply by jrv - Thursday, June 4, 2015 1:23 PM -
0 Votes
Get-ADGroupMember of two groups
For example: (&(memberOf=cn=Group A,ou=East,dc=MyDomain,dc=com)(memberOf=cn=Group B,ou=West,dc=MyDonain,dc=com)) The Get-ADGroupMember does not ...Answered | 3 Replies | 6981 Views | Created by Jo Gaffney - Monday, February 20, 2012 5:01 PM | Last reply by Richard Mueller - Monday, February 20, 2012 6:03 PM -
1 Votes
Get-AdGroupMember in a FOREACH loop with variables
The problem seems to be with how the Identity parameter of Get-ADGroupMember works.Answered | 11 Replies | 21600 Views | Created by Robert Little - Tuesday, February 7, 2012 6:48 PM | Last reply by mjolinor - Wednesday, February 8, 2012 4:39 PM -
0 Votes
Odd BitLocker behavior
BitLocker is displaying an odd behavior since I upgraded, but I'm not sure how to correct it.Answered | 1 Replies | 814 Views | Created by RolandWin - Wednesday, August 5, 2015 5:26 PM | Last reply by Kate Li - Friday, August 7, 2015 8:46 AM -
0 Votes
Add-AdGroupMember
I run the below script with a loop for both computers and groups: $computers = @( 'CN=AVTECH-TEST1,OU=Computers,OU=Root,DC=Avtech,DC=Com' ...Answered | 5 Replies | 692 Views | Created by Avellano81 - Monday, May 6, 2019 9:38 AM | Last reply by jrv - Monday, May 6, 2019 1:42 PM -
0 Votes
Odd behavior with Get-ADGroupMember in script
$groupList = 'Foo_AD_Group1','Foo_AD_Group2','Foo_AD_Group3','Foo_AD_Group4','Foo_AD_Group5' ForEach ($group in $groupList) { Get-ADGroupMember ...Proposed | 1 Replies | 350 Views | Created by Morienglyndwr - Thursday, January 25, 2018 4:32 PM | Last reply by jrv - Thursday, January 25, 2018 4:43 PM -
0 Votes
Odd Certificate Behavior
The odd behavior I'm seeing is that I can only see the cert listed in the ECP on the server where I actually imported the certificate, even though I selected all ...Answered | 1 Replies | 609 Views | Created by DG1212 - Wednesday, June 29, 2016 7:24 PM | Last reply by Andy David - Wednesday, June 29, 2016 10:46 PM -
1 Votes
Get-ADGroupmember with Members in different Forest's
Independent of the -Recursive Parameter, * Get-ADGroupMember <GroupExcludingForeignPrincipal> --> works * ...Answered | 4 Replies | 39228 Views | Created by D.Horn - Tuesday, July 24, 2012 9:13 AM | Last reply by IT-Marky - Monday, April 22, 2013 3:41 PM -
16 Votes
Powershell Get-ADGroupMember Size Limit
$SDComm = Get-ADGroup "sd communications" -Properties Member | Select-Object -ExpandProperty Member | Get-ADGroupMember -Recursive PS C:\> ...Answered | 15 Replies | 49448 Views | Created by Pigtaru - Friday, July 26, 2013 5:20 PM | Last reply by Noeffort - Richard - Tuesday, January 31, 2017 11:36 PM -
0 Votes
Get-ADGroupMember + User Managers Name
Get-ADGroupMember DNGROUP1 & DNGROUP2.Answered | 9 Replies | 8121 Views | Created by Jo Gaffney - Monday, February 20, 2012 3:05 PM | Last reply by Bigteddy - Monday, February 20, 2012 4:59 PM -
1 Votes
Get-ADGroupmember with Users in different Forest's
Hello, Please read this link: Advice with get-adgroupmember RegardsAnswered | 6 Replies | 27726 Views | Created by D.Horn - Monday, July 23, 2012 8:58 AM | Last reply by PowerShell24.de - Monday, August 27, 2018 1:42 PM -
0 Votes
Get-ADGroupMember Find Specific User
Here's how: $array = @() $hash = @{} $account = Read-Host "Please Enter Account" $security = Read-Host "Please Enter Security Group" if ...Answered | 3 Replies | 3043 Views | Created by xXAzazelXx - Tuesday, March 15, 2016 7:06 AM | Last reply by FWN - Tuesday, March 15, 2016 10:36 AM -
0 Votes
Get-Adgroupmember - Foreign Security Principals
So, I will put it in a variable called $identity: $foreign | % {$object = $_; $identity = Get-adobject -Identity $object | select -ExpandProperty ...Answered | 2 Replies | 10625 Views | Created by Chris from Columbus - Friday, July 22, 2016 6:46 PM | Last reply by George Constantinescu - Tuesday, June 26, 2018 1:18 PM - Items 1 to 20 of 1380596 Next ›
No announcements