Hi all,
I am wondering if there is a way to search on a expression/phase and delete the whole line?
Example: I am trying to delete the line with the X400 address on 4000 users
dn: CN=xxx xxx,CN=Users,DC=home,DC=ca
changetype: modify
proxyAddresses: SMTP:[email protected]
proxyAddresses:
X500:/o=home/ou=First Administrative Group/cn=Recipients/cn=xxxxxx
proxyAddresses: X400:c=us;a= ;p=home;o=Exchange;s=xxx;g=xxx;
dn: CN=yyy yyy,CN=Users,DC=home,DC=ca
changetype: modify
proxyAddresses:
proxyAddresses:
X500:/o=home/ou=First Administrative Group/cn=Recipients/cn=yyyyyy
proxyAddresses: SMTP:[email protected]
proxyAddresses: X400:c=us;a= ;p=home;o=Exchange;s=yyy;g=yyy;
Thanks for any help.
DCB
I am wondering if there is a way to search on a expression/phase and delete the whole line?
Example: I am trying to delete the line with the X400 address on 4000 users
dn: CN=xxx xxx,CN=Users,DC=home,DC=ca
changetype: modify
proxyAddresses: SMTP:[email protected]
proxyAddresses:
X500:/o=home/ou=First Administrative Group/cn=Recipients/cn=xxxxxx
proxyAddresses: X400:c=us;a= ;p=home;o=Exchange;s=xxx;g=xxx;
dn: CN=yyy yyy,CN=Users,DC=home,DC=ca
changetype: modify
proxyAddresses:
proxyAddresses:
X500:/o=home/ou=First Administrative Group/cn=Recipients/cn=yyyyyy
proxyAddresses: SMTP:[email protected]
proxyAddresses: X400:c=us;a= ;p=home;o=Exchange;s=yyy;g=yyy;
Thanks for any help.
DCB