This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| PUT SHORT SCRIPT DESCRIPTION HERE AND ADD ANY ADDITIONAL KEYWORD SECTIONS AS NEEDED (.PARAMETER, .EXAMPLE, ETC.). | |
| #> | |
| [CmdletBinding()] | |
| param ( | |
| # PUT PARAMETER DEFINITIONS HERE AND DELETE THIS COMMENT. | |
| ) | |
| process { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Get-InstalledSoftware { | |
| <# | |
| .SYNOPSIS | |
| Get all installed from the Uninstall keys in the registry. | |
| .DESCRIPTION | |
| Read a list of installed software from each Uninstall key. | |
| This function provides an alternative to using Win32_Product. | |
| .EXAMPLE | |
| Get-InstalledSoftware |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Block Macro in Microsoft office using Windows registry keys | |
| ============================================================ | |
| (ref - https://www.slipstick.com/outlook/block-macros-office-20132016/) | |
| Office 2016 | |
| ------------ | |
| HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\word\security | |
| HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\excel\security | |
| HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\powerpoint\security | |
| In each key listed above, create this value: |