HostUtilities
1.1.1.0
A collection of utilities to help automate administration tasks on a local host.
Minimum PowerShell version
3.0
Installation Options
Owners
Copyright
(c) 2017 BAMCIS. All rights reserved.
Package Details
Author(s)
- Michael Haken
Tags
Functions
Reset-WindowsUpdate Get-GroupsFromToken Update-TokenGroupMembership Start-WithImpersonation Enable-WinRM New-EmptyTestFile Start-PortScan Remove-JavaInstallations Get-RegistryKeyEntries Enable-TaskSchedulerHistory Start-KerberosTraceLog Stop-KerberosTraceLog Test-IsLocalAdmin Write-CCMLogFormat Get-IPv6ConfigurationOptions Get-ProcessToken Set-ProcessToken Reset-ProcessToken Get-LsaSecret ConvertFrom-Xml Get-WebHistory Get-UserProfiles ConvertTo-HtmlTable Test-Port Set-AutoLogon Set-FileSecurity Set-Owner Test-RegistryKeyProperty ForEach-ObjectParallel Invoke-CommandInNewRunspace Get-WindowsActivationInformation Set-CertificatePrivateKeyAccess New-GptVolume Where-NotMatchIn Get-AccountSid Get-AccountTranslatedNTName Convert-SecureStringToString Get-LocalGroupMembers Add-DomainMemberToLocalGroup Get-PSExecutionPolicy Test-PendingReboots Test-Credentials Write-Log Set-UAC Set-IEESC Set-OpenFileSecurityWarning Get-LocalFQDNHostname Set-Pagefile Set-HighPerformancePowerPlan Get-NETVersion Set-NET461InstallBlock Start-ProcessWait Get-FileVersion Disable-SSLv3 Test-PackageInstallation Get-WebPackage Start-PackageInstallation Set-RunOnceScript Extract-ZipFile New-RandomPassword New-EncryptedPassword Get-EncryptedPassword Get-CertificateSAN Get-DiskFree Invoke-ForceDelete Invoke-Using Invoke-WmiRepositoryRebuild Merge-Hashtables
Dependencies
Release Notes
*1.1.1.0
Added the Merge-Hashtables cmdlet. Changed Start-TaskSchedulerHistory to Enable-TaskSchedulerHistory (left and alias). Added alias "using" to Invoke-Using.
*1.1.0.2
Updated the progress notification for ForEach-ObjectParallel.
*1.1.0.1
Added the Invoke-WmiRepositoryRebuild cmdlet.
*1.1.0.0
Updated the Start-ProcessWait cmdlet and moved the ESENT cmdlets to their own module, which is now a dependency for this module.
*1.0.0.17
Updated manifest file.
*1.0.0.16
Updated the Convert-SecureStringToString cmdlet and added the Invoke-Using cmdlet.
*1.0.0.15
Allowed paths supplied to Invoke-ForceDelete to be dot sourced or relative.
*1.0.0.14
Added the Invoke-ForceDelete function.
*1.0.0.13
Added the Get-DiskFree function.
*1.0.0.12
Added the Get-CertificateSAN function.
*1.0.0.11
Changed the name of the Get-Package function to Get-WebPackage in order to deconflict the function name with MS provided functions in Server 2016.
*1.0.0.10
Updated how errors are displayed on Set-FileSecurity.
*1.0.0.9
Changed the path parameter for Set-Owner to a single string instead of an array. Modified Set-FileSecurity to use the SetAccessControl() method instead of Set-Acl. Added the $script:LocalNames value to use with Get-AccountSid and Get-AccountTranslatedNTName.
*1.0.0.8
Fixed a bug in the Extract-ZipFile cmdlet and the NoOverWrite parameter.
*1.0.0.7
Fixed a logic error in Write-Log
*1.0.0.6
Added Functions:
Extract-ZipFile
New-RandomPassword
New-EncryptedPassword
Get-EncryptedPassword
Enable-TaskSchedulerHistory
*1.0.0.5
Removed function:
Add-DomainUserToLocalGroup (renamed to Add-DomainMemberToLocalGroup with additonal parameters)
Added numerous additional functions:
Where-NotMatchIn
Get-AccountSid
Get-AccountTranslatedNTName
Convert-SecureStringToString
Get-LocalGroupMembers
Add-DomainMemberToLocalGroup
Get-PSExecutionPolicy
Test-PendingReboots
Test-Credentials
Write-Log
Set-UAC
Set-IEESC
Set-OpenFileSecurityWarning
Get-LocalFQDNHostname
Set-Pagefile
Set-HighPerformancePowerPlan
Get-NETVersion
Set-NET461InstallBlock
Start-ProcessWait
Get-FileVersion
Disable-SSLv3
Test-PackageInstallation
Get-Package
Start-PackageInstallation
Set-RunOnceScript
Almost all of these functions use the Write-Log function. This function can be set to use a parameter pointing to a path or you can use something like [System.Environment]::SetEnvironmentVariable("LogPath", "c:\log.txt", [System.EnvironmentVariableTarget]::Machine) to enable logging to the path.
FileList
- HostUtilities.nuspec
- HostUtilities.psd1
- HostUtilities.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.1.3.1 | 20,632 | 10/24/2017 |
| 1.1.3.0 | 47 | 10/24/2017 |
| 1.1.2.6 | 226 | 10/3/2017 |
| 1.1.2.5 | 40 | 10/2/2017 |
| 1.1.2.3 | 262 | 9/6/2017 |
| 1.1.2.2 | 31 | 9/6/2017 |
| 1.1.2.1 | 225 | 8/24/2017 |
| 1.1.1.2 | 42 | 8/22/2017 |
| 1.1.1.1 | 41 | 8/21/2017 |
| 1.1.1.0 (current version) | 32 | 8/21/2017 |
| 1.1.0.1 | 358 | 7/6/2017 |
| 1.1.0.0 | 70 | 6/27/2017 |
| 1.0.0.17 | 88 | 6/22/2017 |
| 1.0.0.13 | 535 | 4/20/2017 |
| 1.0.0.12 | 183 | 3/31/2017 |
| 1.0.0.11 | 221 | 3/4/2017 |
| 1.0.0.10 | 71 | 3/3/2017 |
| 1.0.0.9 | 41 | 3/3/2017 |
| 1.0.0.8 | 59 | 3/3/2017 |
| 1.0.0.7 | 31 | 3/3/2017 |
| 1.0.0.6 | 39 | 3/2/2017 |
| 1.0.0.5 | 30 | 3/2/2017 |
| 1.0.0.3 | 197 | 1/15/2017 |
| 1.0.0.2 | 39 | 1/11/2017 |
| 1.0.0.1 | 50 | 1/5/2017 |
| 1.0.0.0 | 86 | 11/14/2016 |
| 0.0.0.9 | 202 | 4/26/2016 |
| 0.0.0.8 | 51 | 3/31/2016 |
| 0.0.0.7 | 38 | 3/27/2016 |