Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
| // This file was initially generated by Windows Terminal 1.3.2651.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |
| function Add-MvaNetFirewallRemoteAdressFilter { | |
| <# | |
| .SYNOPSIS | |
| This function adds one or more ipaddresses to the firewall remote address filter | |
| .DESCRIPTION | |
| With the default Set-NetFirewallAddressFilter you can set an address filter for a firewall rule. You can not use it to | |
| add a ip address to an existing address filter. The existing address filter will be replaced by the new one. | |
| The Add-MvaNetFirewallRemoteAdressFilter function will add the ip address. Which is very usefull when there are already | |
| many ip addresses in de address filter. |
| #!/bin/bash | |
| # ============================================================================= | |
| # Author: Chu-Siang Lai / chusiang (at) drx.tw | |
| # Filename: teams-chat-post-for-workflows.sh | |
| # Modified: 2024-07-22 11:44 (UTC+08:00) | |
| # Description: Post a message to Microsoft Teams via "Post to a chat when a webhook request is received" workflows. | |
| # Reference: | |
| # | |
| # - https://gist.github.com/chusiang/895f6406fbf9285c58ad0a3ace13d025 | |
| # - https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/ |
| function New-Password { | |
| <# | |
| .SYNOPSIS | |
| Generate a random password. | |
| .DESCRIPTION | |
| Generate a random password. | |
| .NOTES | |
| Change log: | |
| 27/11/2017 - faustonascimento - Swapped Get-Random for System.Random. | |
| Swapped Sort-Object for Fisher-Yates shuffle. |
| #!/bin/bash | |
| # An set of disks to ignore from partitioning and formatting | |
| BLACKLIST="/dev/sda|/dev/sdb" | |
| # Base directory to hold the data* files | |
| DATA_BASE="/mnt" | |
| usage() { | |
| echo "Usage: $(basename $0) <new disk>" | |
| } |
| #!/usr/bin/env bash | |
| # Attach Data Disk AZURE specific | |
| # https://docs.microsoft.com/en-us/azure/virtual-machines/linux/attach-disk-portal | |
| # Grep for SCSI devices in the logs, such as in the following command and get the id of the last disk added. e,g, sdc | |
| sudo grep SCSI /var/log/syslog | |
| # create your device |
| <# | |
| .SYNOPSIS | |
| An MTR clone for PowerShell. | |
| Written by Tyler Applebaum. | |
| Version 2.1 | |
| .LINK | |
| https://gist.github.com/tylerapplebaum/dc527a3bd875f11871e2 | |
| http://www.team-cymru.org/IP-ASN-mapping.html#dns |
| #!/bin/bash | |
| # The MIT License (MIT) | |
| # | |
| # Copyright (c) 2015 Microsoft Azure | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| <# | |
| .Synopsis | |
| Returns the install .NET Framework versions. | |
| .Description | |
| The script looks through the registry using the notes from the below | |
| MSDN links to determine which versions of .NET are installed. |