database-tools

Get German Holidays

Here is a PowerShell function that gets all German holidays, either nationwide or just for your state: function Get-GermanHoliday {    param    (...

read more

Managing File Shares

Creating a new file share for your network requires Administrator privilege and this PowerShell code: $Parameters = @{ Name = "Packages" Path =...

read more

Masked Input

To safely enter input, scripts need to display a masked input. The easiest way to do this is to use Read-Host -AsSecureString: # Read-Host $entered...

read more

Automating Control Panels

Windows Control Panel is the GUI center for any system configuration. You can launch control panel via console command, too: control [ENTER]....

read more

Avoid Get-EventLog

Get-EventLog is a highly popular cmdlet in Windows PowerShell. With just a few simple parameters, it reads event logs from the primary Windows event...

read more