Location: Mail List

Ads

Skyscraper

The GPTalk Mailing List

The GPTALK mailing list is where you can send and receive email related to Windows Group Policy. You must subscribe to the list to send and receive mail from the list. The purpose of the list is to provide a forum for asking and answering technical questions related to Group Policy. Any question is fair game as long as it is related to Windows Group Policy.  The Archives for this list can be found on this page.

 

List Posts

Subject: [gptalk] Script to Rename Policies?
Prev Next
You are not authorized to post a reply.

AuthorMessages
ShanzaoUser is Offline

Posts:45

11/16/2010 11:11 AM  
Hi Darren,

Sorry for the late reply, I have been off for a couple of days!

Do you have a .vbs script for this, that I could possibly borrow?

Cheers,

Sean

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Darren Mar-Elia
Sent: 11 November 2010 17:32
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Removing the annoying Language Bar via GPO

Sean-
If you are on Win7, you can use the GroupPolicy powershell module to do this with the Get-GPO cmdlet. If on earlier versions, my SDM GPMC cmdlets will work, with the get-sdmgpo cmdlet. And you could also do this via VBScript if needed.

Darren

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK)
Sent: Thursday, November 11, 2010 9:17 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Removing the annoying Language Bar via GPO

Hi all,

I have about 1K of GPOs to rename and I have completed an excel spreadsheet that has column A Old name and column B new name, does anyone know of a script that I can use to rename them automatically rather than the famous "Copy Paste"

Cheers,


Sean

This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England.

This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.

Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.

Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.

Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.



dmareliaUser is Offline

Posts:441

11/17/2010 3:54 AM  
Sean-
I don't have a VB Script for it-I tend to not do things in VBScript anymore and have shifted entirely to Powershell. If you need VBScript, then I can probably dig up some old code but you could also start with this article I wrote many years ago: http://technet.microsoft.com/en-us/library/cc758847(WS.10).aspx

If Powershell is acceptable then let me know-that is much easier to provide quick examples for :).

Darren

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK)
Sent: Tuesday, November 16, 2010 2:17 AM
To: xxxxxxxxxxxxxxxx
Subject: [gptalk] Script to Rename Policies?

Hi Darren,

Sorry for the late reply, I have been off for a couple of days!

Do you have a .vbs script for this, that I could possibly borrow?

Cheers,

Sean

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Darren Mar-Elia
Sent: 11 November 2010 17:32
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Removing the annoying Language Bar via GPO

Sean-
If you are on Win7, you can use the GroupPolicy powershell module to do this with the Get-GPO cmdlet. If on earlier versions, my SDM GPMC cmdlets will work, with the get-sdmgpo cmdlet. And you could also do this via VBScript if needed.

Darren

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK)
Sent: Thursday, November 11, 2010 9:17 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Removing the annoying Language Bar via GPO

Hi all,

I have about 1K of GPOs to rename and I have completed an excel spreadsheet that has column A Old name and column B new name, does anyone know of a script that I can use to rename them automatically rather than the famous "Copy Paste"

Cheers,


Sean

This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England.

This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.

Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.

Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.

Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.


ShanzaoUser is Offline

Posts:45

11/17/2010 11:32 AM  
Thanks Darren,

Have looked into the wonderful world of powershell, what a lovely tool ;-) 5 mins for the first 300 pols!

Brilliant!

Sean

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Darren Mar-Elia
Sent: 17 November 2010 03:09
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Script to Rename Policies?

Sean-
I don't have a VB Script for it-I tend to not do things in VBScript anymore and have shifted entirely to Powershell. If you need VBScript, then I can probably dig up some old code but you could also start with this article I wrote many years ago: http://technet.microsoft.com/en-us/library/cc758847(WS.10).aspx

If Powershell is acceptable then let me know-that is much easier to provide quick examples for :).

Darren

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK)
Sent: Tuesday, November 16, 2010 2:17 AM
To: xxxxxxxxxxxxxxxx
Subject: [gptalk] Script to Rename Policies?

Hi Darren,

Sorry for the late reply, I have been off for a couple of days!

Do you have a .vbs script for this, that I could possibly borrow?

Cheers,

Sean

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of Darren Mar-Elia
Sent: 11 November 2010 17:32
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Removing the annoying Language Bar via GPO

Sean-
If you are on Win7, you can use the GroupPolicy powershell module to do this with the Get-GPO cmdlet. If on earlier versions, my SDM GPMC cmdlets will work, with the get-sdmgpo cmdlet. And you could also do this via VBScript if needed.

Darren

From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx] On Behalf Of MCCARTHY Sean (AXA-TECH-UK)
Sent: Thursday, November 11, 2010 9:17 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Removing the annoying Language Bar via GPO

Hi all,

I have about 1K of GPOs to rename and I have completed an excel spreadsheet that has column A Old name and column B new name, does anyone know of a script that I can use to rename them automatically rather than the famous "Copy Paste"

Cheers,


Sean

This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England.

This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.

Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.

Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.

Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.



You are not authorized to post a reply.
Forums >GPTalk >GPTalk Mailing List > [gptalk] Script to Rename Policies?



ActiveForums 3.7

Members

MembershipMembership:
Latest New UserLatest:carmicklec
New TodayNew Today:1
New YesterdayNew Yesterday:1
User CountOverall:1399

People OnlinePeople Online:
VisitorsVisitors:0
MembersMembers:0
TotalTotal:0

Online NowOnline Now:

Ads

Banner Inv
Copyright 2009 by GPOGUY.COM
Terms Of Use