View UnrealTournament.ini
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
[URL] | |
Protocol=unreal | |
ProtocolDescription=Unreal Protocol | |
Name=Player | |
Map=Index.unr | |
LocalMap=CityIntro.unr | |
Host= | |
Portal= | |
MapExt=unr | |
SaveExt=usa |
View UnrealTournament.ini
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
[URL] | |
Protocol=unreal | |
ProtocolDescription=Unreal Protocol | |
Name=Player | |
Map=Index.unr | |
LocalMap=CityIntro.unr | |
Host= | |
Portal= | |
MapExt=unr | |
SaveExt=usa |
View CleanWindowsUpdate.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
stop-service wuauserv -ErrorAction Stop | |
Get-ChildItem "$env:windir\SoftwareDistribution" | Remove-Item -Recurse -Force | |
start-service wuauserv |
View Connect-RDPComputers.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 | |
Opens a new RDP connection to a specified computer using the given credentials. | |
.DESCRIPTION | |
Give this thing an array of computer names and a credential to connect to them on and it will open up an RDP session and log you into all of them. | |
This is great for when you have a huge list of computers that you need to remote into. | |
.EXAMPLE | |
$cred = get-credential | |
$ListOfComputerNames = "Server1","Server2","Server3" |
View Add-MAMLHelpParameter.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 | |
Adds a parameter to an existing, fully formatted help file. | |
.DESCRIPTION | |
This thing just looks for your cmdlet name, clones the first existing parameter and appends it to the bottom of the list of parameters for your cmdlet. | |
.EXAMPLE | |
Add-HelpParameter -Path "C:\We've\all seen a \Filepath\before-Hlep.xml" -CmdletName New-Shiney -ParameterName "TurboShiney" -Position 1 -TyepName "String" -TypeFullName "System.String" | |
#> | |
function Add-HelpParameter | |
{ |
View AzureExpiredCertCleaner.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
Login-AzureRmAccount -TenantId "InsertTennantIdHere" | |
Get-AzureRmSubscription -SubscriptionId "InsertSubscriptionIdHere" | Select-AzureRmSubscription | |
$certificates = Get-AzureRmResource -ExpandProperties | where ResourceType -EQ Microsoft.Web/certificates #This part takes ages to run. | |
foreach ($certificate in $certificates) | |
{ | |
if((get-date $certificate.Properties.expirationDate) -le (Get-Date) ) | |
{ | |
Remove-AzureRmResource -ResourceName $certificate.ResourceName -ResourceType $certificate.ResourceType -ResourceGroupName $certificate.ResourceGroupName -Verbose -Confirm:$false -Force |
View Dyn365OClientPrereq.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
#This is a script to automatically download and create the folders for the residtributables needed to install CRM 2016. | |
#V1.0.0 | |
do{[int]$bitness = Read-Host "What bitness the installed version of Office e.g. 32,64"} | |
while(!($bitness -eq 32) -xor ($bitness -eq 64)) | |
Add-Type -AssemblyName System.Windows.Forms | |
#get the source DIR. | |
$SourceDIRDLG = New-Object Windows.Forms.FolderBrowserDialog |