ps1

Finding Service Privileges

Get-Service can provide basic information about Windows services but won’t list the required privileges. Here is a small PowerShell function...

read more

Locking Workstation

PowerShell can access low-level API functions by using C#-style signatures. This way, API functions are compiled in-memory and added as new types....

read more

Preferring WLAN Connections

When you are connected both to a LAN and a WLAN, and would like to prefer one network over the other, you can adjust the network metric. The lower...

read more

Blocking User Input

If a PowerShell script needs to perform critical steps, and user interaction must be prohibited, you can use API calls to temporarily disable all...

read more
1 19 20 21 22 23 128