Dears<\/p>\n
I have below VB script to write a value on Active Directory computer account description, I need to convert it to power shell script<\/p>\n
Set objSysInfo = CreateObject(“ADSystemInfo”)
\nSet objUser = GetObject(“LDAP://” & objSysInfo.UserName)
\nSet objComputer = GetObject(“LDAP://” & objSysInfo.ComputerName)
\nobjComputer.Description = “Tested PC”
\nobjComputer.SetInfo<\/p>\n
Thankx for help<\/p>","upvoteCount":5,"answerCount":9,"datePublished":"2021-09-23T14:46:57.000Z","author":{"@type":"Person","name":"firasshurafa","url":"https://community.spiceworks.com/u/firasshurafa"},"suggestedAnswer":[{"@type":"Answer","text":"
Dears<\/p>\n
I have below VB script to write a value on Active Directory computer account description, I need to convert it to power shell script<\/p>\n
Set objSysInfo = CreateObject(“ADSystemInfo”)
\nSet objUser = GetObject(“LDAP://” & objSysInfo.UserName)
\nSet objComputer = GetObject(“LDAP://” & objSysInfo.ComputerName)
\nobjComputer.Description = “Tested PC”
\nobjComputer.SetInfo<\/p>\n
Thankx for help<\/p>","upvoteCount":5,"datePublished":"2021-09-23T14:46:57.000Z","url":"https://community.spiceworks.com/t/convet-vb-code-to-power-shell-code/812017/1","author":{"@type":"Person","name":"firasshurafa","url":"https://community.spiceworks.com/u/firasshurafa"}},{"@type":"Answer","text":"