Get-ADUser -Properties ipphone in Windows 7



  • I am trying to create a simple script that retrieve ipphone extension from ADUser properties on Windows 7, then add the extension to XML file, but I am not sure where to start.

    I can get the ipphone extension if I run the command on the DC server, but I need to run it on Windows 7. Any idea?

    EDIT: My goal is to retrieve the extension in ipphone attribute, then use the extension found to insert into xml file.



  • @stess said in Get-ADUser -Properties ipphone in Windows 7:

    I am trying to create a simple script that retrieve ipphone extension from ADUser properties on Windows 7, then add the extension to XML file, but I am not sure where to start.

    I can get the ipphone extension if I run the command on the DC server, but I need to run it on Windows 7. Any idea?

    EDIT: My goal is to retrieve the extension in ipphone attribute, then use the extension found to insert into xml file.

    If the Windows 7 machine in question is joined to the domain, just install RSAT and tell it you want the PowerShell modules for AD. Then you you can use the AD commands in powershell.



  • @dafyre said in Get-ADUser -Properties ipphone in Windows 7:

    @stess said in Get-ADUser -Properties ipphone in Windows 7:

    I am trying to create a simple script that retrieve ipphone extension from ADUser properties on Windows 7, then add the extension to XML file, but I am not sure where to start.

    I can get the ipphone extension if I run the command on the DC server, but I need to run it on Windows 7. Any idea?

    EDIT: My goal is to retrieve the extension in ipphone attribute, then use the extension found to insert into xml file.

    If the Windows 7 machine in question is joined to the domain, just install RSAT and tell it you want the PowerShell modules for AD. Then you you can use the AD commands in powershell.

    So to use get-aduser I have to install RSAT on all machines, then enable AD module for PS, then import them through PS?



  • @stess said in Get-ADUser -Properties ipphone in Windows 7:

    I am trying to create a simple script that retrieve ipphone extension from ADUser properties on Windows 7, then add the extension to XML file, but I am not sure where to start.

    I can get the ipphone extension if I run the command on the DC server, but I need to run it on Windows 7. Any idea?

    EDIT: My goal is to retrieve the extension in ipphone attribute, then use the extension found to insert into xml file.

    What version is your DC running on?
    2012R2 requires Windows 8.1 with RSAT or greater.



  • @black3dynamite said in Get-ADUser -Properties ipphone in Windows 7:

    @stess said in Get-ADUser -Properties ipphone in Windows 7:

    I am trying to create a simple script that retrieve ipphone extension from ADUser properties on Windows 7, then add the extension to XML file, but I am not sure where to start.

    I can get the ipphone extension if I run the command on the DC server, but I need to run it on Windows 7. Any idea?

    EDIT: My goal is to retrieve the extension in ipphone attribute, then use the extension found to insert into xml file.

    What version is your DC running on?
    2012R2 requires Windows 8.1 with RSAT or greater.

    2012R2 / Windows 7 Pro 64bits



  • @stess said in Get-ADUser -Properties ipphone in Windows 7:

    the extension to XML file, but I am not sure where to start.

    Why is your admin station still Windows 7? You can upgrade for free.
    Once you upgrade, you'll have the latest version of PowerShell and you won't have these types of issues of compatibility.



  • @Dashrender said in Get-ADUser -Properties ipphone in Windows 7:

    @stess said in Get-ADUser -Properties ipphone in Windows 7:

    the extension to XML file, but I am not sure where to start.

    Why is your admin station still Windows 7? You can upgrade for free.
    Once you upgrade, you'll have the latest version of PowerShell and you won't have these types of issues of compatibility.

    We planned for Q2 next year. We just moved into new office space, so we don't want to introduce too much changes.



  • @stess said in Get-ADUser -Properties ipphone in Windows 7:

    @Dashrender said in Get-ADUser -Properties ipphone in Windows 7:

    @stess said in Get-ADUser -Properties ipphone in Windows 7:

    the extension to XML file, but I am not sure where to start.

    Why is your admin station still Windows 7? You can upgrade for free.
    Once you upgrade, you'll have the latest version of PowerShell and you won't have these types of issues of compatibility.

    We planned for Q2 next year. We just moved into new office space, so we don't want to introduce too much changes.

    I'd only update your PC right now. This will let you move forward without affecting your users.


Log in to reply
 

Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.