• 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: August 7th, 2023

help-circle

  • What teo windows admin do in 30 minutes I do in 30 seconds

    You know that pretty much everything in Windows can be done with powershell, right? Just a few and very specific things need to be done using older command line tools, or extremely rarely using a GUI.

    It’s trivial to write a script that changes the DNS configuration on every server for example. It’s even easy to parallelize it.

    You pretty much only need something like this.

    $Servers = “server01”, “server02”, “server03”

    $Servers | ForEach-Object { Invoke-Command -Computername $_ -Scriptblock { Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses (“10.0.0.1”,“10.0.0.2”) }}

    I can’t guarantee that it will run, since I wrote it on my phone (hence formatting), but it wouldn’t be far off. You could also do it without pipes using something like ‘foreach $server in $servers’ but that’s harder to type on a phone and I prefer pipes.


  • You have to pay if you want to stop a year’s commitment early. Iirc you have to pay half of what you promised you would pay them over the year. So if you changed your mind it’s cheaper to cancel than to continue paying for the months you have left.

    If you sign a contract agreeing to their terms (and receive a discount in exchange) you have to follow them. The same goes for any other contract where you have a year’s commitment like for an ISP. It’s all pretty standard.

    Is it annoying? Yeah obviously but they make it pretty damn clear when ordering that it’s a year’s commitment and that you receive a discount. Any reasonable individual should be able to figure out why you get a discount.