full_path
stringlengths
31
232
filename
stringlengths
4
167
content
stringlengths
0
48.3M
PowerShellCorpus/Github/sbourdeaud_zerto/zerto-functions.ps1
zerto-functions.ps1
##Function Definitions #Get a site identifier by invoking Zerto APIs, given a Zerto API session and a site name: function ZertogetSiteIdentifierByName ($zertoSessionHeader, $siteName, $BASEURL){ $url = $BASEURL + "virtualizationsites" $response = Invoke-RestMethod -Uri $url -Headers $zertoSessionHeader -Content...
PowerShellCorpus/Github/sbourdeaud_zerto/get-zerto-vpg.ps1
get-zerto-vpg.ps1
<# .SYNOPSIS This script retrieves information about protected virtual machines from a Zerto Virtual Manager (ZVM) and outputs the results to a csv file. .DESCRIPTION The script retrieves the following information about protected VMs: VmName, VpgName, ProvisionedStorageInMB, UsedStorageInMB, Status, SubStatus, ...
PowerShellCorpus/Github/sbourdeaud_zerto/set-zerto-vpg.ps1
set-zerto-vpg.ps1
##Function Definitions #Get a site identifier by invoking Zerto APIs, given a Zerto API session and a site name: function getSiteIdentifierByName ($sessionHeader, $siteName){ $url = $BASEURL + "virtualizationsites" $response = Invoke-RestMethod -Uri $url -Headers $zertoSessionHeader -ContentType "application/xm...
PowerShellCorpus/Github/sbourdeaud_zerto/get-zerto-protectedvms.ps1
get-zerto-protectedvms.ps1
<# .SYNOPSIS This script retrieves information about protected virtual machines from a Zerto Virtual Manager (ZVM) and outputs the results to a csv file. .DESCRIPTION The script retrieves the following information about protected VMs: VmName, VpgName, ProvisionedStorageInMB, UsedStorageInMB, Status, SubStatus, ...
PowerShellCorpus/Github/sbourdeaud_zerto/get-zerto-completed-vpgs.ps1
get-zerto-completed-vpgs.ps1
<# .SYNOPSIS This script figures out which initializations have completed in a zvm based on a source report. .DESCRIPTION The script loads the source report which contains a protection status for replicated VMs, then retrieves current status from a ZVM and compares both. For all VMs which have changed from Ini...
PowerShellCorpus/Github/toledotown_Powershell/Intune_Users_Task_NA_automation_v4.ps1
Intune_Users_Task_NA_automation_v4.ps1
<# .AUTHOR Steve Flowers .DATE 04/13/2016 .DESCRIPTION Script to license users for Intune based on AD group membership .PARAMETERS .REQUIREMENTS [x] Store credential (service account for O365) [x] Import Module ActiveDirectory [x] Get list of all users in AD gr...
PowerShellCorpus/Github/toledotown_Powershell/Ariba_Reporting.ps1
Ariba_Reporting.ps1
###################################################################### <# .AUTHOR steve flowers .VERSION 1.0 .DATE 3.9.2016 .DESCRITPION .NOTES Impersonation required as password to shared mailboxes is random .ISSUES .TASKS [x] unzip [x] FTP #> #############...
PowerShellCorpus/Github/toledotown_Powershell/Remove-inetpubLogs-30days.ps1
Remove-inetpubLogs-30days.ps1
<# .AUTHOR sflowers .DATE 09/29/2015 .DESCRIPTION Get all directories in C:\inetpub\logs\Logfile and check all files in the directory. Files older than 1 month will be deleted. .NOTES Run as a scheduled task #> #region LogFile #Function for creating log file for missing entries #Deletes log...
PowerShellCorpus/Github/toledotown_Powershell/SfB_Conferencing_Bulk_License.ps1
SfB_Conferencing_Bulk_License.ps1
<# .Author sflowers .Date sept 6 2016 .Synopsis license users for SfB conferencing based off input list .Use copy email addresses to input.csv and run script #> $Error.Clear() #region Variables Write-Output "$(Get-Date -Format "MM-dd-yyyy hh:mm:ss") Starting script in root directory of $e...
PowerShellCorpus/Github/toledotown_Powershell/Set-UserDataPerm-FORCEALL.ps1
Set-UserDataPerm-FORCEALL.ps1
<# .SYNOPSIS Set-UserDataPerm.ps1 .DESCRIPTION Change user folders permissions. Set permissions to SYSTEM, Domain Admins, and User only. THIS SCRIPT WILL BLINDLY FORCE PERMISSIONS ON ALL FOLDERS. .PARAMETER <paramName> -UserDirectory: specify the path to the user home folders -output: specify loc...
PowerShellCorpus/Github/toledotown_Powershell/Reassociate_mailbox.ps1
Reassociate_mailbox.ps1
<# .Synopsis Script to re-associate a mailbox to a new AD user object. .Author Steve Flowers steve.flowers@xxxxxx .Date 10 12 2016 430 pm .Notes Breakdown --------- 01) Variables 02) GUID 2 Immutable 03) get LN forw. add 04) get routing address 05) get proxy addreses 06) remove so...
PowerShellCorpus/Github/toledotown_Powershell/AADC_DELTA_Mutex.ps1
AADC_DELTA_Mutex.ps1
<# .About This script improves on the default synchronization tools and cmdlets included with AADC. .Author steve.flowers@xxxxxx .Date sep 21 2016 3 45 pm .Synopsis The standard sync tools with AADC do not do a good job of managing ad-hoc syncs. The new AADC is better than DirSync, but it falls sho...
PowerShellCorpus/Github/toledotown_Powershell/New-ADusersDsaddCSV.ps1
New-ADusersDsaddCSV.ps1
<# sflowers 04/16/2015 .PURPOSE Create users using dsadd.exe. Add users to groups using Add-ADGroupMember .PARAMETERS 1st param is for input CSV, 2nd is for user path (example: "OU=west,DC=contoso,DC=com" .INPUT CSV must contain these headers: userCN,userOU,userSam,userFn,userLn,userDisplay,us...
PowerShellCorpus/Github/toledotown_Powershell/Get-SumFiles.ps1
Get-SumFiles.ps1
<# sflowers 05/08/2015 .PURPOSE Sum a list of files .PARAMETERS 1st param is for the CSV file that lists a full reachable path to files .INPUT CSV must have a header called "Path" and all paths must be reachable .NOTE Final result is in MB's #> [CmdletBinding()] Param( [Pa...
PowerShellCorpus/Github/toledotown_Powershell/OD4B_Prep_Tool.ps1
OD4B_Prep_Tool.ps1
<# .Notes Browse button working, check box working. Text box updates after browsing. [x] incorporate script as function [x] program aborts at end or freezes? likely after O365 DC function -- REMOVE EXIT from ABORT func [x] input path (h vs UNC) -- CONCERNED about users selecting wrong drive ...
PowerShellCorpus/Github/toledotown_Powershell/Set-UserDataPerm.ps1
Set-UserDataPerm.ps1
<# .SYNOPSIS Set-UserDataPerm.ps1 .DESCRIPTION Change user folders permissions. Set permissions to SYSTEM, Domain Admins, and User only. .PARAMETER <paramName> -UserDirectory: specify the path to the user home folders -output: specify location of output log .EXAMPLE 1 Set-UserDataPerm.ps1 -User...
PowerShellCorpus/Github/Hipster74_TestPOSH01/PowerShellProject1/PowerShellProject1/Script.ps1
Script.ps1
# # Script.ps1 # Write-Host "Tjena" Write-Host "Γ€ndarede text " Write-Host "tjena ytterligare en gΓ₯ng"
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/jQuery.1.10.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # Determine the file paths $projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName $origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName if (Test-Path $projectIntelliSense...
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/jQuery.1.10.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # VS 11 and above supports the new intellisense JS files $vsVersion = [System.Version]::Parse($dte.Version) $supportsJsIntelliSenseFile = $vsVersion.Major -ge 11 if (-not $supportsJsIntelliSenseFile) { $displayVersio...
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/jQuery.1.10.2/Tools/common.ps1
common.ps1
function Get-Checksum($file) { $cryptoProvider = New-Object "System.Security.Cryptography.MD5CryptoServiceProvider" $fileInfo = Get-Item $file trap { ; continue } $stream = $fileInfo.OpenRead() if ($? -eq $false) { # Couldn't open file for reading return $null } $bytes = $...
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/Modernizr.2.6.2/Tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) # Update the _references.js file Remove-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/Modernizr.2.6.2/Tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) . (Join-Path $toolsPath common.ps1) if ($scriptsFolderProjectItem -eq $null) { # No Scripts folder Write-Host "No Scripts folder found" exit } # Update the _references.js file AddOrUpdate-Reference $scriptsFolderProjectItem $modernizrFileName...
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/Modernizr.2.6.2/Tools/common.ps1
common.ps1
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) { try { $referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js") } catch { # _references.js file not found return } if ($referencesFileProject...
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/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/dberejno_GigHub/GigHub2/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/dberejno_GigHub/GigHub2/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/tools/init.ps1
init.ps1
param($installPath, $toolsPath, $package, $project) $compilerPackageName = 'Microsoft.Net.Compilers' $roslynSubFolder = 'roslyn' if ($project -eq $null) { $project = Get-Project } $libDirectory = Join-Path $installPath 'lib\net45' $packageDirectory = Split-Path $installPath $compilerPackage = Get-Chil...
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/tools/uninstall.ps1
uninstall.ps1
param($installPath, $toolsPath, $package, $project) $roslynSubFolder = 'roslyn' if ($project -eq $null) { $project = Get-Project } $projectRoot = $project.Properties.Item('FullPath').Value $binDirectory = Join-Path $projectRoot 'bin' $targetDirectory = Join-Path $binDirectory $roslynSubFolder if (Te...
PowerShellCorpus/Github/dberejno_GigHub/GigHub2/packages/Newtonsoft.Json.6.0.4/tools/install.ps1
install.ps1
param($installPath, $toolsPath, $package, $project) # open json.net splash page on package install # don't open if json.net is installed as a dependency try { $url = "http://james.newtonking.com/json" $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) if ($dte2.ActiveWindow.Caption -eq "Package Manager Con...
PowerShellCorpus/Github/OPSTest_E2E_Provision_1486728341266/.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/seantaylorwolterskluwer_messagingplatformrunbook/Playbook.ps1
Playbook.ps1
Param ( [Parameter(Mandatory=$True)] [object]$WebhookData ) $WebhookBody = $WebhookData.RequestBody $Params = ConvertFrom-Json -InputObject $WebhookBody Write-Output "Json Data received is $WebhookBody" $subscriptionID = $Params.parameters.Subscriptionid Write-Output "Destin...
PowerShellCorpus/Github/seantaylorwolterskluwer_messagingplatformrunbook/fwdworkerrole.ps1
fwdworkerrole.ps1
Param ( [Parameter(Mandatory=$True)] [object]$WebhookData ) $WebhookBody = $WebhookData.RequestBody $Params = ConvertFrom-Json -InputObject $WebhookBody $subscriptionID = $Params.parameters.Subscriptionid $subscriptionName = $Params.parameters.Subscription...
PowerShellCorpus/Github/seantaylorwolterskluwer_messagingplatformrunbook/Forwarderworkerrole.ps1
Forwarderworkerrole.ps1
Param ( [Parameter(Mandatory=$True)] [object]$WebhookData ) $WebhookBody = $WebhookData.RequestBody $Params = ConvertFrom-Json -InputObject $WebhookBody Write-Output "Json Data received is $WebhookBody" Write-Output "$Params.parameters.Subscriptionid" $subscriptionID = $Params.pa...
PowerShellCorpus/Github/aderusha_RoyalTS/RTS_Launch-VMRC.ps1
RTS_Launch-VMRC.ps1
<# .SYNOPSIS Launch a VMware Remote Console for a named VM .DESCRIPTION The script will launch the VMware Remote Console for a named VM This script requires the following tools from VMware to be installed locally: PowerCLI: https://www.vmware.com/support/developer/PowerCLI/ VMRC: https://www.vmwar...
PowerShellCorpus/Github/aderusha_RoyalTS/Open-VMConsoleWindow_CLI_For_RoyalTS.ps1
Open-VMConsoleWindow_CLI_For_RoyalTS.ps1
# This script utilizes PowerCLI to launch a VMware Remote Console for a specified VM in your default browser. # # Requirements: # PowerCLI: https://my.vmware.com/group/vmware/get-download?downloadGroup=PCLI600R1 # Custom Field 1: managing vCenter server name # Connection URI must match the VM name in vCenter # Co...
PowerShellCorpus/Github/lance36_Cdot-OlderSnapshot/olderSnapshot.ps1
olderSnapshot.ps1
Param([parameter(Mandatory = $true)] [alias("s")] $server, [parameter(Mandatory = $true)] [alias("u")] $user, [parameter(Mandatory = $true)] [alias("p")] $password, [parameter(Mandatory = $true)] [alias("d")] $days) #Import-Module C:\Windows\system32\WindowsPowerShell\v1.0\Modules\DataONTAP $...
PowerShellCorpus/Github/jcperezamin_ELKWindows/Install.ps1
Install.ps1
# Installing Elasticsearch, Logstash and Kibana (ELK) on Windows Server 2012 R2 # Pause Function Pause { Write-Host -NoNewLine "Press any key to continue... `n" $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") } Write-Host " " Write-Host "Make sure the Java SDK is installed and the JAVA_HOME system va...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Deploy/DeployViaMonstraLAB.ps1
DeployViaMonstraLAB.ps1
#Deploy the entire Solution #Read data from XML $Global:SettingsFile = "C:\Setup\HYDv10\Config\ViaMonstra_MDT_LAB.xml" [xml]$Global:Settings = Get-Content $SettingsFile -ErrorAction Stop #Set Vars $Global:DomainName = 'CORP' $Global:Solution = "HYDv10" $Global:Logpath = "$env:TEMP\HYDv10" + ".log" $Global:V...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Deploy/DeployDFx.ps1
DeployDFx.ps1
#Deploy the entire Solution #Read data from Bootstrap XML $Global:BootstrapFile = "C:\Setup\HYDv10\Config\Bootstrap_DEMOHOST03.xml" [xml]$Global:Bootstrap = Get-Content $BootstrapFile -ErrorAction Stop #Read data from XML $Global:SettingsFile = "C:\Setup\HYDv10\Config\corp.viamonstra.com.DFBooks.xml" [xml]$Gl...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Deploy/DeploySDDC.ps1
DeploySDDC.ps1
#Deploy the entire Solution #Read data from Bootstrap XML $Global:BootstrapFile = "C:\Setup\HYDv10\Config\Bootstrap.xml" [xml]$Global:Bootstrap = Get-Content $BootstrapFile -ErrorAction Stop #Read data from XML #$Global:SettingsFile = "C:\Setup\HYDv10\Config\corp.viamonstra.com.xml" #[xml]$Global:Settings = G...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Deploy/Bootstrap.ps1
Bootstrap.ps1
#Bootstrap Script for HYDv10 #Read data from Bootstrap XML $Global:BootstrapFile = "C:\Setup\DatacenterGeekWeek2016\Deploy\Bootstrap_SURFACE.xml" [xml]$Global:Bootstrap = Get-Content $BootstrapFile -ErrorAction Stop #Set Vars $Global:Solution = $Bootstrap.BootStrap.CommonSettings.CommonSetting.Solution $Globa...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Deploy/DeployViaMonstraRND.ps1
DeployViaMonstraRND.ps1
#Deploy the entire Solution #Read data from XML $Global:SettingsFile = "C:\Setup\HYDv10\Config\ViaMonstra_RND.xml" [xml]$Global:Settings = Get-Content $SettingsFile -ErrorAction Stop #Set Vars $Global:DomainName = 'CORP' $Global:Solution = "HYDv10" $Global:Logpath = "$env:TEMP\HYDv10" + ".log" $Global:VMloc...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/CheckConfig/CheckConfig.ps1
CheckConfig.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile, [parameter(position=1,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Pa...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/VeriFyBuildSetup/Verify-DeployServer.ps1
Verify-DeployServer.ps1
#Verify 0.4 #Make sure this file is located in C:\Setup\HYDV7\Scripts [cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile, [parameter(position=1,mandat...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/UpdateSettingsFile/Update-SettingsFile.ps1
Update-SettingsFile.ps1
Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml" ) #Import Modules Import-Module C:\Setup\Functions\VIAUtilityModule.psm1 -Force -ErrorAction Stop #Set Valu...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/MDT/Scripts/Set-VIATSDone.ps1
Set-VIATSDone.ps1
<# # Will write to registry to signal Hyper-V host that TaskSequence is done #> New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest' -Name TaskSequence -Value Done -PropertyType String
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Dev/AppTest.ps1
AppTest.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/DeployFABRICServer.ps1
DeployFABRICServer.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile, [parameter(position=1,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Pa...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/DeployClient.ps1
DeployClient.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile, [parameter(position=1,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Pa...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/DeployFABRICServerNANO.ps1
DeployFABRICServerNANO.ps1
#Step 1:Set Var $Server = 'VIANANO03' $VHDImage = "C:\Setup\VHD\WS2016_Datacenter_UEFI_NANO_EVAL_Fabric.vhdx" $MountFolder = "C:\MountVHD" $DomainInstaller = "Administrator" $VMLocation = "D:\VMs" $VMMemory = 1GB $adminPassword = "P@ssw0rd" $domainName = "corp.viamonstra.com" $domainAdminPassword = "P@ssw0rd" ...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/DeployFABRICServer_OLD.ps1
DeployFABRICServer_OLD.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeployWSUS01.ps1
DeployWSUS01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeploySCDP01.ps1
DeploySCDP01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeployHV01-HV02.ps1
DeployHV01-HV02.ps1
#Create VM in corp.viamonstra.com #Set Values #Import-Modules $TotalTime = Measure-Command { Import-Module C:\setup\Functions\VIADeployModule.psm1 -Force Import-Module C:\setup\Functions\VIAHypervModule.psm1 -Force Import-Module C:\Setup\Functions\VIAUtilityModule.psm1 -Force } $TotalTime.ToString...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeploySCVM01.ps1
DeploySCVM01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeploySCVMM.ps1
DeploySCVMM.ps1
#Create VM in corp.viamonstra.com #Set Values #Import-Modules $TotalTime = Measure-Command { Import-Module C:\setup\Functions\VIADeployModule.psm1 -Force Import-Module C:\setup\Functions\VIAHypervModule.psm1 -Force Import-Module C:\Setup\Functions\VIAUtilityModule.psm1 -Force } $TotalTime.ToString...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeployMGMT01.ps1
DeployMGMT01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeploySCOR01.ps1
DeploySCOR01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeployDEPL01.ps1
DeployDEPL01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeployRDGW01.ps1
DeployRDGW01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeploySCOM01.ps1
DeploySCOM01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/TaskSequences/NA/DeployRRAS01.ps1
DeployRRAS01.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(position=0,mandatory=$false)] [ValidateNotNullOrEmpty()] [ValidateScript({Test-Path -Path $_})] [string] $SettingsFile = "C:\Setup\FABuilds\FASettings.xml", [parameter(Position=1,mandatory=$False)] [ValidateNotNullOrE...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/VerifyXML/VerifyXMLdata.ps1
VerifyXMLdata.ps1
$Global:SettingsFile = "C:\Setup\FABuilds\FASettings.xml" Import-Module -Global C:\Setup\Functions\VIAXMLUtility.psm1 -Force $CustomersData = Foreach($Item in (Get-VIAXMLFabricData -Class Customers)){ Get-VIAXMLFabricCustomer -id $Item.id } $CustomersData $CustomersData | Out-GridView $CommonSettings...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/TBASetDataSample.ps1
TBASetDataSample.ps1
# Read Settings from XML $SettingsFile = "\\cldepl01\ApplicationRoot\XML\FASettings.xml" [xml]$Settings = Get-Content -Path $SettingsFile $Server = $Settings.Fabric.Servers.Server | Where ID -EQ STOR05 $($Server.Networkadapters.Networkadapter | Where ID -EQ NIC01).MACAddress = "EC:B1:D7:84:B2:00" $($Server.Netwo...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallWCF.ps1
Invoke-VIAInstallWCF.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $Setup ) Try{ #Install WCF Write-Output "Install WCF" $sArgument = " /norestart /quiet" $Process = Start-Process $Setup -ArgumentList $sArgument -NoNewWindow -PassThru -Wait Write-...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIADHCP.ps1
Set-VIADHCP.ps1
<# Created: 2015-02-06 Version: 1.0 Author Mikael Nystrom Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the author. Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com #> Param( [Parameter...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Deploy.ps1
Deploy.ps1
#Create VM in corp.viamonstra.com #Set Values #Import-Modules $TotalTime = Measure-Command { Import-Module C:\setup\Functions\VIAHyperV.psm1 -Force Import-Module C:\setup\Functions\VIADeploy.psm1 -Force Import-Module C:\Setup\Functions\VIAUtility.psm1 -Force } $TotalTime.ToString() #Set Values ...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIARDGW01Config.ps1
Set-VIARDGW01Config.ps1
[cmdletbinding(SupportsShouldProcess=$true)] Param ( [parameter(Position=0,mandatory=$true)] [ValidateNotNullOrEmpty()] $Group, [parameter(Position=1,mandatory=$true)] [ValidateNotNullOrEmpty()] $DomainNetBios, [parameter(Position=2,mandatory=$true)] [ValidateNotNullOrEmp...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallMDT.ps1
Invoke-VIAInstallMDT.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $Source ) try { #Install ADK Write-Output "Install MDT" $sArgument = " /i ""$Source"" /qb" $Process = Start-Process msiexec.exe -ArgumentList $sArgument -NoNewWin...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIARole-ADDS.ps1
Set-VIARole-ADDS.ps1
<# Created: 2016-12-06 Version: 2.0 Author Mikael Nystrom Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the author. Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com #> [cmdletbinding(Support...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIARole-DEPL.ps1
Set-VIARole-DEPL.ps1
<# .Synopsis Short description .DESCRIPTION Long description .EXAMPLE Example of how to use this cmdlet .EXAMPLE Another example of how to use this cmdlet #> [CmdletBinding(DefaultParameterSetName='Param Set 1', SupportsShouldProcess=$true, PositionalBin...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIARole-WSUS.ps1
Set-VIARole-WSUS.ps1
<# .Synopsis Short description .DESCRIPTION Long description .EXAMPLE Example of how to use this cmdlet .EXAMPLE Another example of how to use this cmdlet #> [CmdletBinding(DefaultParameterSetName='Param Set 1', SupportsShouldProcess=$true, PositionalBin...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Add-VIADomainuserToLocalgroup.ps1
Add-VIADomainuserToLocalgroup.ps1
<# .Synopsis Short description .DESCRIPTION Long description .EXAMPLE Example of how to use this cmdlet .EXAMPLE Another example of how to use this cmdlet #> [cmdletbinding(SupportsShouldProcess=$True)] Param ( [parameter(mandatory=$True,ValueFromPipelineByPropertyName=$true,Position=0)...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Create-VIAMedia.ps1
Create-VIAMedia.ps1
Import-Module C:\setup\Functions\VIAHyperV.psm1 -Force Import-Module C:\setup\Functions\VIADeploy.psm1 -Force Import-Module C:\Setup\Functions\VIAUtility.psm1 -Force Move-Item -Path 'C:\Setup\DL\SC 2016 DPM' -Destination 'C:\Setup\TempISO\SC 2016 DPM' Move-Item -Path 'C:\Setup\DL\SC 2016 OM' -Destination 'C:\Setu...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/TBAReadDataSample.ps1
TBAReadDataSample.ps1
# Read Settings from XML $SettingsFile = "\\cldepl01\ApplicationRoot\XML\FASettings.xml" [xml]$Settings = Get-Content -Path $SettingsFile $Server = $Settings.Fabric.Servers.Server | Where ID -EQ STOR05 $Server.Networkadapters.Networkadapter | Where ID -EQ NIC01 $Server.Networkadapters.Networkadapter | Where ID -...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIAADDSSiteName.ps1
Set-VIAADDSSiteName.ps1
Param( [Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true,Position=0)] $SiteName ) # Change name of Default Site Write-Verbose "Change site name to $SiteName" Get-ADObject -SearchBase (Get-ADRootDSE).ConfigurationNamingContext -filter "objectclass -eq 'site'" | Where-Object -Property Name -l...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallSPF2016.ps1
Invoke-VIAInstallSPF2016.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $SPFSetup, [Parameter(Mandatory=$false,Position=1)] $SPFDomain, [Parameter(Mandatory=$false,Position=1)] $SPFServiceAccount, [Parameter(Mandatory=$false,Position=1)] $SPFS...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIARole-WSUS-SyncMetaData.ps1
Set-VIARole-WSUS-SyncMetaData.ps1
#Run WSUS MetaData Sync $WSUSSrv = Get-WSUSServer -Name localhost -Port 8530 $WSUSSrvCFG = $WSUSSrv.GetConfiguration() $WSUSSrvSubScrip = $WSUSSrv.GetSubscription() #Set WSUS to download from MU Set-WsusServerSynchronization -SyncFromMU # Choose Languages $WSUSSrvCFG = $WSUSSrv.GetConfiguration() $WSUSSrvCF...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/New-VIAADGroups.ps1
New-VIAADGroups.ps1
<# Created: 2015-02-06 Version: 1.0 Author Mikael Nystrom Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the author. Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com #> Param( [parameter...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIAADSiteSubnet.ps1
Set-VIAADSiteSubnet.ps1
<# Created: 2015-02-06 Version: 1.0 Author Mikael Nystrom Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the author. Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com #> [CmdletBinding()] P...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIASQLFirewall.ps1
Set-VIASQLFirewall.ps1
<# .Synopsis Script for Deployment Fundamentals Vol 7 .DESCRIPTION Script for Deployment Fundamentals Vol 7 .EXAMPLE C:\Setup\Scripts\Set-VIASQLFirewall.ps1 .NOTES Created: July 15, 2016 Version: 1.0 Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploym...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/TBANew-NanoRefImage.ps1
TBANew-NanoRefImage.ps1
#Mount C:\Setup\ISO\Windows Server 2016.iso $WimFile = "C:\NanoServer\NanoServer.wim" $VHDXFile = "C:\Setup\WS2016lab\VHD\WS2016N_UEFI.vhdx" C:\Setup\ws2016lab\Scripts\Convert-VIAWIM2VHD.ps1 -SourceFile $WimFile -DestinationFile $VHDXFile -Disklayout UEFI -Index 1 -SizeInMB 5000 -Verbose #Add Package to VHD Moun...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/New-VIAAddAccountToGroups.ps1
New-VIAAddAccountToGroups.ps1
<# Created: 2013-12-16 Version: 1.0 Author Mikael Nystrom and Johan Arwidmark Homepage: http://www.deploymentfundamentals.com Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or DeploymentArtist. Author - Mikael Nystrom ...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallSCDP2016.ps1
Invoke-VIAInstallSCDP2016.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $Source, [Parameter(Mandatory=$true,Position=1)] [ValidateSet("Full","Client","Agent")] $Role = "Full", [Parameter(Mandatory=$true,Position=2)] $Domain, [Parameter(Mandato...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/New-VIAADBaseOU.ps1
New-VIAADBaseOU.ps1
<# Created: 2015-02-06 Version: 1.0 Author Mikael Nystrom Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the author. Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com #> Param( [parameter...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallRoles.ps1
Invoke-VIAInstallRoles.ps1
<# .Synopsis Script for HYDV10 .DESCRIPTION Script for HYDV10 .EXAMPLE C:\Setup\Scripts\Install-VIARoles.ps1 -Role DEPL .NOTES Created: 2015-12-15 Version: 3.0 Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com Disclaimer: Thi...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Initialize-VIADataDisk.ps1
Initialize-VIADataDisk.ps1
<# #> Param( [parameter(position=0,mandatory=$true)] [ValidateNotNullOrEmpty()] [ValidateSet('NTFS','ReFS')] $FileSystem ) $Disks = Get-Disk | Where-Object -Property OperationalStatus -like -Value Offline foreach($Disk in $Disks) { $DiskNumber = $Disk.Number Write-Verbose "Working ...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIARole-ADDS-SDC.ps1
Set-VIARole-ADDS-SDC.ps1
<# Created: 2016-12-06 Version: 2.0 Author Mikael Nystrom Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the author. Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com #> Param( [parameter...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallSCOR2016.ps1
Invoke-VIAInstallSCOR2016.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $Setup, [Parameter(Mandatory=$False,Position=1)] [ValidateSet("Default")] $Role = "Default", [Parameter(Mandatory=$False,Position=2)] $SCORProductKey, [Parameter(Manda...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIARole-DHCP-Create-Scope.ps1
Set-VIARole-DHCP-Create-Scope.ps1
<# Created: 2015-02-06 Version: 1.0 Author Mikael Nystrom Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the author. Author - Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com #> Param( [Parameter...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallNET2and3FromSource.ps1
Invoke-VIAInstallNET2and3FromSource.ps1
<# # Will add .NET 2/3 from source folder #> Param( $SourceFolder ) Add-WindowsFeature -Name Net-Framework-Core -IncludeAllSubFeature -IncludeManagementTools -Source $SourceFolder
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallADK.ps1
Invoke-VIAInstallADK.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $Setup, [Parameter(Mandatory=$true,Position=1)] [ValidateSet("Full","MDT","SCCM_CB","SCVM2016")] $Role ) switch ($Role) { 'SCVM2016' { try { #Install...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallSQLServer2014.ps1
Invoke-VIAInstallSQLServer2014.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$True,Position=0)] $SQLSetup, [Parameter(Mandatory=$False,Position=1)] $SQLRole = "Default", [Parameter(Mandatory=$True,Position=2)] $SQLINSTANCENAME = "MSSQLSERVER", [Parameter(Mandatory=$True,P...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/New-VIAADAccount.ps1
New-VIAADAccount.ps1
<# Created: 2013-12-16 Version: 1.0 Author Mikael Nystrom and Johan Arwidmark Homepage: http://www.deploymentfundamentals.com Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or DeploymentArtist. Author - Mikael Nystrom ...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/TBAUntitled4.ps1
TBAUntitled4.ps1
1..100 | % {New-Guid} 0f668755-b2da-4f3a-8b3d-ccccce7eaeae dd84ee34-df9c-46be-b5e3-37892292a8ea 1f4177eb-97a8-4ad8-b0ae-e61c428f319b f7249452-bef2-4766-8eed-09a657f8e9f1 48b7c2bb-4d14-4c8f-a186-c5652ce193f5 654f8d01-14aa-44c7-8127-f591b9d059f2 40cd87ed-31a9-400e-b5c0-e133c95e47b1 5287ad89-a745-434c-b23e-239a0...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/New-VIADataDisk.ps1
New-VIADataDisk.ps1
<# .Synopsis Script used to Deploy and Configure FILE01 .DESCRIPTION Created: 2015-02-21 Version: 1.0 Author : Mikael Nystrom Twitter: @mikael_nystrom Blog : http://deploymentbunny.com Disclaimer: This script is provided "AS IS" with no warranties. .EXAMPLE C:\Setup\RunTimes...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Set-VIASQLMemoryConfiguration.ps1
Set-VIASQLMemoryConfiguration.ps1
<# .Synopsis Script for Deployment Fundamentals Vol 7 .DESCRIPTION Script for Deployment Fundamentals Vol 7 .EXAMPLE C:\Setup\Scripts\Set-VIASQLMemoryConfiguration.ps1 -SQLInstance SQLEXPRESS .NOTES Created: July 15, 2016 Version: 1.0 Author - Mikael Nystrom Twitter: @mikael_n...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallSCVM.ps1
Invoke-VIAInstallSCVM.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $SCVMSetup, [Parameter(Mandatory=$true,Position=1)] [ValidateSet("Full","Client","Agent")] $SCVMRole = "Full", [Parameter(Mandatory=$true,Position=2)] $SCVMMDomain, [Param...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallSQLServer2016.ps1
Invoke-VIAInstallSQLServer2016.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $SQLSetup, [Parameter(Mandatory=$true,Position=1)] [ValidateSet("Default","SCOR2012R2","SCVM2012R2","SCVM2016","SCOM2016")] $SQLRole = "Default", [Parameter(Mandatory=$true,Position=2...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Invoke-VIAInstallSQLServer2014SP1Express.ps1
Invoke-VIAInstallSQLServer2014SP1Express.ps1
<# .SYNOPSIS .DESCRIPTION .EXAMPLE #> Param ( [Parameter(Mandatory=$true,Position=0)] $SQLSetup, [Parameter(Mandatory=$false,Position=1)] $SQLINSTANCENAME = "SQLExpress", [Parameter(Mandatory=$false,Position=2)] $SQLINSTANCEDIR = "E:\SQLDB", [Parameter(Mandatory=$false,Position...
PowerShellCorpus/Github/DeploymentBunny_HYDv10/Scripts/Configure-VIAPostWSUS.ps1
Configure-VIAPostWSUS.ps1
<# Created: 2013-01-08 Version: 1.0 Author Mikael Nystrom and Johan Arwidmark Homepage: http://www.deploymentfundamentals.com Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or DeploymentArtist. Author - Mikael Nystrom ...