full_path
stringlengths
31
232
filename
stringlengths
4
167
content
stringlengths
0
48.3M
PowerShellCorpus/Github/rkuehfus_PowerShellModule/Get-Something.ps1
Get-Something.ps1
#requires -version 2 <# .SYNOPSIS Use PowerShell to pull out specify TimeZone data from an object .DESCRIPTION Use PowerShell to pull out specify TimeZone data from an object .PARAMETER <Parameter_Name> <Brief description of parameter input required. Repeat this attribute if required> .INPUTS <Inputs...
PowerShellCorpus/Github/OPS-E2E-Prod_E2E_P_D_NewRepo_2017_5_25_15_24_44/.openpublishing.build.ps1
.openpublishing.build.ps1
param( [string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1", [string]$parameters ) # Main $errorActionPreference = 'Stop' # Step-1: Download buildcore script to local echo "download build core script to local with source url: ...
PowerShellCorpus/Github/dbunn_PowerShellSumo/AD_Get_Groups_Recently_Modified.ps1
AD_Get_Groups_Recently_Modified.ps1
<# AD_Get_Groups_Recently_Modified.ps1 #> #Var for Domain to Search $deSrcLoc = [ADSI]"LDAP://DC=mycollege,DC=edu"; #Construct a When Changed Filter. Should Look Like 20151012000000.0Z. Pacific time +7 hours $wcUTC = (Get-Date).AddHours(+7).AddMinutes(-30).ToString("yyyyMMddHHmm") + "00.0Z"; #Set Up Direc...
PowerShellCorpus/Github/dbunn_PowerShellSumo/PS_WMI_Basics_Commands.ps1
PS_WMI_Basics_Commands.ps1
############################################################ # WMI PowerShell Commands ############################################################ #Use -ComputerName Option with Hostname, FQDN, or IP Address in Command for Remote Systems #For Example to Get the BIOS Settings On a System Called DeanTestServer Ge...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Failed_Login_Report.ps1
Failed_Login_Report.ps1
############################################################# # Script Name: Failed_Login_Report.ps1 # Version: 3.0 # Author: Dean Bunn # Last Edited: 07/30/2011 # Description: Failed Logins Report for An Array of Servers ############################################################# #Array for Counting Failed ...
PowerShellCorpus/Github/dbunn_PowerShellSumo/AD_Create_Groups_Based_Upon_NameParameter.ps1
AD_Create_Groups_Based_Upon_NameParameter.ps1
<# Script Name: AD_Create_Groups_Based_Upon_NameParameter.ps1 Author: Dean Bunn Last Edited: 09/08/14 Description: A Colleague Requested a Way to Create Three AD Groups Based Upon a Database Name Parameter #> #Input Parameter for SOE Database Name param ([string]$SOEDatabase = $(throw "Data...
PowerShellCorpus/Github/dbunn_PowerShellSumo/AD_After_ADMT_User_Migration_Fix.ps1
AD_After_ADMT_User_Migration_Fix.ps1
<# Script Name: AD_After_ADMT_User_Migration_Fix.ps1 Version: 1.0 Author: Dean Bunn Last Edited: 03/03/2013 Description: Corrects ADMT Account Changes Regarding Password Settings Notes: If you used Microsoft's Active Directory Migration Tool (ADMT) for any major migrations, then you know that migrated AD ...
PowerShellCorpus/Github/dbunn_PowerShellSumo/AD_Export_OU_Structure.ps1
AD_Export_OU_Structure.ps1
<# Script: AD_Export_OU_Structure.ps1 Author: Dean Bunn Last Edited: 09/01/13 Description: Export the OU structure between two domains. Notes: We only needed a few of the source base OUs exported and not the whole domain. The source OUs had hundreds of various nested level OUs underneath them. Th...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Exiting_Admin_Check.ps1
Exiting_Admin_Check.ps1
<# Script Name: Exiting_Admin_Check.ps1 Version: 1.0 Author: Dean Bunn Last Edited: 11/22/2012 Description: Check Remote Systems for Any Processes, Scheduled Tasks, Servics Running with Credentials of an Exiting Admin #> #Error Handling Setting $ErrorActionPreference = "SilentlyContinue"; #Array of Domain...
PowerShellCorpus/Github/dbunn_PowerShellSumo/PS_WMI_Basics.ps1
PS_WMI_Basics.ps1
############################################################ # WMI PowerShell Commands ############################################################ #Use -ComputerName Option with Hostname, FQDN, or IP Address in Command for Remote Systems #For Example to Get the BIOS Settings On a System Called DeanTestServer Ge...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Servers_Drive_Space_Report.ps1
Servers_Drive_Space_Report.ps1
<# Servers_Drive_Space_Report.ps1 #> #Error Handling $erroractionpreference = "SilentlyContinue"; #Function for Email Notices function uEmailNotice([string]$msgBody,[string]$msgSubject) { #Variable for Email FROM Address $mFrom = "fromAddress@mycollege.edu"; #Variable for EMail TO Address ...
PowerShellCorpus/Github/dbunn_PowerShellSumo/AD_Find_Old_Timers.ps1
AD_Find_Old_Timers.ps1
<# Script Name: AD_Find_Old_Timers.ps1 Version: 1.0 Author: Dean Bunn Last Edited: 03/08/2013 Description: Finds Old AD Accounts (in specific OUs) Older than Four Years Old with Passwords that have Never been Changed or are Older than Four Years Old #> #Create DateTime Object for Fo...
PowerShellCorpus/Github/dbunn_PowerShellSumo/PS_Remote_WMI_Installed_Applications.ps1
PS_Remote_WMI_Installed_Applications.ps1
######################################################### # Script Name: PS_Remote_WMI_Installed_Applications.ps1 # Version: 1.0 # Author: Dean Bunn # Description: Using WMI Remotely Queries # Systems for Installed Software ######################################################### #Array for Repo...
PowerShellCorpus/Github/dbunn_PowerShellSumo/GPO_Perms_Check.ps1
GPO_Perms_Check.ps1
<# Script: GPO_Perms_Check.ps1 Author: Dean Bunn Last Edited: 08/17/14 Description: Checks to See If a Specific AD Group has at least edit access to all GPOs linked to a Specific OU (and all sub OUs) #> #Import Group Policy Module Import-Module GroupPolicy; #Var for DN of Parent OU to Check [str...
PowerShellCorpus/Github/dbunn_PowerShellSumo/IIS_Server_Sites_Report.ps1
IIS_Server_Sites_Report.ps1
<# Script: IIS_Server_Sites_Report.ps1 Version: 1.1 Last Edited: 03/12/16 #> #Load Required Modules Import-Module WebAdministration; #Array for Custom Site Objects $arrReportSites = @(); #Var for IIS Server Name [string]$iisServer = Hostname; #Var for IIS App Pools Path (When Module Loaded) ...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Slack_Notice.ps1
Slack_Notice.ps1
<# Slack_Notice.ps1 #> #Webhook URL [string]$uri = "https://hooks.slack.com/services/XXXXXXX/XXXXXXXX/XXXXXXXXXXXXX"; #Custom Object for Slack Notice $cstSlackNotice = new-object PSObject -Property (@{ channel=""; username=""; text=""; icon_emoji=""; }); #Set Values (If Not Done When Initiating Custom Ob...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Securely_Stored_Password_Commands.ps1
Securely_Stored_Password_Commands.ps1
################################################################### # Script Name: Securely_Stored_Password_Commands.ps1 # Version: 1.0 # Author: Dean Bunn # Last Edited: 07/02/2012 # Description: Securely Store Password Commands ################################################################### #Create Tex...
PowerShellCorpus/Github/dbunn_PowerShellSumo/AD_User_Acct_Audit.ps1
AD_User_Acct_Audit.ps1
######################################################################## # Script Name: AD_User_Acct_Audit.ps1 # Version: 1.0 # Author: Dean Bunn # Last Edited: 06/09/2011 # Description: Reports Account Creation Date and Last Password Set # for Individual User ######################################...
PowerShellCorpus/Github/dbunn_PowerShellSumo/PS_Remoting_Installed_Applications.ps1
PS_Remoting_Installed_Applications.ps1
############################################################## # Script Name: PS_Remoting_Installed_Applications.ps1 # Version: 1.0 # Author: Dean Bunn # Description: Using PowerShell Remoting Queries Remote # Systems for Installed Software ###########################################################...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Non_AD_LDAP.ps1
Non_AD_LDAP.ps1
<# Non_AD_LDAP_Query.ps1 #> #Var for Campus LDAP Account Password [string]$ldapPWD = "myLongPassword"; #Load S.DS.P Assembly - Required for Use of S.DS.P in PowerShell Session [Void][System.Reflection.assembly]::LoadWithPartialName("system.directoryservices.protocols"); #Vars for LDAP Settings [string]$s...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Ex_Set_Inbox_Rule.ps1
Ex_Set_Inbox_Rule.ps1
<# Script Name: Ex_Set_Inbox_Rule.ps1 Version: 1.0 Author: Dean Bunn Last Edited: 11/09/2012 Description: Adds Spam Score Rule to Mailboxes Notes: I was tasked with creating a PowerShell script that would create a server side spam rule for all mailboxes in an 2010 environment. Using the Get-InboxRule and...
PowerShellCorpus/Github/dbunn_PowerShellSumo/PS_SQL_Stored_Procedure_Example.ps1
PS_SQL_Stored_Procedure_Example.ps1
<# PS_SQL_Stored_Procedure_Example.ps1 #> #Var for SQL Server FQDN [string]$SQLServerFQDN = "MySQLServer.mycollege.edu"; #Var for SQL Instance Name [string]$SQLInstance = "MyInstanceName"; #Var for SQL Database [string]$SQLDatabase = "MyDatabaseName"; #Var for Insert Stored Procedure Name [string]...
PowerShellCorpus/Github/dbunn_PowerShellSumo/PS_Query_Remote_SQL_Server_Data_Using_Stored_Procedure.ps1
PS_Query_Remote_SQL_Server_Data_Using_Stored_Procedure.ps1
<# PS_Query_Remote_SQL_Server_Data_Using_Stored_Procedure.ps1 #> #Var for SQL Server FQDN $SQLServerFQDN = "MySQLServer.mycollege.edu"; #Var for SQL Instance Name $SQLInstance = "MyInstance"; #Var for SQL Database $SQLDatabase = "MyDatabase"; #Create Empty Array for Storing Server Names $servers =...
PowerShellCorpus/Github/dbunn_PowerShellSumo/Change_Local_Admin_Password.ps1
Change_Local_Admin_Password.ps1
############################################################################# # Script Name: Change_Local_Admin_Password.ps1 # Version: 1.0 # Author: Dean Bunn # Last Edited: 11/28/2011 # Description: Changes Local Administrator Account Password on Remote Systems ##################################################...
PowerShellCorpus/Github/dbunn_PowerShellSumo/AD_Pull_DirectoryEntry_For_AD_Group_By_ObjectGuid.ps1
AD_Pull_DirectoryEntry_For_AD_Group_By_ObjectGuid.ps1
<# AD_Pull_DirectoryEntry_For_AD_Group_By_ObjectGuid.ps1 #> ############################################### # Directory Entry for AD Group By Object Guid ############################################### #Object Guid for AD Group is ad81120b-711c-43c9-95e6-e6c13408bb38 #Retrieve Directory for Group Object ...
PowerShellCorpus/Github/OPSTest_E2E_NewRepo_1488636340482/.openpublishing.build.ps1
.openpublishing.build.ps1
param( [string]$buildCorePowershellUrl = "https://opbuildstoragesandbox2.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1", [string]$parameters ) # Main $errorActionPreference = 'Stop' # Step-1: Download buildcore script to local echo "download build core script to local with source u...
PowerShellCorpus/Github/CentriqTraining_WindowsFormsConceptsDemo/WindowFormsConceptsDemo/packages/EntityFramework.6.1.3/tools/init.ps1
init.ps1
param($installPath, $toolsPath, $package, $project) if (Get-Module | ?{ $_.Name -eq 'EntityFramework' }) { Remove-Module EntityFramework } Import-Module (Join-Path $toolsPath EntityFramework.psd1) # SIG # Begin signature block # MIIa4AYJKoZIhvcNAQcCoIIa0TCCGs0CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB # gjcCAQ...
PowerShellCorpus/Github/CentriqTraining_WindowsFormsConceptsDemo/WindowFormsConceptsDemo/packages/EntityFramework.6.1.3/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) Initialize-EFConfiguration $project Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' Write-Host Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma...
PowerShellCorpus/Github/monubamb_Services/WebApplication2/src/WebApplication2/DockerTask.ps1
DockerTask.ps1
<# .SYNOPSIS Deploys an ASP .NET Core Web Application into a docker container running in a specified Docker machine. .DESCRIPTION The following script will execute a set of Docker commands against the designated dockermachine. .PARAMETER Build Builds the containers using docker-compose build. .PARAMETER Cl...
PowerShellCorpus/Github/danilaslau_Tema1PSAnuntZiarLaslauDaniel/Tema1PS3LayersLaslauDaniel/packages/EntityFramework.5.0.0/tools/init.ps1
init.ps1
param($installPath, $toolsPath, $package, $project) $importedModule = Get-Module | ?{ $_.Name -eq 'EntityFramework' } if ($PSVersionTable.PSVersion -ge (New-Object Version @( 3, 0 ))) { $thisModuleManifest = 'EntityFramework.PS3.psd1' } else { $thisModuleManifest = 'EntityFramework.psd1' } $thisModule...
PowerShellCorpus/Github/danilaslau_Tema1PSAnuntZiarLaslauDaniel/Tema1PS3LayersLaslauDaniel/packages/EntityFramework.5.0.0/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) function Invoke-ConnectionFactoryConfigurator($assemblyPath, $project) { $appDomain = [AppDomain]::CreateDomain( 'EntityFramework.PowerShell', $null, (New-Object System.AppDomainSetup -Property @{ ShadowCopyFiles = 'true' })) ...
PowerShellCorpus/Github/OPS-E2E-PPE_E2E_NewRepo_2017_4_22_26_5_19/.openpublishing.build.ps1
.openpublishing.build.ps1
param( [string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1", [string]$parameters ) # Main $errorActionPreference = 'Stop' # Step-1: Download buildcore script to local echo "download build core script to local with source url: ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/Microsoft.PowerShell_profile.config.ps1
Microsoft.PowerShell_profile.config.ps1
<# $Metadata = @{ Title = "Microsoft PowerShell profile configuration" Filename = "Microsoft.PowerShell_profile.config.ps1" Description = "" Tags = "microsoft, powershell, configuration, installation" Project = "" Author = "Janik von Rotz" AuthorContact = "www.janikvonrotz.ch" CreateDate = "2013-04-11...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/Microsoft.PowerShell_profile.install.ps1
Microsoft.PowerShell_profile.install.ps1
param( [switch] $Force ) <# $Metadata = @{ Title = "Profile Installation" Filename = "Microsoft.PowerShell_profile.install.ps1" Description = "" Tags = "powershell, profile, installation" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" Cre...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Sublime Text.ps1
Install-Sublime Text.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20Setup.exe" ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Vagrant.ps1
Install-Vagrant.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5.msi" Path = "$(...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-VMware vSphere PowerCLI.ps1
Install-VMware vSphere PowerCLI.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://my.vmware.com/group/vmware/details?downloadGroup=PCLI550&productId=...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Client-side SharePoint PowerShell.ps1
Install-Client-side SharePoint PowerShell.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=sharep...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Putty.ps1
Install-Putty.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.63-installer.exe" ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-NotepadPlusPlus.ps1
Install-NotepadPlusPlus.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://download.tuxfamily.org/notepadplus/6.5.3/npp.6.5.3.Installer.exe" ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-7-Zip.ps1
Install-7-Zip.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://switch.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi"...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-SQL Server Maintenance Solution.ps1
Install-SQL Server Maintenance Solution.ps1
param( [string]$Version, [string]$Path, [switch]$Force, [switch]$Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://ola.hallengren.com/scripts/MaintenanceSolution.sql", "http...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Node.js.ps1
Install-Node.js.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://nodejs.org/dist/v0.10.26/x64/node-v0.10.26-x64.msi" Path = "$(S...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-TrueCrypt.ps1
Install-TrueCrypt.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://www.truecrypt.org/download/transient/130a82428b303859fcb6/TrueCrypt%...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Greenshot.ps1
Install-Greenshot.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://heanet.dl.sourceforge.net/project/greenshot/Greenshot/Greenshot%201....
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Git.ps1
Install-Git.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://github.com/msysgit/msysgit/releases/download/Git-1.9.4-preview20140...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Wireshark.ps1
Install-Wireshark.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://1.eu.dl.wireshark.org/win64/Wireshark-win64-1.10.5.exe" Path =...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-JDK.ps1
Install-JDK.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-WinSCP.ps1
Install-WinSCP.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://winscp.net/download/files/20140928102737e06fdcc6e29eab780afd57975c84...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Carbon.ps1
Install-Carbon.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://bitbucket.org/splatteredbits/carbon/downloads/Carbon-1.7.0.zip" P...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Message Analyzer.ps1
Install-Message Analyzer.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://download.microsoft.com/download/F/4/4/F4461C3D-B378-473D-B15A-28BC0B...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-PsGet.ps1
Install-PsGet.ps1
param( [string]$Version, [string]$Path, [switch]$Force, [switch]$Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://psget.net/GetPsGet.ps1" ConditionExclusion = "(Get-Modu...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Firefox.ps1
Install-Firefox.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://download-installer.cdn.mozilla.net/pub/firefox/releases/27.0.1/win3...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-SharePoint Server 2013 Client Components SDK.ps1
Install-SharePoint Server 2013 Client Components SDK.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://download.microsoft.com/download/D/E/0/DE02CCED-5209-49FC-9F1B-0F86D3...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-AWS Tools for Windows.ps1
Install-AWS Tools for Windows.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi" ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Brackets.ps1
Install-Brackets.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://github.com/adobe/brackets/releases/download/sprint-38/Brackets.Spri...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Deluge Torrent.ps1
Install-Deluge Torrent.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://download.deluge-torrent.org/windows/deluge-1.3.7-win32-setup.exe" ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-WinPcap.ps1
Install-WinPcap.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://www.winpcap.org/install/bin/WinPcap_4_1_3.exe" Path = "$(Split-...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-MongoDB.ps1
Install-MongoDB.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.4.9.zip" ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Foxit PDF Reader.ps1
Install-Foxit PDF Reader.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://cdn02.foxitsoftware.com/pub/foxit/reader/desktop/win/7.x/7.0/en_us/F...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-KeePass.ps1
Install-KeePass.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://netcologne.dl.sourceforge.net/project/keepass/KeePass%202.x/2.27/Kee...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-WinDirStat.ps1
Install-WinDirStat.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Version = "1.1.2" Url = "http://freefr.dl.sourceforge.net/project/windirstat/win...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-jEdit.ps1
Install-jEdit.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://heanet.dl.sourceforge.net/project/jedit/jedit/5.1.0/jedit5.1.0instal...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Python.ps1
Install-Python.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, $Downdgrade, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Version = "2.7.6" Url = "https://www.python.org/ftp/python/2.7...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-Chocolatey.ps1
Install-Chocolatey.ps1
param( [string]$Version, [string]$Path, [switch]$Force, [switch]$Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "https://chocolatey.org/install.ps1" ConditionExclusion = "Get-Com...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-VirtualBox.ps1
Install-VirtualBox.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://dlc.sun.com.edgesuite.net/virtualbox/4.3.14/VirtualBox-4.3.14-95030-...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Install-cpuminer.ps1
Install-cpuminer.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Url = "http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.3.3-win64....
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/lib/App/Example/Install-Example.ps1
Install-Example.ps1
param( [string]$Version, [string]$Path, [switch]$Force, $Update, [switch]$Uninstall ) #--------------------------------------------------# # settings #--------------------------------------------------# $Configs = @{ Version = "6.5.3" Url = "http://download.tuxfamily.org/notepadplus/6.5.3/npp.6.5...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/templates/PPFeatures/Custom PowerShell Profile ISE.script.config.ps1
Custom PowerShell Profile ISE.script.config.ps1
# Custom Aliases ## PowerShell Profile nal -Name gpc -Value "Get-PPConfiguration" -ErrorAction SilentlyContinue ## Multi Remote Management nal -Name grc -Value "Get-RemoteConnection" -ErrorAction SilentlyContinue nal -Name crdp -Value "Connect-RDP" -ErrorAction SilentlyContinue nal -Name crps -Value "Connect-PSS"...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/templates/PPFeatures/Custom PowerShell Profile.script.config.ps1
Custom PowerShell Profile.script.config.ps1
# Custom PowerShell CLI $PromptSettings = (Get-Host).UI.RawUI $PromptSettings.BufferSize.Width = 120 $PromptSettings.BufferSize.Height = 999 $PromptSettings.WindowSize.Width = 120 $PromptSettings.WindowSize.Height = 50 $PromptSettings.MaxWindowSize.Width = 120 $PromptSettings.MaxWindowSize.Height = 50 $PromptSe...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows Event Log/Write-PPErrorEventLog.ps1
Write-PPErrorEventLog.ps1
<# $Metadata = @{ Title = "Write PowerShell PowerUp Error Event Log" Filename = "Write-PPEventLog.ps1" Description = "" Tags = "powershell, profile, function, write, error, event, log" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-10-21" LastEditDa...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows Event Log/Write-PPEventLog.ps1
Write-PPEventLog.ps1
<# $Metadata = @{ Title = "Write PowerShell PowerUp Event Log" Filename = "Write-PPEventLog.ps1" Description = "" Tags = "powershell, profile, function, write, event, log" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-10-21" LastEditDate = "2013-10...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows Event Log/Update-PPEventLog.ps1
Update-PPEventLog.ps1
<# $Metadata = @{ Title = "Update PowerShell PowerUp Event Log" Filename = "Update-PPEventLog.ps1" Description = "" Tags = "powershell, profile, function, update, event, log" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-10-22" LastEditDate = "2014...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/SQLServer/Run-SQLServerAgentJob.ps1
Run-SQLServerAgentJob.ps1
<# $Metadata = @{ Title = "Run SQL Server Agent Job" Filename = "Run-SQLServerAgentJob.ps1" Description = "" Tags = "" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-02-06" LastEditDate = "2014-02-06" Url = "" Version = "0.0.0" License = @' T...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/SQLServer/Backup-AllSQLDBs.ps1
Backup-AllSQLDBs.ps1
<# $Metadata = @{ Title = "Backup All SQL Databases" Filename = "Backp-AllSQLDbs.ps1" Description = "" Tags = "powershell, sql, backup" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-06-13" LastEditDate = "2013-06-13" Version = "1.0.0" License ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/SQLServer/Load-SQLServerManagementObjects.ps1
Load-SQLServerManagementObjects.ps1
function Load-SQLServerManagementObjects{ # # Loads the SQL Server Management Objects (SMO) # http://msdn.microsoft.com/en-us/library/hh245202.aspx $ErrorActionPreference = "Stop" $sqlpsreg="HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps" if (Get-ChildItem $sq...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Set-EnvironmentVariableValue.ps1
Set-EnvironmentVariableValue.ps1
<# $Metadata = @{ Title = "Set Environment Variable Value" Filename = "Set-EnvironmentVariableValue.ps1" Description = "" Tags = "powershell, function, add, environment, vairable" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-02-05" LastEditDate = "2014-02-2...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Get-AvailableDriveLetter.ps1
Get-AvailableDriveLetter.ps1
<# $Metadata = @{ Title = "Get Available Drive Letter" Filename = "Get-AvailableDriveLetter.ps1" Description = "" Tags = "powershell, functions" Project = "" Author = "Janik von Rotz" AuthorContact = "www.janikvonrotz.ch" CreateDate = "2013-07-09" LastEditDate = "2013-07-09" Version = "2...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Get-ChildItemRecurse.ps1
Get-ChildItemRecurse.ps1
function Get-ChildItemRecurse{ <# .SYNOPSIS Return a list of of files .DESCRIPTION A detailed description of the function. .PARAMETER Path Paht to cycle through. .PARAMETER OnlyDirectories Switch parameter wether only to show directories .PARAMETER Levels Scope levels. .EXAMPL...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Add-HostFileEntry.ps1
Add-HostFileEntry.ps1
<# $Metadata = @{ Title = "Add Host File Entry" Filename = "Add-HostFileEntry.ps1" Description = "" Tags = "powershell, function, host, file, manipulation" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-07-10" LastEditDate = "2013-09-30" Version ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Get-HostFileEntries.ps1
Get-HostFileEntries.ps1
<# $Metadata = @{ Title = "Get Host File Entries" Filename = "Get-HostFileEntries.ps1" Description = "" Tags = "powershell, function, host, file, manipulation" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-07-10" LastEditDate = "2013-09-30" Vers...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Report-FileSystemPermissions.ps1
Report-FileSystemPermissions.ps1
<# $Metadata = @{ Title = "Report Filesystem Permissions" Filename = "Report-FileSystemPermissions.ps1" Description = "" Tags = ""powershell, sharepoint, function, report" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-07-11" LastEditDate = "2013...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Get-FileEncoding.ps1
Get-FileEncoding.ps1
<# $Metadata = @{ Title = "Get File Encoding" Filename = "Get-FileEncoding.ps1" Description = "" Tags = "" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-01-06" LastEditDate = "2014-01-06" Url = "" Version = "1.0.0" License = @' This work is ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Mount-Dir.ps1
Mount-Dir.ps1
function Mount-Dir{ #--------------------------------------------------# # Parameter #--------------------------------------------------# param( [parameter(Mandatory=$true)] [string[]] $Paths ) $Metadata = @{ Title = "Mount Directory" Filename = "Mount-Dir.ps...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Remove-HostFileEntry.ps1
Remove-HostFileEntry.ps1
<# $Metadata = @{ Title = "Remove Host File Entry" Filename = "Remove-HostFileEntry.ps1" Description = "" Tags = "powershell, function, host, file, manipulation" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-07-10" LastEditDate = "2013-09-30" Ve...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Remove-EnvironmentVariableValue.ps1
Remove-EnvironmentVariableValue.ps1
<# $Metadata = @{ Title = "Remove Environment Variable Value" Filename = "Remove-EnvironmentVariableValue.ps1" Description = "" Tags = "powershell, function, remove, environment, vairable" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-02-21" LastEditDate = "...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Get-MSI.ps1
Get-MSI.ps1
<# $Metadata = @{ Title = "Get MSI" Filename = "Get-MSI.ps1" Description = "" Tags = "powershell, msi, get" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-02-24" LastEditDate = "2014-02-24" Url = "" Version = "0.0.0" License = @' This work is...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Mount-NetworkDirectories.ps1
Mount-NetworkDirectories.ps1
<# $Metadata = @{ Title = "Mount Network Directories" Filename = "Mount-NetworkDirectories.ps1" Description = "" Tags = "powershell, windows, function" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-07-09" LastEditDate = "2013-07-09" Version = "1...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Get-Path.ps1
Get-Path.ps1
<# $Metadata = @{ Title = "Get Path" Filename = "Get-Path.ps1" Description = "" Tags = "powershell, function, Path" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-10-28" LastEditDate = "2014-01-08" Version = "1.0.0" License = @' This work is l...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Get-PathAndFilename.ps1
Get-PathAndFilename.ps1
<# $Metadata = @{ Title = "Get Path And Filename" Filename = "Get-PathAndFilename.ps1" Description = "" Tags = "" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-02-05" LastEditDate = "2014-02-05" Url = "" Version = "0.0.0" License = @' This w...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows/Unzip-File.ps1
Unzip-File.ps1
<# $Metadata = @{ Title = "Unzip File" Filename = "Unzip-File.ps1" Description = "" Tags = "powershell, function, unzip, file" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-04-22" LastEditDate = "2014-04-22" Url = "" Version = "0.0.0" License...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/ScriptShortcut/Remove-PPScriptShortcut.ps1
Remove-PPScriptShortcut.ps1
<# $Metadata = @{ Title = "Remove PowerShell PowerUp Script Shortcut" Filename = "Remove-PPScriptShortcut.ps1" Description = "" Tags = "" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-01-09" LastEditDate = "2014-01-09" Url = "" Version = "0.0.0" License =...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/ScriptShortcut/Add-PPScriptShortcut.ps1
Add-PPScriptShortcut.ps1
<# $Metadata = @{ Title = "Add PowerShell PowerUp Script Shortcut" Filename = "Add-PPScriptShortcut.ps1" Description = "" Tags = "" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2014-01-09" LastEditDate = "2014-01-09" Url = "" Version = "0.0.0" License = @' Th...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows Server/Enable-InternetExplorerEnhancedSecurityConfiguration.ps1
Enable-InternetExplorerEnhancedSecurityConfiguration.ps1
<# $Metadata = @{ Title = "Enable Internet Explorer Enhanced Security Configuration" Filename = "Enable-InternetExplorerEnhancedSecurityConfiguration.ps1" Description = "" Tags = "powershell, enable, internet, explorer, enhanced, security, settings" Project = "" Author = "Janik von Rotz" AuthorContact = ...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows Server/Disable-InternetExplorerEnhancedSecurityConfiguration.ps1
Disable-InternetExplorerEnhancedSecurityConfiguration.ps1
<# $Metadata = @{ Title = "Disable Internet Explorer Enhanced Security Configuration" Filename = "Disable-InternetExplorerEnhancedSecurityConfiguration.ps1" Description = "" Tags = "powershell, disable, internet, explorer, enhanced, security, settings" Project = "" Author = "Janik von Rotz" AuthorContact...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Windows Server/Disable-UserAccessControl.ps1
Disable-UserAccessControl.ps1
<# $Metadata = @{ Title = "Disable User Access Control" Filename = "Disable-UserAccessControl.ps1" Description = "" Tags = "powershell, disable, windows, user, access, control, prompt" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-12-17" LastEditDa...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/PowerShell PowerUp/Install-PowerShellPowerUp.ps1
Install-PowerShellPowerUp.ps1
<# $Metadata = @{ Title = "Install PowerShell PowerUp" Filename = "Install-PowerShellPowerUp.ps1" Description = "" Tags = "powershell, profile, installation" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-10-15" LastEditDate = "2014-01-29" Version...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/PowerShell PowerUp/Update-PowerShellPowerUp.ps1
Update-PowerShellPowerUp.ps1
function Update-PowerShellPowerUp{ if(!(Get-Command "git" -ErrorAction SilentlyContinue)){ Install-PPApp Git } cd $PSProfile.Path if(!(Test-Path -Path (Join-Path -Path $PSProfile.Path -ChildPath ".git"))){ git init git remote add origin $PSProfile.GitSource }elseif($(git config --get...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/PowerShell PowerUp/Delete-ObsoleteLogFiles.ps1
Delete-ObsoleteLogFiles.ps1
<# $Metadata = @{ Title = "Delete Obsolete Log Files" Filename = "Delete-ObsoleteLogFiles.ps1" Description = "" Tags = "powershell, delete, obsolete, log , files" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-08-27" LastE...
PowerShellCorpus/Github/janikvonrotz_PowerShell-PowerUp/functions/Multi Remote Management/Connect-RDP.ps1
Connect-RDP.ps1
<# $Metadata = @{ Title = "Connect Remote Desktop Session" Filename = "Connect-RDP.ps1" Description = "" Tags = "powershell, remote, session, rdp" Project = "" Author = "Janik von Rotz" AuthorContact = "http://janikvonrotz.ch" CreateDate = "2013-04-03" LastEditDate = "2013-10-23" Version = "3...