Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

whats the best way to clean up or remove the server names?

$
0
0

Hello

I am writing a script to audit and clean up our print scripts. The script will will get all of the printers out of text files in a network share.

 

The design should get all unique printers mapped to a print server. 
Then either remove or parse out the print server
test connection for the host.

 

an example of the string imported...

\\printsrvr01\HostName

I have a work around that will use a switch statement to replace the print server, but not exactly what i had imagined.

 

thanks 


Viewing all articles
Browse latest Browse all 6937

Trending Articles