The customer I am working for asked me to write a script that removes the profile path from the users’ profile in Active Directory. One of the requirements was to do it on a batch-by-batch basis. Thus not a big bang.
I decided to write a PowerShell script and use a .csv file as the input. The results should be written to a log file.
Read more: Modify the users’ profile path in Active Directory
Sometimes you need to check if there is a working internet connection. You can use theping
command for that. But this command does not work if ICMP echo request have disabled on the firewall. If this is the case we have to check the status of a website. If the status is 200 then there is a working internet connection.
Read more: Check if there is a working internet connection when a firewall blocks ping requests
Page 5 of 5