AD Attribute msRADIUSFramedIPAddress Returns for Some Users but Not All RRS feed

  • Question

  • I can run this code and I get what I want for some user accounts, but others return either blank or

    $SBase =  'OU=Vendors,OU=MISC,OU=domain,DC=domain,DC=com'
    $Props=@("Name","saMAccountName", 'whenCreated', 'accountExpirationDate', @{Name="lastLogonTimestamp";Expression={Date}}, 'Description', @{n="MemberOf";e={($_.memberof | %{(Get-ADGroup $_).sAMAccountName}) -join ";"}}, @{L='IPAddress';E={[IPAddress] ([IPAddress]::HostToNetworkOrder( $_.msRADIUSFramedIPAddress))}})
    Get-ADUser -Filter * -SearchBase $SBase  -Properties * | Select-Object $Props

    All users have an assigned IP address. What am I missing here to get the value from all users? 



    • Moved by Bill_Stewart Monday, December 17, 2018 6:32 PM Abandoned
    Monday, October 1, 2018 9:37 PM