core
1.2
Module with various generic functions that could be used in any script
Minimum PowerShell version
2.0
Installation Options
Owners
Copyright
(c) 2017 Chris Masters. All rights reserved.
Package Details
Author(s)
- Chris Masters
Functions
Test-ModuleLoaded Invoke-VariableBaseLine Add-Signature Invoke-EnvironmentalVariable ConvertTo-Hexadecimal ConvertFrom-Hexadecimal ConvertFrom-HexToFile ConvertFrom-Base36 ConvertTo-Base36 ConvertFrom-Base64 ConvertTo-Base64 Invoke-Touch Open-NotepadPlusPlus New-SymLink Remove-SymLink New-HardLink Get-HardLink ConvertFrom-DosToUnix Invoke-Snitch Invoke-DebugIt Invoke-Alert Test-AdminRights Start-ImpersonateUser Get-LoggedOnUser Invoke-Elevate Invoke-CredentialManager
Dependencies
This module has no dependencies.
Release Notes
Version 0.3
- Code folding regions added for better navigation and visibility
- Function (SECURITY) added : Test-AdminRights
- Function (SECURITY) added : Start-ImpersonateUser
- Function (SECURITY) added : Get-LoggedOnUser
- Function (SECURITY) added : Invoke-Elevate
- Function (FILESYSTEM) added : Open-Notepad++
- Multiple aliases added for functions
- EventLogging added to Invoke-DebugIt function
Version 0.4
- Function (SECURITY) updated : Invoke-Elevate, "sudo $$" or "sudo $^" now works, similar to "sudo !!"
- Function (DEVELOPMENT) updated : Fixed scope issues with Invoke-VariableBaseLine
- Function (DEVELOPMENT) updated : $boolDebug must be set for -Debug to be recognized in other functions.
Version 0.5
- Function (FILESYSTEM) updated : As cool as it was, renamed Open-Notepad++ to Open-NotepadPlusPlus :(
- Function (FILESYSTEM) added : New alias created for Invoke-Touch = touch
- Function (SECURITY) added : Invoke-CredentailManager, with aliases
- Function (LOG/ALERT) updated : Removed the $boolDebug declaration from this function. This will be
set by the calling function, when -Debug is used.
- Function (DEVELOPMENT) updated : Now allows you to add the file path to a module not in the default path.
Version 0.6
- Function (DEVELOPMENT) added : Invoke-EnvrionmentalVariable
- Function (DEVELOPMENT) added : Invoke-Alert with alias (alert). Audible tone for when you want to
monitor the availability of something while doing some other work.
- Function (SECURITY) updated : Parameter alias on Invoke-CredentialManager for backward compatibility
- Function (DEVELOPMENT) added : ConvertTo-Hexadecimal
- Function (DEVELOPMENT) added : ConvertFrom-HexToFile. Great way for working with binary files.
- Function (DEVELOPMENT) added : ConvertTo-Base36
- Function (DEVELOPMENT) added : ConvertFrom-Base36
- Function (DEVELOPMENT) added : ConvertTo-Base64
- Function (DEVELOPMENT) added : ConvertFrom-Base64
Version 0.7
- Function (FILESYSTEM) added : New-SymLink
- Function (FILESYSTEM) added : Remove-SymLink
- Function (DEVELOPMENT) updated : Add-Signature. Removed aliases used inside the function.
- Module header information added.
- Function (LOG/ALERT) moved : Moved Invoke-Alert to Log/Alert region.
- Custom Type : added : MkLink type added. This is needed by several functions.
- Function (SECURITY) : updated : Invoke-Elevate : Removed variable baseline function call. This function
is typically used in conjunction with other functions, which may be using the baseline functionality.
Version 0.8
- Function (FILESYSTEM) added : New-HardLink :
- Alias (FILESYSTEM) : added : Create-SymbolicLink : Easier to remember when trying to thinka about what
the function actually does.
- Alias (DEVELOPMENT) : added : New-InvironmentalVarVariable, New-EnvVar, Remove-EnvVar, and
Remove-EnvironmentalVariable
- Function (SECURITY) : changed : Invoke-Elevate : added an argument for "no profile", instead of this
being the default. Sometimes we need the profile to load custom modules.
- Function (SECURITY) : changed : Invoke-CredentialManager modified to store user name too.
- Function (DEVELOPMENT) : changed : ConvertFrom-HexToFile updated. Failed on empty directories
Version 0.9
- Functions (ALL) : changed : Removed baselines for functions. This isn't really needed on these functions.
- Function (SECURITY) : changed : updated Invoke-CredentialManager. Now can return an object from XML
Version 1.0
- Module (core) : updated : moved change log information to module manifest
- Function (FILESYSTEM) : added : Get-HardLink, for finding links to a file. Author: Greg Shields
Version 1.1
- Function (SECURITY) : changed : Invoke-CredentialManager removed ConvertTo-SecureString -AsPlainText command
Version 1.2
- Function (DEVELOPMENT) : added : ConvertFrom-Hexadecimal. Converts hex input to ASCII string
- Function (FILESYSTEM) : added : ConvertFrom-DosToUnix. Replaces CLRF with newline within a file.
FileList
Version History
Version | Downloads | Last updated |
---|---|---|
1.9.4.2 | 102,509 | 11/6/2024 |
1.9.4.1 | 99,652 | 9/26/2024 |
1.9.4 | 7,213 | 9/23/2024 |
1.9.3.3 | 29,173 | 9/12/2024 |
1.9.3.2 | 1,291,634 | 3/6/2023 |
1.9.3.1 | 3,638 | 3/3/2023 |
1.9.3 | 322 | 3/3/2023 |
1.9.2.1 | 71 | 3/3/2023 |
1.9.2 | 95 | 3/3/2023 |
1.9.1 | 964 | 3/2/2023 |
1.9 | 1,594,629 | 5/16/2019 |
1.8 | 4,567 | 3/8/2019 |
1.7 | 970 | 2/12/2019 |
1.6 | 7,456 | 12/14/2018 |
1.5.0 | 5,750 | 9/8/2018 |
1.4 | 3,304 | 10/25/2017 |
1.3 | 497 | 10/4/2017 |
1.2 (current version) | 423 | 10/4/2017 |
1.1 | 480 | 8/9/2017 |
1.0 | 29 | 8/7/2017 |