@ -38,6 +38,27 @@ function Get-BetterADUser {
Get-ADUser -Filter $filter -Server $Server
}
function Get-Feierabend {
param (
[Parameter(Position = 0)]
[datetime]
$Begin,
[Parameter(Position = 1)]
$PauseStart,
[Parameter(Position = 2)]
$PauseEnd,
[Parameter(Position = 3)]
[single]
$Hours = 6.5
)
$Begin.AddHours($Hours).Add($PauseEnd - $PauseStart)
function fsh {
[string]$ComputerName