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
#!/bin/bash | |
# SYNOPSIS | |
## Software Deployment - MDM - NinjaOne Agent | |
# DESCRIPTION | |
## Uses documentation fields to pull client specific Printix information to download that client's installer from Printix and install it on the endpoint. | |
# NOTES | |
## 2024-01-10: Initial version | |
# LINK | |
## Blog post: https://homotechsual.dev/2024/01/10/Deploy-Printix-NinjaOne/ | |
# Define initial variables |
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
# Utility Function: Registry.ShouldBe | |
## This function is used to ensure that a registry value exists and is set to a specific value. | |
function Registry.ShouldBe { | |
[CmdletBinding(DefaultParameterSetName = 'Named')] | |
param( | |
# The registry path to the key. | |
[Parameter(Mandatory, ParameterSetName = 'Named')] | |
[Parameter(Mandatory, ParameterSetName = 'Default')] | |
[String]$Path, | |
# The name of the registry value. |
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
# Utility Function: Registry.ShouldBe | |
## This function is used to ensure that a registry value exists and is set to a specific value. | |
function Registry.ShouldBe { | |
[CmdletBinding(DefaultParameterSetName = 'Named')] | |
param( | |
# The registry path to the key. | |
[Parameter(Mandatory, ParameterSetName = 'Named')] | |
[Parameter(Mandatory, ParameterSetName = 'Default')] | |
[String]$Path, | |
# The name of the registry value. |
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
---------------------------------------------------------------------------- | |
CrystalDiskInfo 9.2.1 (C) 2008-2023 hiyohiyo | |
Crystal Dew World: https://crystalmark.info/ | |
---------------------------------------------------------------------------- | |
OS : Windows 11 Professional [10.0 Build 22631] (x64) | |
Date : 2023/12/06 21:11:15 | |
-- Controller Map ---------------------------------------------------------- | |
+ Standard SATA AHCI Controller [ATA] |
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
<# | |
.SYNOPSIS | |
Help test suite for the NinjaOne module. | |
#> | |
$ModuleName = Get-ChildItem -Path '.\Source' -Filter '*.psd1' | Select-Object -ExpandProperty BaseName | |
BeforeAll { | |
$ModuleName = Get-ChildItem -Path '.\Source' -Filter '*.psd1' | Select-Object -ExpandProperty BaseName | |
$ManifestPath = Get-ChildItem -Path '.\Source' -Filter '*.psd1' | Select-Object -ExpandProperty FullName | |
if (Get-Module -Name $ModuleName) { | |
Remove-Module $ModuleName -Force |
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
// @ts-check | |
// Note: type annotations allow type checking and IDEs autocompletion | |
import {themes as prismThemes} from 'prism-react-renderer'; | |
const lightCodeTheme = prismThemes.vsLight; | |
const darkCodeTheme = prismThemes.vsDark; | |
const admonitionsConfig = { | |
admonitions: { | |
keywords: [ |
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
Current Products Supported: | |
Manufacturer Software Supports Install | |
Adobe Systems, Inc AIR Yes | |
Adobe Systems, Inc Acrobat No | |
Adobe Systems, Inc Bridge No | |
Adobe Systems, Inc Digital Editions No | |
Adobe Systems, Inc Flash Player Yes | |
Adobe Systems, Inc Flash Player (ESR) No | |
Adobe Systems, Inc Reader Yes | |
Adobe Systems, Inc RoboHelp No |
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
#Requires -Version 7 | |
function Invoke-HaloBatchProcessor { | |
<# | |
.SYNOPSIS | |
Handles batch processing Halo API requests using PowerShell parallel processing. | |
.DESCRIPTION | |
Utility function to batch process Halo API requests supports configurable batch sizes and delays. | |
.OUTPUTS | |
Outputs an object containing the response(s) from the web request. | |
#> |
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
<# | |
.SYNOPSIS | |
Based on the PowerShell Script Analyzer (PSSA) presets. | |
.LINK | |
https://github.com/PowerShell/PSScriptAnalyzer/blob/master/Engine/Settings/ | |
#> | |
@{ | |
Severity = @( | |
'Error', | |
'Warning', |
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
Admins are intermittently unable to deploy Windows Autopilot devices | |
IT431147, Last updated: September 26, 2022 5:49 PM | |
Estimated start time: September 15, 2022 4:53 PM | |
Affected services | |
Microsoft Intune | |
Issue type | |
Advisory | |
Issue origin | |
Microsoft | |
Status |
NewerOlder