Skip to content

schbm/posh-comp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

posh-comp

Compilation of 'useful' posh helpers i wrote for work.

There is a possibility that some functions need some change to get them working because they are more or less directly copied from work.

More may follow if i am not too lazy to edit them for public use.

Windows

Get-LeaseInfoFromMac

This function searches for an IP lease on the DHCP servers based on the supplied MAC address. It returns a PSCustomObject with the following fields: Lease (the found lease object), ServerDns (DNS name of the DHCP server where the lease resides), and ServerIp (IP address of the DHCP server).

Get-InstalledDotNetVersions

Returns installed .NET versions by registry.

Get-UIChoicePrompt

Prompts a closed question with the ability to decide.

Veeam (V11a)

Export-VbrHlthScheduleCsv

Export veeam the health check options to csv file. (Editing required, DSS and Copy jobs are excluded)

Import-VbrHlthScheduleCsv

Import veeam the health check options from exported csv file (directly apply settings to the jops).

Get-VbrBackupCount

Util

Foreach-ObjectFast

Improved version of the foreach-object cmdlet. Without the unnesecary overhead.

Where-ObjectFast

Improved version of the where-object cmdlet. Without the unnesecary overhead.

Skype for Business (15)

New-SfbNumberReport Is a legacy script for generating HTML reports of the telephone number usage in a skype for business env given a respective number inventory.

IO

Get-Encoding

Get file encoding. (Legacy)

About

Compilation of 'useful' posh func's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published