This file contains 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 | |
Removing Built-in apps from Windows 10 / Windows 8.1 / Windows 8 | |
.DESCRIPTION | |
Removing Built-in apps from Windows 10 / Windows 8.1 / Windows 8 | |
.PARAMETER Path | |
The path to the WIM image file (typically install.wim) |
This file contains 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 | |
Helper function to test a TCP port. | |
.DESCRIPTION | |
Helper function to test a TCP port. | |
.PARAMETER Destination | |
DNS name or IP address of the host to test. |
This file contains 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
@ECHO OFF | |
SET ALLARGS= | |
SET CLOSEMODE= | |
REM Verify that elevate is installed | |
IF EXIST C:\Windows\System32\elevate.exe GOTO :SKIPERROR | |
ECHO This script must be run with Administrator rights! | |
PAUSE | |
EXIT 1 | |
:SKIPERROR |
This file contains 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 | |
Reformats a MAC Address depending on the use case. | |
.DESCRIPTION | |
Takes a string or strings that should be reformated as a MAC address. | |
.PARAMETER Address | |
The MAC Address to reformat as a string | |
.PARAMETER Separator | |
What separator should be inserted, defaults to ':' | |
.EXAMPLE |
This file contains 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
<# | |
.SUMMARY | |
Converts bytes values into human readable forms. | |
.DESCRIPTION | |
Converts bytes values into human readable forms. | |
.PARAMETER Bytes | |
Input in Bytes |
This file contains 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
# Bump up the TLS profile to the max value supported by your system | |
[System.Enum]::GetValues('Net.SecurityProtocolType') | | |
Where-Object { $_ -gt [System.Math]::Max( [Net.ServicePointManager]::SecurityProtocol.value__, [Net.SecurityProtocolType]::Tls.value__ ) } | | |
ForEach-Object { | |
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor $_ | |
} | |
# The rest of your Profile.ps1 ... |
This file contains 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 | |
Reads proxy access information from GroupWise 2012 or later. | |
.DESCRIPTION | |
Reads proxy access information from GroupWise 2012 or later. Uses the SOAP API to fetch proxy access ACLs from GroupWise. | |
.PARAMETER User | |
User(s) to query proxy access for. |
This file contains 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 | |
Removes a wireless profile from an exported XML file. | |
.DESCRIPTION | |
Removes a wireless profile from an exported XML file, clears the version from the registry. | |
Author: Shannon Brooks |
This file contains 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 | |
Installs a wireless profile from an exported XML file. | |
.DESCRIPTION | |
Installs a wireless profile from an exported XML file, stores the version (install date and time) in the registry. | |
Author: Shannon Brooks |
This file contains 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 | |
Test for a wireless profile from an exported XML file or by Name. | |
.DESCRIPTION | |
Test for a wireless profile from an exported XML file, checks for a minimum and/or maximum version if supplied. | |
Author: Shannon Brooks |
OlderNewer