Skip to content

🧰 Various PowerShell scripts for security, sysadmins, blue and red teams👫🏼

Notifications You must be signed in to change notification settings

Am0rphous/PowerShell

Repository files navigation

Creativity is your weapon

PowerShell is a task automation and configuration management system developed by Microsoft. It is made up of a command language interpreter (shell) and scripting language built on the .NET Framework TecMint.

Because MacOS and Linux are non-Windows systems, PowerShell might lack some features on these OS'es. This is because .NET Core and PowerShell core isn't feature complete on other OS'es than Windows.

When scripting - Keep this in mind

  • A script should be run without errors
  • It should perform the task for which it is intended
  • Program logic is clearly defined and apparent
  • A script does not do unnecessary work
  • Scripts should be reusable

Collections

Network commands

Test-NetConnection -Computername $target -Port 5985

Other

TimeTrack-Specific-Software-Openings.ps1

Primitive script used to test how long time a specific program uses before it's opened. VLC and Windows Media Player is used as examples. Modern servers will have a close average time while old and unstable servers will have timing that varys more. Having stable and precises time is critical within streaming environments, where it's crucial a program opens without a delay.

Picture that shows normal timing on modern hardware:
Skjermbilde-2020-07-03-kl-17-07-23

Timing that shows abnormal timing on slow and old hardware:
Skjermbilde-2020-07-03-kl-17-09-25

About

🧰 Various PowerShell scripts for security, sysadmins, blue and red teams👫🏼

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published