Skip to content

Commit 413502f

Browse files
author
Brix
authored
Update readme.md
1 parent 03246dd commit 413502f

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

readme.md

+33-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,36 @@
77
</p>
88

99
# PowerShell Scripts
10-
This repo is just a collection of random scripts I've created over time that I think are useful or have parts of them which are useful.
11-
Will probably update this from time to time with more random stuff.
10+
This repo is just a collection of random scripts and functions I've created over time that I think are useful or have parts of them which are useful. Will probably update this from time to time with more random stuff.
11+
12+
## Scripts
13+
All Folders are scripts, this may be one individual or a set of them used in something like an intune remediation or win32 package. Some of these may be used in tandem with functions in the function folder so keep an eye on the documentation for that.
14+
15+
##### Install Print Server Printers
16+
- Was initially a project wherein we migrated local printers to a print server for specific sites and installed the printers on the machines as an intune remediation.
17+
- This script was converted into a fucntion for ease of use, I would recommend using that over these scripts, the remediation may still be useful.
18+
19+
##### New Desktop Shortcut (Uses Function)
20+
- Useful set of scripts for creating win32 packages for shortcuts on users machines.
21+
- Contains the Detection and uninstall/Install Commands, when using these make sure to change the Shortcut name to your one.
22+
- Function in the function folder for the actuall meat of this.
23+
24+
## Functions
25+
This folder contains a bunch of functions I've made, some may be apart of other scripts in the parent Directory. I should update this when I add new functions with a description of them.
26+
27+
##### Get-ManagedDeviceDetails
28+
- Used to gather information about devices from Intune and Azure using mgraph, this required the mgraph and mgraph beta PS modules to be present.
29+
- Can search devices based of various different options such as Hostname, IMEI, OS, Serial Number, AzureID, IntuneID and ObjectID.
30+
- Returns as a custom object that should be easy to work with and pass into other scripts.
31+
32+
##### Get-OutdatedAppManagedDevices
33+
- Used to get a list of devices from intune with app versions older than what you specify
34+
- The version number can be a bit messy depending on how apps handle their versioning, i would recommend testing -LT as [system.version] for your specific apps.
35+
36+
##### Install-NetworkPrinters
37+
- Allows you to auto install printers from network print servers that match a devices subnet.
38+
- Can filter out specific printers, for example if you use papercut you may want to filter out Follow Me printers.
39+
- Will check if a printer is already installed and if there are no network printers on that subnet.
40+
- There is a folder for this function in the Parent directory which contains earlier versions before I turned the app into a function, was used as an intune remediation.
41+
- I need to comment this because I was lazy
42+
- I also need to add the ability to exlude certain subnets from the search as I did in the original script.

0 commit comments

Comments
 (0)