PowerShell SnippetRace 18-2020

#LinuxTail, #GodMode, #Strings, PS in a Browser, Azure license report, Recursive function

Trainings

Due to the COV-ID-19 outbreak, trainings will be held online. Contact us for more details.

Automatisieren mit PowerShell leicht gemacht (€ 790): 8.Juni – 9. Juni 2020

Events

PowerShell 7 Launch Event Austria – (7.7.2020) virtual !

Snippets

Command similar to Linux „tail“ for the Windows Eventlog

Read this blog to learn about a onliner to easily „tail“ Windows Eventlog in Linux style. Link

GodMode

This is not PowerShell specific, but i didnt know it, even working with MS-Operating Systems since MS-DOS 4.0. There is a cheat to have all possible settings in one folder. Create a folder on your desktop with the name „GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}“. If you did this right the folder gets a blue-style settings icon. Open the folder and get all possible settings of Windows in one place.

GodMode Icon

We can also do this in PowerShell with:

Strings Strings Strings

Strings are probably the most common object type when you work with PowerShell. Read this blog to learn, especially if you think you know already everything. Link

Running PowerShell in a Browser

Look out for this example, running PowerShell on WebAssemblies. Link

Azure License Report for O365 Tenant

Check out this script to get a License report for O365-only Tenants. Link

Recursive Function Example

Something just for developers ? Get familiar with recursive functions, by checking out Tommy Maynards example. Link

Lock-Down ? ==> Open up !

R.

Blog picture comes from Artem Beliaikin von Pexels.