PowerShell Modules

sthInvokeUsingCulture

A module for invoking commands using specified culture.

Enter-sthCulture – function enters specified culture ‘scope’. 

Invoke-sthUsingCulture – function invokes command using specified culture. 

Set-sthCulture – function sets specified culture for the current session. 

Reset-sthCulture – function resets culture for the current session to its original value.

GitHub:
https://github.com/sethvs/sthInvokeUsingCulture

PowerShell Gallery:
https://www.powershellgallery.com/packages/sthInvokeUsingCulture

Install from PowerShell:

<br />
Install-Module sthInvokeUsingCulture<br />


sthVault

A module for creating and working with vaults.

Get-sthVault – function gets existing vaults or displays content of the specified vault.

New-sthVault — function creates the vault with the properties specified.

Set-sthVaultProperty — function adds new properties or changes values of the existing properties in the vault.

Remove-sthVaultProperty — function removes specified properties from the vault.

Remove-sthVault — function removes the vault specified.

GitHub:
https://github.com/sethvs/sthVault

PowerShell Gallery:
https://www.powershellgallery.com/packages/sthVault

Install from PowerShell:

Install-Module sthVault

sthMailProfile

A module for creating mail profiles and using them to send mail messages.

Send-sthMailMessage – function sends mail message using settings from the profile specified.

New-sthMailProfile — function creates mail profile containing specified settings.

Get-sthMailProfile — function gets existing mail profiles and displays their settings.

Remove-sthMailProfile — function removes specified profiles.

GitHub:
https://github.com/sethvs/sthMailProfile

PowerShell Gallery:
https://www.powershellgallery.com/packages/sthMailProfile

Install from PowerShell:

Install-Module sthMailProfile

sthModuleScope

A module containing functions for working with elements in module’s scope.

Enter-sthModuleScope – function enters the scope of a specified module and allows to invoke command in that scope. This provides means to call internal module functions and access nonexported module variables. When you enter a module scope, command prompt changes to include the name of the module. To exit from the module scope type ‘exit’.

Get-sthModuleScopeFunction — function returns all the functions, defined in the module specified by -Module parameter, or the module, the scope of which was entered by using the Enter-sthModuleScope function. By default, Get-sthModuleScopeFunction gets all functions – public and private, but you can specify which functions you are interested in by using -PublicOnly and -PrivateOnly parameters.

Get-sthModuleScopeVariable — function returns all the variables, defined in the module specified by -Module parameter, or the module, the scope of which was entered by using the Enter-sthModuleScope function. By default, Get-sthModuleScopeVariable gets all variables – public and private, but you can specify which variables you are interested in by using -PublicOnly and -PrivateOnly parameters.

Get-sthScopeDepth — function returns current scope depth, where 0 means, that you are in the global scope, 1 – you are one scope deeper than global, 2 – you are two scopes deeper than global, etc.

GitHub:
https://github.com/sethvs/sthModuleScope

PowerShell Gallery:
https://www.powershellgallery.com/packages/sthModuleScope

Install from PowerShell:

Install-Module sthModuleScope

sthAdminSDHolder

A module for work with Active Directory groups and user accounts, protected by AdminSDHolder container.

Get-sthAdminSDHolderProtectedUserAccount – function gets Active Directory user accounts, protected by AdminSDHolder. It returns Name, SamAccountName, UserPrincipalName, whether account is enabled, adminCount attribute value, whether access rights inheritance is enabled and list of protected groups the user is member of.

Remove-sthAdminSDHolderUserAccountProtection — function removes adminCount attribute and enables access rules inheritance for the user object, that no longer belongs to groups, protected by AdminSDHolder container.

Get-sthAdminSDHolderGroup — function gets the Active Directory groups, protected by AdminSDHolder container. It returns dsHeuristics attribute value, protected groups, and also groups, excluded from protection, if any.

Disable-sthAdminSDHolderGroupProtection — function disables protection by AdminSDHolder container for Account Operators, Server Operators, Print Operators or Backup Operators groups.

Enable-sthAdminSDHolderGroupProtection — Function enables protection by AdminSDHolder container for Account Operators, Server Operators, Print Operators or Backup Operators groups.

GitHub:
https://github.com/sethvs/sthAdminSDHolder

PowerShell Gallery:
https://www.powershellgallery.com/packages/sthAdminSDHolder

Install from PowerShell:

Install-Module sthAdminSDHolder

sthPipelineTools

A module for working with and exploring PowerShell pipeline.

Get-sthPipelineCommand – function checks, whether a specified command supports pipelining.

Get-sthPipelineParameter – function discovers parameters of the specified command, that accept pipeline input and displays their Names, Aliases, Types, Parameter Sets, whether it is a default Parameter Set, whether it is a Mandatory parameter as well as supported methods of accepting pipeline input – ByValue and ByPropertyName.

GitHub:
https://github.com/sethvs/sthPipelineTools

PowerShell Gallery:
https://www.powershellgallery.com/packages/sthPipelineTools

Install from PowerShell:

Install-Module sthPipelineTools
Advertisements