Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: TLink
  • Order by date
  1. TLink

    Powershell script to delete a couple of LOCAL users from remote computers

    I have the script now. but have another requirement. I need to export (append) data to two csv files. 1. If the hostname is not found I need to append the value of $hostname to a csv file named "nohost.csv" 2. Also I would need to append the value of $hostname from which user are successfully...
  2. TLink

    Powershell script to delete a couple of LOCAL users from remote computers

    I would like to delete a couple of local users (NOT domain users) from remote computers. May I know whether the following code would work? Regarding the invoke command which one I should use? Any help highly appreciated... 1. Remove-LocalUser -Name $username} 2. Invoke-Command -ComputerName...

Part and Inventory Search

Back
Top