scripts
Differences
This shows you the differences between two versions of the page.
scripts [2025/04/23 16:19] – created wizardadmin | scripts [2025/04/23 16:30] (current) – wizardadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
Here are a few powershell scripts that i have written, feel free to take a look! | Here are a few powershell scripts that i have written, feel free to take a look! | ||
+ | |||
+ | Printer Settings: I wrote this script for our onboardings it is used to disable letting microsoft manage a user's default printer and sets a PDF printer software as our default printer | ||
+ | |||
+ | Set-ItemProperty -Path " | ||
+ | $printerName = "PDF Writer - bioPDF" | ||
+ | $printer = Get-CimInstance -Class Win32_Printer -Filter " | ||
+ | $printer | Invoke-CimMethod -MethodName SetDefaultPrinter | ||
+ | |||
+ | |||
+ | |||
+ | Desktop Icons: This script is to copy all of the desktop icons that our onboardings require, there is a shortcut in those icons that does not work unless i create a directory in the C drive matching the shortcut' | ||
+ | |||
+ | Copy-Item -Path " | ||
+ | |||
+ | |||
+ | |||
+ | Bitlocker Activation: Powershell script for enabling Bitlocker protection on the C drive of a machine and saving the recovery key into a .txt file and saving it onto one of our servers. | ||
+ | |||
+ | |||
+ | Enable-Bitlocker -Mountpoint " | ||
+ | |||
+ | |||
+ | Zoom Install: Here is a script for installing the Zoom Workplace Application. | ||
+ | |||
+ | |||
+ | md c:\source1; Invoke-WebRequest " | ||
+ | msiexec /i C: | ||
+ |
scripts.1745425163.txt.gz · Last modified: 2025/04/23 16:19 by wizardadmin