If you need to export all available Windows Event Logs, especially in the Windows Server Core edition (without GUI), you can utilize this PowerShell script:
Continue readingCategory Archives: Powershell
Reply
Set LocalAccountTokenFilterPolicy to 1 via PowerShell
Ansible/Packer over WinRM can experience UAC Elevated rights issues if logged over the network.
To fix the issue:
Powershell – Measure-Object is not exact because of rounding/flooring
In case you want to get maximal value without rounding/flooring – to be exact you should not use Measure-Object. You need to enumerate array (which is also faster).
Example:
Determine installed Windows OS Language pack edition
In case you need to determine what language was Windows OS/Server installed run following script in powershell:
How to modify LAN Proxy Exception List via Powershell
Example of the Powershell script which can modify IE LAN Proxy Exception List to keep current settings (for example pulled by GPO) and extend with custom exception list. Continue reading
How to download last camera record via PowerShell from UniFi NVR API with SSL
This guide explains how to download latest camera record available on UniFi NVR server via Powershell through the REST API with SSL self-signed certificate.