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 | |
| 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. |
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
| Set-ExplorerOptions -showHiddenFilesFoldersDrives -showFileExtensions | |
| Enable-RemoteDesktop | |
| Disable-BingSearch | |
| cinst 7zip | |
| cinst adobereader | |
| cinst autohotkey | |
| cinst cyberduck | |
| cinst git | |
| cinst googlechrome |
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-FormVariables { | |
| if ($global:ReadmeDisplay -ne $true) { Write-host "If you need to reference this display again, run Get-FormVariables" -ForegroundColor Yellow; $global:ReadmeDisplay = $true } | |
| write-host "Found the following interactable elements from our form" -ForegroundColor Cyan | |
| get-variable WPF* | |
| } | |
| # Create WPF C# Form is Visual Studio and copy the XAML data |
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 rangedArray(start, end){ | |
| if (arguments.length === 1) { | |
| end = start; | |
| start = 0; | |
| } | |
| end = end || 0; | |
| var step = 1; | |
| for (var result = []; ((end - start) * step) > 0; start += step) { | |
| result.push(start); |
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 sortNumber(a,b) { | |
| return a - b; | |
| } | |
| var numArray = [140000, 104, 99]; | |
| numArray.sort(sortNumber); |
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
| #requries -Version 2.0 | |
| <# | |
| .SYNOPSIS | |
| This script is PowerShell script which can be used to get location of locked out user account. | |
| .DESCRIPTION | |
| This script is PowerShell script which can be used to get location of locked out user account. | |
| .PARAMETER SamAccountName | |
| Specifies the SamAccountName of user that you want search. | |
| .EXAMPLE |
NewerOlder