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
# Created by Colby Bouma | |
# This script shuts down or starts up services in a specific order | |
# | |
# Usage: & '.\Service Control.ps1' [-Environment] {PROD, DEV, TEST} [[-Target_Name] <server short name>] [-Start] | |
# You must always specify an environment that exists in "Service Control.xml" | |
# The default is to shut down the specified environment. | |
# The [-Start] parameter will cause it to start up the specified environment. | |
# The [-Target_Name] parameter may be used to run this script against 1 specified server, using the <Server> name from "Service Control.xml" | |
# Example of shutting down DEV: & '.\Service Control.ps1' DEV | |
# Example of starting up PROD: & '.\Service Control.ps1' PROD -Start |
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
# Written by Colby Bouma | |
# This is a script for Mmuni: https://support.pdq.com/hc/en-us/community/posts/211677967/comments/115000826331 | |
# https://gist.github.com/Colby-PDQ/38d033889303e42faf0648aa7d2ec2fe | |
# | |
# v 003 | |
$Deploy_DB_File = "$env:SYSTEMDRIVE\ProgramData\Admin Arsenal\PDQ Deploy\Database.db" | |
$Error_Message = "<Error><Message>Aborted</Message><Type>AdminArsenal.Remote.Agent.AbortedException</Type><StackTrace></StackTrace></Error>" | |
# This is a stripped down version of a function from a blog post I am writing |
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
# Written by Colby Bouma | |
# Aborts all runnings deployments. Based off of this script: https://gist.github.com/Colby-PDQ/38d033889303e42faf0648aa7d2ec2fe | |
# https://gist.github.com/Colby-PDQ/f148a630293270149a7d4b2369b60682 | |
# | |
# v 003 | |
$Deploy_DB_File = "$env:SYSTEMDRIVE\ProgramData\Admin Arsenal\PDQ Deploy\Database.db" | |
$Error_Message = "<Error><Message>Aborted</Message><Type>AdminArsenal.Remote.Agent.AbortedException</Type><StackTrace></StackTrace></Error>" | |
# This is a stripped down version of a function from a blog post I am writing |
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
-- https://gist.github.com/Colby-PDQ/c03e7eee22a73c9b1dcbe81aaa9b18e6 | |
SELECT | |
Computers.Name AS "Computer Name" | |
, Applications.Name AS "Application Name" | |
FROM | |
( | |
SELECT | |
Applications.ApplicationId | |
, COUNT(Applications.Name) AS "ApplicationCount" |
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
layerblock | |
FN1 1 | |
endblock | |
remapblock | |
layer 0 | |
LALT LCTRL | |
LCTRL CAPS_LOCK | |
BACK_QUOTE ENTER | |
ENTER BACKSLASH |
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
# Written by Colby Bouma | |
# This script removes all Agent records associated with the computer name you specify | |
# | |
# v 011 | |
[CmdletBinding()] | |
param ( | |
[string]$Name, | |
[string]$InventoryDBFile = "$env:SYSTEMDRIVE\ProgramData\Admin Arsenal\PDQ Inventory\Database.db" | |
) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="17.1.0.0" MinimumVersion="15.0"> | |
<Package> | |
<CurrentLibraryPackageVersionId value="null" /> | |
<PackageDefinition name="Definition"> | |
<Conditions type="list"> | |
<PackageStepCondition> | |
<Architecture>Both</Architecture> | |
<Version>All</Version> | |
<TypeName>OperatingSystem</TypeName> |
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
Moved to: https://github.com/Colby-PDQ/Uninstall-Packages/blob/master/Scripts/Uninstall-MSI-By-Name.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
<?xml version="1.0" encoding="utf-8"?> | |
<AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="17.1.0.0" MinimumVersion="15.0"> | |
<Package> | |
<CurrentLibraryPackageVersionId value="null" /> | |
<PackageDefinition name="Definition"> | |
<Conditions type="list"> | |
<PackageStepCondition> | |
<Architecture>Both</Architecture> | |
<Version>All</Version> | |
<TypeName>OperatingSystem</TypeName> |
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
-- https://gist.github.com/Colby-PDQ/133fdcc7596d8908d6f43a195b9e02f2 | |
SELECT | |
Computers.Name AS "Computer Name" | |
, Applications.Name AS "Application Name" | |
, Applications.Version AS "Application Version" | |
FROM | |
( | |
SELECT | |
Applications.ApplicationId |
OlderNewer