PowerShell: How to find whether the machine is waiting for Restart

TR : PowerShell ile makinenin Restart için bekleyip beklemediği nasıl bulunur.

TR : Bir çok sistem yöneticisinin en büyük sorunlarından birisi de ağ üzerindeki makinelerin restart yapmasıdır. Peki bu bilgiye nasıl ulaşacağız ve bu bilgi bizim ne işimize yarayabilir?
Makinenin restart için beklediğini aşağıdaki PowerShell komutu ile basit bir şekilde öğrenebilirsiniz.

EN : One of the biggest problems of many system administrators is to restart the machines on the network. So how do we get this information and how can this information help us?

The machine is waiting for restart, you can reach it simply by using the PowerShell command below.

Continue reading “PowerShell: How to find whether the machine is waiting for Restart”

Advertisements

Test multiple URLs with PowerShell Script

If you are a web application administrator or you are building infrastructure, you may need to work with many URLs and test them at the same time.

This script allows you to create URLs with .txt documents or web address parameters you write and test them with Internet Explorer or Chrome. It also allows you to get test results as .log.

Please do not hesitate to contact me if you need a similar script or if you have any problems.
Do not forget to follow 🙂

2018-06-27_11-51-29

#Script starts here

#Get country and language codes with fr/fr format
#$counlang = Get-Content ‘C:\script\counlang.txt’
# Test Country and Language
$counlang = “noo/no”,”no/no”,”fi/en”,”fi/tr”

Continue reading “Test multiple URLs with PowerShell Script”