Devam Ediyor

525389 Powershell - query from sccm append to ad description

In need of powershell script to do the following:

Trying to assign this computer belongs to strings in active directory descriptions from sccm 2007 data.

1. Query all Client Systems from sccm 2007, find the last logged on username.

2. Append active directory computer description with "SCCM SAYS>>username" not deleting the existing descriptions.

3. If script is reran - if string "SCCM SAYS>>username" already exists in the AD computer description then just overwrite that string with new data. Leaving existing descriptions intact.

4. If possible add lines to run on just one defined computer for testing or all computers.

This script can use the quest powershell for AD to add to descriptions

etc.

Script Will need to connect to sccm server to get the data then use quest powershell ad script to add to AD computer descriptions.

Should be pretty simple.

Thx :)

Beceriler: Her şey Kabul

Daha fazlasını görün: sccm query description, powershell query sccm, quest connect, n query, powershell 2, simple query, data query, Ad Server, powershell active directory, query active directory powershell, powershell active directory script, directory descriptions, simple powershell script, active directory client server, active directory script, active directory last logged, powershell script, script active directory, query directory, query strings, script find string, query script, query description, script find username, Powershell

İşveren Hakkında:
( 0 değerlendirme )

Proje NO: #2271329