Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scripts/Win_Printers_List_Installed.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
########
### You can run this as a one of Script and save to Notes, setup a custom field and use a colelctor task or use tasks and check output
# You can run this as a one-off script and save to Notes,
# setup a custom field and use a collector task
# or use tasks and check output

get-WmiObject -class Win32_printer | fl Name, PortName, Shared
Get-WmiObject -class Win32_printer | Format-List Name, PortName, Shared
5 changes: 2 additions & 3 deletions scripts/Win_Users_List.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This script return the list of all users and checks
# This script returns the list of all users and checks
# if they are enabled or disabled

get-localuser | Select name,Enabled > $env:TEMP\users.txt
Get-Content $env:TEMP\users.txt | foreach {Write-Output $_}
Get-LocalUser | Select Name,Enabled | foreach { Write-Output $_ }
87 changes: 0 additions & 87 deletions scripts_staging/Checks/Is TCP port open.ps1

This file was deleted.