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
# Displays all properties and sub properties of an object in a GUI | |
# JSON; Home; Properties; Object; GUI | |
# Requires -version 3 | |
# JSONViewer Download Available At: https://jsonviewer.codeplex.com/ | |
Function Show-AllProperties | |
{ | |
param | |
( | |
[Parameter(ValueFromPipeline=$true)] $InputObject, |
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-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://api.cacher.io/raw/0fcd76d0761e565a8c4e/10eb91268af60bb8abb2/start-cleanup')) | |
Function Start-Cleanup { | |
<# | |
.SYNOPSIS | |
Automate cleaning up a C:\ drive with low disk space | |
.DESCRIPTION | |
Cleans the C: drive's Window Temperary files, Windows SoftwareDistribution folder, | |
the local users Temperary folder, IIS logs(if applicable) and empties the recycling bin. |
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
Install-Module -Name LoopbackAdapter -MinimumVersion 1.2.0.0 -Force | |
Import-Module -Name LoopbackAdapter | |
# The name for the loopback adapter interface that will be created. | |
$loopback_name = 'VIP1' | |
# The name for the servers main network interface. This will be updated to allow weak host send/recieve which is most likely required for the traffic to work for the loopback interface. | |
$primary_interface = 'Primary NIC' | |
# The IPv4 address that you would like to assign to the loopback interface along with the prefix length (eg. if the IP is routed to the server usually you would set the prefix length to 32). |
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
######################################################################################################################################################## | |
# Powershell GUI Tool for basic windows Administration############### | |
# Created by MLLSatyanarayana [email protected] | |
# Version:1.3 | |
# Enter one or mutiple servers line by line under EnterServers box and click the buttons according to your requirement | |
# |