Skip to content

WSTools Module

Description

This module contains over 300 different functions used for day to day tasks and once in a blue moon tasks. With more being written all the time. It is an accumulation of thousands of hours of research, development, testing, and real world use by multiple organizations. It covers domain management (Active Directory – Windows domains), Insider Threat, remediation/patch management, PowerShell automation, and several other areas.

WSTools Cmdlets

Add-DomainCheck

Add-Function

Add-Help

This function adds help at current insertion point.

Add-InternetBrowsersBlock

Add-ParamBlock

Add-ParamInternetBrowser

Add-ParamSwitchWithOption

Add-ProgressBar

Add-PSObject

Add-Switch

Add-UserJavaException

Adds Java exception.

Clear-DirtyShutdown

Clears dirty shutdown registry key.

Clear-ImproperProfileCopy

Clears Application Data folder that was improperly copied which happens when copy and pasting a profile.

Clear-Patches

Clears the C:\Patches folder.

Connect-RDP

Convert-AppIconToBase64

Short description

Convert-DatesToDays

Convert-DaysToWorkDay

Convert-ImageToBase64

Convert-INT64toIP

{{ Fill in the Synopsis }}

Convert-IPtoINT64

{{ Fill in the Synopsis }}

Convert-Uint16ToString

Converts uin16 arrays to a readable string.

Copy-7Zip

Copy-90Meter

Copy-ActivClient

Copy-AdobeAcrobat

Copy-AdobeExperienceManager

Copy-Axway

Copy-Chrome

Copy-DSET

Copy-Edge

Copy-Encase

Copy-Firefox

Copy-Git

Copy-IE11

Copy-Java

Copy-MicrosoftInfoPath

Copy-NetBanner

Copy-Office2016

Copy-OneDrive

Copy-PowerShellJSON

Enables PowerShell Snippets in Visual Studio Code.

Copy-Silverlight

Copy-SplunkForwarder

Copy-SQLServerManagementStudio

Copy-Tanium

Copy-Teams

Copy-Titus

Copy-UpdateHistory

Copies the UpdateHistory.csv report to the UHPath config item path.

Copy-UserProfile

Copy-VisualStudioCode

Copy-VLC

Copy-VMwareTools

Copy-VPN

Copy-VSCodeExtensions

Copy-VSCodeSettingsToProfile

Copy-Wireshark

Copy-WMF3

Copy-WMF4

Copy-WMF5

Copy-Zoom

Disable-3DES

Disable-DiffieHellman

Disable-RC4

Disable-RDP

Disable-ServerManager

Disable-TLS1.0

{{ Fill in the Synopsis }}

Disable-TLS1.1

{{ Fill in the Synopsis }}

Disable-TLS1.2

{{ Fill in the Synopsis }}

Enable-3DES

Enable-DiffieHellman

Enable-RC4

Enable-RDP

Enable-ServerManager

Enable-TLS1.0

{{ Fill in the Synopsis }}

Enable-TLS1.1

{{ Fill in the Synopsis }}

Enable-TLS1.2

{{ Fill in the Synopsis }}

Export-MessagesToPST

This function exports a users mailbox to a pst.

Find-EmptyGroup

This function will show empty groups.

Find-HiddenGALUser

This function gets all users that are hidden from the GAL.

Find-SID

This function finds what Active Directory object the specified SID belongs to.

Find-UserProfile

Find-UserProfileWithPSTSearch

Get-Accelerator

Get-ADComplianceReport

Checks attributes on Active Directory objects against a set of compliance rules.

Get-BitLockerStatus

Get-CertificateInventory

Get-CommandList

Get-ComputerADSite

Get-ComputerHWInfo

Gets hardware information of local or remote computer(s).

Get-ComputerModel

Get-CurrentUser

Get-DayOfYear

Get-DaysSinceLastLogon

Get-DefaultBrowserPath

Get-DirectoryStat

Get-Drive

Get-ENSStatus

Get-Error

Get-ExchangeLastLoggedOnUser

Get-ExpiredCertsComputer

Get-ExpiredCertsUser

Get-FeaturesOnDemand

Get-FilePath

Get-FolderPath

Get-FSMO

Get-FunctionsInModule

Get-HBSSStatus

Get-HomeDrive

Get-HttpHeaderSetting

Gets the Http Header setting on the current machine.

Get-HWInfo

Get-HWPerformanceScore

Get-IEVersion

Get-InstalledProgram

Displays installed programs on a computer.

Get-IPrange

Lists IPs within a range, subnet, or CIDR block.

Get-LinesOfCode

Get-LockedOutLocation

This function will locate the computer that processed a failed user logon attempt which caused the user account to become locked out.

Get-LockedOutStatus

Get-LoggedOnUser

Get-ModuleCommandCount

Get-ModuleList

Short description

Get-MTU

Get-NetworkLevelAuthentication

Get-NewADGroup

Get-NewADUser

Get-NICInfo

Get-NonSmartCardRequiredUser

Displays users in domain with SmartCardRequired attribute set to false.

Get-NotificationApp

Get-OperatingSystem

Gets Operating System information

Get-PowerShellVariable

Will show env: and PowerShell variable active in session.

Get-PrivilegedGroup

Get-ProcessorCapability

Get-ProtectedGroup

Get-ProtectedUser

Get-PSVersion

Get-RecentUser

Get-ReplicationStatus

Get-Role

Get-SCCMPendingUpdate

Short description

Get-SCHANNELSetting

Gets the SCHANNEL settings on the current machine.

Get-SerialNumber

Get-ShutdownLog

Get-SplunkStatus

Get-UpdateHistory

Get-UpTime

Get-USBDevice

Get-USBStorageDevice

Shows USB storage devices that have connected to a computer.

Get-User

Get-UserGroup

Get-UserLogonLogoffTime

Get-UserWithThumbnail

Get-WindowsSetupLog

Get-WMIClass

Get-WMINameSpace

Get-WSLocalGroup

Get-WSLocalUser

Get-WSToolsAlias

Get-WSToolsCommand

Get-WSToolsConfig

Get-WSToolsVersion

Get-ZuluTime

Import-DRAModule

Import-MOF

Import-XML

Initialize-GPUpdate

Install-Edge

Install-GitSCM

Install-MECM

Install-OneDrive

Install-Patches

Will install patches in the local patches folder.

Install-SCCMUpdate

Short description

Install-SQLServerManagementStudio

Install-VisualStudioCode

Install-VMwareTools

Will install VMware tools on one or more computers.

Install-WSTools

Installs/copies the WSTools PowerShell module to a remote computer.

Install-Zoom

Join-File

Mount-HomeDrive

Open-ADDomainsAndTrusts

Open-AdminTools

Open-ADSIEdit

Open-ADSitesAndServices

Open-ADUsersAndComputers

Open-BitLocker

Open-CertificatesComputer

Open-CertificatesUser

Open-CMLibrary

Open-CMTrace

Open-ComputerManagement

Open-ConfigurationManager

Open-DeviceManager

Open-DevicesAndPrinters

Open-DHCPmgmt

Open-DiscDrive

Open-DiskManagement

Open-DNSmgmt

Open-EAC

Open-EventViewer

Open-FileWithCMTrace

Open-FirewallLog

Open-GroupPolicyMgmt

Open-HBSSStatusMonitor

Open-HIPSLog

Open-HomeAssistant

Open-HomeDrive

Open-HyperVmgmt

Open-iLO

Open-LAPS

Open-LexmarkManagementConsole

Open-LocalGPeditor

Open-McAfeeVirusScanConsole

Open-NetLogonLog

Open-NetworkConnections

Open-NetworkDiagram

Open-OWA

Open-PrintRelease

Open-ProgramsAndFeatures

Open-RackElevation

Open-Remedy

Open-RunAdvertisedPrograms

Open-SCCMLogsFolder

Open-SDN

Open-SEIM

Open-Services

Open-SharedFolders

Open-SharePoint

Open-SoftwareCenter

Open-SystemProperties

Open-vCenter

Open-VisualStudioCodeSettings

Open-WindowsUpdateLog

Register-ADSIEdit

Register-NotificationApp

Register-Schema

Remove-OldPowerShellModule

Repair-DuplicateSusClientID

Removes SusClientID registry key on the local or remote computer.

Restart-ActiveDirectory

Restart-AxwayTrayApp

Short description

Restart-DNS

Restart-KDC

Restore-WindowsUpdate

Save-HelpToFile

Save-MaintenanceReport

Save-UpdateHistory

Send-ToastNotification

Short description

Set-ADProfilePicture

Set-AutoLoadPreference

Set-AxwayConfig

Set-ChromeDeveloperTools

Will enable or disable Chrome Developer tools.

Set-Explorer

Set-FeatureSettingsOverride

Set-FirefoxAutoUpdate

Set-HiveNightmareFix

Set-JavaException

Set-LAPSshortcut

Set-MS15124

Set-MTU

Set-NetworkConnectionsShortcut

Set-NetworkLevelAuthentication

Set-Preferences

Set-PrintNightmareFix

Set-Profile

Set-Reboot

Set-RemediationValues

Set-RemoteDesktopCert

Set-ServerConfig

Set-ShortcutText

Set-Shutdown

Set-SMBv1

Set-SMBv1Fix

Enables SMB v1.

Set-SpeakerVolume

Set-StoreLookup

Set-Title

Set-WindowState

{{ Fill in the Synopsis }}

Set-WSToolsConfig

Show-BalloonTip

Show-FederalHoliday

Show-FileExtensions

Show-HiddenFiles

Show-MessageBox

Split-File

Start-AxwayTrayApp

Short description

Start-CommandMultiThreaded

Takes a single command and multithreads it.

Start-PowerShell

Start-SCCMUpdateScan

Short description

Start-WSToolsGUI

Stop-AppService

Stop-AxwayTrayApp

Short description

Stop-Database

Stop-Exchange

Sync-HBSSWithServer

Sync-InTune

Will sync device with InTune/MEM.

Test-DynamicParameterSwitchCheck

Non-functional. For reference.

Test-EmailRelay

Test-MTU

Finds the MTU size for packets to a remote computer.

Test-NetworkSpeed

Test network file transfer speeds, upload and download.

Test-Online

Test-RegistryValue

Test-ResponseTime

Finds the response time of a remote computer.

Uninstall-7Zip

Uninstall-90Meter

Uninstall-ActivClient

Uninstall-AdobeAir

Uninstall-AdobeExperienceManager

Uninstall-AdobeFlash

Uninstall-AdobeLiveCycleFormsDesigner

Uninstall-AdobePro

Uninstall-AdobeReader

Uninstall-AdobeShockwave

Uninstall-Axway

Uninstall-CiscoAnyConnect

Uninstall-DamewareMiniRemoteControl

Uninstall-F5BigIPEdgeClient

Uninstall-GoogleChrome

Uninstall-HBSS

Uninstall-HPInsightAgent

Uninstall-HPVersionControlAgent

Uninstall-IBMForms

Uninstall-McAfeeVSE

Uninstall-MicrosoftInfoPath

Uninstall-MozillaFirefox

Uninstall-MozillaMaintenanceService

Uninstall-OracleJava

Uninstall-TransVerse

Uninstall-VLC

Uninstall-WinRAR

Uninstall-WinSCP

Uninstall-WinZip

Uninstall-Wireshark

Uninstall-Zoom

Update-BrokenInheritance

Finds and fixes users with broken inheritance.

Update-HelpFromFile

Update-McAfeeSecurity

Update-ModulesFromLocalRepo

Update-VisioStencils

Update-WSTools

This updates the WSTools module