CommonStuff
1.0.21
Some of the interesting functions:
- ConvertFrom-HTMLTable - extracts & converts html table from given file/string/com object into the PSObject
- ConvertFrom-XML - converts XML into PSObject
- ConvertFrom-CompressedString
Some of the interesting functions:
- ConvertFrom-HTMLTable - extracts & converts html table from given file/string/com object into the PSObject
- ConvertFrom-XML - converts XML into PSObject
- ConvertFrom-CompressedString
- ConvertTo-CompressedString
- Compare-Object2 - can be used for comparison of strings, objects, arrays of primitives/objects
- Export-ScriptsToModule - export functions defined in ps1 files into PS module (including aliases and manifest file)
- Get-InstalledSoftware - returns installed software on local/remote computer
- Get-SFCLogEvent - gets SFC related lines from CBS.log
- Get-PSHScriptBlockLoggingEvent - gets PowerShell Script Block logging events with context like who/when/how run the command, ...
- Invoke-AsSystem - invoke given command under SYSTEM account. Support returning of the command transcript.
- Invoke-AsLoggedUser - invoke given command under all currently logged users (impersonate given user). Support returning of the command transcript.
- Invoke-FileContentWatcher - monitors changes in selected file content
- Invoke-FileSystemWatcher - monitors changes in selected folder
- Invoke-RestMethod2 - Invoke-RestMethod proxy functions that supports pagination, throttling
- Invoke-SQL - invoke SQL command (uses Security=SSPI authentication)
- Invoke-MSTSC - invoke RDP connection using LAPS credentials (and more)
- Publish-Module2 - solves error "The specified RequiredModules entry xxx In the module manifest xxx.psd1 is invalid" in case of missing required modules
- Uninstall-ApplicationViaUninstallString - uninstalls application using information retrieved from system registry
- Send-EmailViaSendGrid - send email using SendGrid (supports api token retrieval from Azure Keyvault or credentials object)
- ...
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2022 @AndrewZtrhgf. All rights reserved.
Package Details
Author(s)
- @AndrewZtrhgf
Tags
PowerShell CommonStuff HTML SQL File Clipboard
Functions
Compare-Object2 ConvertFrom-CompressedString ConvertFrom-HTMLTable ConvertFrom-XML ConvertTo-CompressedString Export-ScriptsToModule Get-InstalledSoftware Get-PSHScriptBlockLoggingEvent Get-SFCLogEvent Invoke-AsLoggedUser Invoke-AsSystem Invoke-FileContentWatcher Invoke-FileSystemWatcher Invoke-MSTSC Invoke-RestMethod2 Invoke-SQL Invoke-WindowsUpdate New-BasicAuthHeader Publish-Module2 Quote-String Read-FromClipboard Send-EmailViaSendGrid Uninstall-ApplicationViaUninstallString
Dependencies
Release Notes
1.0.14
ADDED
Get-PSHScriptBlockLoggingEvent
1.0.15
CHANGED
renamed Create-BasicAuthHeader to New-BasicAuthHeader to avoid unapproved verb warning (Create-BasicAuthHeader is now alias)
1.0.16
ADDED
ConvertFrom-CompressedString
ConvertTo-CompressedString
1.0.17
CHANGED
ConvertTo-CompressedString - added support for pipeline input
ConvertFrom-CompressedString - added support for pipeline input
1.0.18
CHANGED
ConvertTo-CompressedString - fixed pipeline support
ConvertFrom-CompressedString - fixed pipeline support
1.0.19
ADDED
Send-EmailViaSendGrid
1.0.19
ADDED
Quote-String
Read-FromClipboard
REMOVED
Removed obsolete requirement for AdmPwd.PS module. Invoke-MSTSC uses built-in LAPS module instead.
1.0.21
CHANGED
Invoke-AsSystem - new parameters scriptFile, usePSHCore
Invoke-RestMethod2 - better handling of next link
Invoke-MSTSC - rewrite for modern Windows LAPS; added core PSH support
FileList
- CommonStuff.nuspec
- CommonStuff.psm1
- CommonStuff.psd1
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.22 | 74,510 | 9/17/2024 |
1.0.21 (current version) | 67,804 | 8/26/2024 |
1.0.20 | 660,669 | 6/10/2024 |
1.0.18 | 298,134 | 5/19/2024 |
1.0.17 | 539,573 | 3/26/2024 |
1.0.16 | 1,431 | 3/25/2024 |
1.0.15 | 57,834 | 1/14/2024 |
1.0.14 | 80,973 | 8/17/2023 |
1.0.13 | 28,618 | 6/8/2023 |
1.0.12 | 44,256 | 12/20/2022 |
1.0.11 | 125 | 12/18/2022 |
1.0.10 | 5,146 | 9/26/2022 |
1.0.9 | 251 | 8/29/2022 |
1.0.8 | 39 | 8/29/2022 |
1.0.7 | 42 | 8/28/2022 |
1.0.6 | 50 | 8/25/2022 |
1.0.5 | 42 | 8/25/2022 |
1.0.4 | 43 | 8/24/2022 |
1.0.3 | 125 | 8/4/2022 |
1.0.2 | 211 | 6/23/2022 |
1.0.1 | 57 | 5/25/2022 |
1.0.0 | 47 | 5/25/2022 |