⚡ PowerShell
(17 posts)
PowerShell scripts and techniques for Windows and Active Directory administration, automation, and reporting.
📅 2017-01-05
✍️ Bart Schelstraete
With PowerShell you can also find files which are larger than a certain size. This can be accomplished with the command below. In this example we are looking for files larger than 100MB, on the C…
Read more →
📅 2017-01-05
✍️ Bart Schelstraete
If you want to test a firewall rule while the application isn't ready yet, you can open that port on the Windows server using PowerShell. This way you can test the firewall functionality. This can be…
Read more →
📅 2017-01-05
✍️ Bart Schelstraete
Performance issues. Everybody has had them at least once, and more :) If you are using Windows 2012+ and PowerShell, you can use the Get-Counter command in order to provide you with more information…
Read more →
📅 2017-01-05
✍️ Bart Schelstraete
If you want to configure the DNS suffix search list on Windows 2012+, you can use the set-DnsclientGlobalSetting command, as shown in the example below. This will set the DNS search list to…
Read more →
📅 2017-01-05
✍️ Bart Schelstraete
Sometimes there are some applications which take the 'first network card' in order to send/receive traffic. If you have multiple network cards, this can be problematic of course. In case you want to…
Read more →
📅 2016-12-31
✍️ Bart Schelstraete
Hello, In addition to "PowerShell: Run command at certain date/time", we got the request to include a start time as well. In the script below, we are doing exactly that. (write-host…
Read more →
📅 2016-12-31
✍️ Bart Schelstraete
Sometimes it can be handy to automatically stop a process at a certain time. I did this using the following PowerShell script. The script will first ask at what time it needs to be stopped. You can…
Read more →