[gptalk] Re: get-sdmgplink

  • From: "Darren Mar-Elia" <darren@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Wed, 3 Dec 2008 07:51:27 -0800

No worries Dave--it did point out an underlying weakness in my code that I
need to better check for orphaned links.

Thanks!

Darren

-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Dave Sharples
Sent: Wednesday, December 03, 2008 6:46 AM
To: 'gptalk@xxxxxxxxxxxxx'
Subject: [gptalk] Re: get-sdmgplink

Ok, found it - that policy didn't have read permission for my user (the only
one in the domain)

Switching to my admin account found it

Sorry for the bother there

Cheers

Dave

>-----Original Message-----
>From: Dave Sharples
>Sent: 03 December 2008 11:00
>To: gptalk@xxxxxxxxxxxxx
>Subject: RE: [gptalk] Re: get-sdmgplink
>
>I don't know what I did there but they do have different GUID's
>
>GPOID        : {1FEB2ECA-6C66-44E4-A023-E298459811E6}
>GPODomain    : campus.ncl.ac.uk
>Enabled      : True
>Enforced     : False
>SOMLinkOrder : 55
>SOM          : System.__ComObject
>
>
>Is the next one
>
>Also there are no links with have no underlying GPO's, the OU's were
>recently put together.
>
>Adding -Native does return the full list as you suggested (without the
>names oviously)
>
>Thanks
>
>Dave
>
>>-----Original Message-----
>>From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
>>On Behalf Of Darren Mar-Elia
>>Sent: 02 December 2008 17:37
>>To: gptalk@xxxxxxxxxxxxx
>>Subject: [gptalk] Re: get-sdmgplink
>>
>>Dave-
>>I'm curious about something below. The 54th and 55th GPOs have the same
>>GUID, which is usually not possible and might explain the issue here.
>Is
>>that really true?
>>
>>Darren
>>
>>-----Original Message-----
>>From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
>>On
>>Behalf Of Dave Sharples
>>Sent: Tuesday, December 02, 2008 8:53 AM
>>To: 'gptalk@xxxxxxxxxxxxx'
>>Subject: [gptalk] Re: get-sdmgplink
>>
>>Sure.
>>
>>1.1 returns this -
>>
>>PS C:\Program Files\SDM Software\SDM Software GPMC Cmdlets> Get-
>>SDMgplink
>>-Scope "OU=TYne,OU=ISS Clusters, DC=Campus,dc=ncl,dc=ac,dc=uk"
>>
>>Lists all the GPOs and back to the command prompt (this is the last one
>>in
>>the list)
>>
>>GPOID        : {DCEEC310-FCF1-47D2-AB27-F08491DB1F8D}
>>GPODomain    : campus.ncl.ac.uk
>>Enabled      : True
>>Enforced     : False
>>SOMLinkOrder : 64
>>SOM          : System.__ComObject
>>
>>1.2 does this -
>>
>>PS C:\Program Files\SDM Software\SDM Software GPMC Cmdlets> Get-
>>SDMgplink
>>-Scope "OU=TYne,OU=ISS Clusters, DC=Campus,dc=ncl,dc=ac,dc=uk"
>>
>>Lists the GPOS's from 1 to 53 then
>>
>>Enabled      : True
>>Enforced     : False
>>GPODomain    : campus.ncl.ac.uk
>>GPOID        : {6788A54A-798A-492F-88E1-728674382F65}
>>Name         : ISS Logon Banner
>>Scope        : OU=TYne,OU=ISS Clusters, DC=Campus,dc=ncl,dc=ac,dc=uk
>>SOMLinkOrder : 54
>>
>>Get-SDMgplink : Value does not fall within the expected range.
>>At line:1 char:14
>>+ Get-SDMgplink  <<<< -Scope "OU=TYne,OU=ISS Clusters,
>>DC=Campus,dc=ncl,dc=ac,dc=uk"
>>
>>The next GPO in the list if it's any use would be
>>
>>GPOID        : {6788A54A-798A-492F-88E1-728674382F65}
>>GPODomain    : campus.ncl.ac.uk
>>Enabled      : True
>>Enforced     : False
>>SOMLinkOrder : 55
>>SOM          : System.__ComObject
>>
>>Which is called ISS Lan Licenser 4 client
>>
>>Thanks
>>
>>Dave
>>
>>
>>>-----Original Message-----
>>>From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
>>>On Behalf Of Darren Mar-Elia
>>>Sent: 02 December 2008 16:39
>>>To: gptalk@xxxxxxxxxxxxx
>>>Subject: [gptalk] Re: get-sdmgplink
>>>
>>>So, just so I understand the issue, you're saying that 1.1 of my
>>cmdlets
>>>does not return an error but 1.2 does? Can you post the script that
>>>you're
>>>using?
>>>
>>>Thanks
>>>
>>>Darren
>>>
>>>
>>>-----Original Message-----
>>>From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
>>>On
>>>Behalf Of Dave Sharples
>>>Sent: Tuesday, December 02, 2008 8:31 AM
>>>To: gptalk@xxxxxxxxxxxxx
>>>Subject: [gptalk] Re: get-sdmgplink
>>>
>>>Hi, downloaded it today so definitely the up to date version which
>>fixed
>>>another issue (could only return one gpo per OU)
>>>
>>>Version 1.1 works fine by the way (but without the GPO name of course)
>>>
>>>GPMC is fine with them
>>>
>>>Thanks
>>>
>>>Dave
>>>
>>>>-----Original Message-----
>>>>From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-
>bounce@xxxxxxxxxxxxx]
>>>>On Behalf Of Darren Mar-Elia
>>>>Sent: 02 December 2008 15:42
>>>>To: gptalk@xxxxxxxxxxxxx
>>>>Subject: [gptalk] Re: get-sdmgplink
>>>>
>>>>Dave-
>>>>Make sure you download the latest version. We fixed an issue with
>>>>get-sdmgplink on Oct. 14th so if you downloaded before then, that
>>could
>>>>be
>>>>the problem. There is no limit built into the cmdlet, although GPMC,
>>>>which
>>>>is the underlying library, may have an issue with it. I'm assuming
>>GPMC
>>>>doesn't throw any errors when enumerating those links?
>>>>
>>>>Here is the direct download links to the Vista,SP1/2008 and
>>>>XP/2003/Vista(noSP) versions of the cmdlets.
>>>>
>>>>Darren
>>>>
>>>>
>>>>http://www.sdmsoftware.com/dl/SetupGPMCCmdlets1.2-Vista2008.zip or
>>>>http://www.sdmsoftware.com/dl/SetupGPMCCmdlets1.2-XP2003.zip
>>>>
>>>>
>>>>
>>>>-----Original Message-----
>>>>From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-
>bounce@xxxxxxxxxxxxx]
>>>>On
>>>>Behalf Of Dave Sharples
>>>>Sent: Tuesday, December 02, 2008 4:02 AM
>>>>To: gptalk@xxxxxxxxxxxxx
>>>>Subject: [gptalk] get-sdmgplink
>>>>
>>>>Hi, is there a limit on the number of entries this cmdlet can return?
>>>>
>>>>Have an OU with 64 GPO's assigned to it (all different bits of
>>software
>>>>for
>>>>our University public machines)
>>>>
>>>>After the 54th return I get this
>>>>
>>>>Get-SDMgplink : Value does not fall within the expected range.
>>>>At line:1 char:14
>>>>
>>>>Thanks
>>>>
>>>>Dave
>>>>***********************
>>>>You can unsubscribe from gptalk by sending email to
>>>>gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>>OR
>>>>by
>>>>logging into the freelists.org Web interface. Archives for the list
>>are
>>>>available at //www.freelists.org/archives/gptalk/
>>>>************************
>>>>
>>>>***********************
>>>>You can unsubscribe from gptalk by sending email to gptalk-
>>>>request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
>>>>logging into the freelists.org Web interface. Archives for the list
>>are
>>>>available at //www.freelists.org/archives/gptalk/
>>>>************************
>>>***********************
>>>You can unsubscribe from gptalk by sending email to
>>>gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>OR
>>>by
>>>logging into the freelists.org Web interface. Archives for the list
>are
>>>available at //www.freelists.org/archives/gptalk/
>>>************************
>>>
>>>***********************
>>>You can unsubscribe from gptalk by sending email to gptalk-
>>>request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
>>>logging into the freelists.org Web interface. Archives for the list
>are
>>>available at //www.freelists.org/archives/gptalk/
>>>************************
>>***********************
>>You can unsubscribe from gptalk by sending email to
>>gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
>>by
>>logging into the freelists.org Web interface. Archives for the list are
>>available at //www.freelists.org/archives/gptalk/
>>************************
>>
>>***********************
>>You can unsubscribe from gptalk by sending email to gptalk-
>>request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
>>logging into the freelists.org Web interface. Archives for the list are
>>available at //www.freelists.org/archives/gptalk/
>>************************
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
logging into the freelists.org Web interface. Archives for the list are
available at //www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to 
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by 
logging into the freelists.org Web interface. Archives for the list are 
available at //www.freelists.org/archives/gptalk/
************************

Other related posts: