Jump to content


lordx

Established Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by lordx

  1. I have used: $ComputerlistPath = 'c:\temp\computerlist.txt' $ComputerList = Get-Content -Path $ComputerlistPath; # one computer a line foreach ($computer in $computerList){ ($computer + ": " + @(Get-WmiObject -ComputerName $computer -Namespace root\cimv2 -Class Win32_ComputerSystem)[0].UserName); } To get this information a few times. you can probably use this as a basis to make a script do what you want.
  2. When I try to set a proxy in Configuration manager 2012r2 on the Site system properties. The console freezes. I have to kill the console from task manager to continue using it. And the proxy does not get set Anyone else having this problem? I can not find any logs that says anything.
  3. Removing all network printers is not that difficult with Powershell on the win7 machines. This one liner will remove all network printer connections: But this will only remove the connections If you want to remove the drivers also you need to use prnmgr.vbs see: http://technet.microsoft.com/en-us/library/cc725868(WS.10).aspx The script i used earlier this year to achieve almost the exact same thing as you was this script.: After this is run use GPOs or a login script to set the new printers.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.