Import-csv move systems to OU

Post Reply
Nawing1
Posts: 76
Joined: 21 Feb 2016 14:55

Import-csv move systems to OU

Post by Nawing1 » 15 Nov 2016 11:12

Hi,

PS C:\> Import-Csv -path C:\users\test\inactive1511.csv | foreach { Get-ADComputer -Identity $_.system -prop *} | Move-ADObject -TargetPath "OU=OLD,DC=Nawin,DC=CO,DC=IN"


inactive1511.csv - heading is system



TimothyBob
Posts: 4
Joined: 27 Jan 2019 23:06
Location: Denmark
Contact:

Import csv move systems to OU

Post by TimothyBob » 01 Feb 2019 04:14

Hi.
I need help, because when i try to import from a CSV list the movies wonВґt get the same order that i have on that list. What i must to do to the list import by the same order that i have?

admin
Site Admin
Posts: 12
Joined: 21 Feb 2016 14:15

Re: Import-csv move systems to OU

Post by admin » 21 Feb 2019 17:06

It will show the list as per the order available in the csv file.
If possible provide the screen shot.

Post Reply