< Back

Import-AMHoliday

Sat Jan 11, 2020 2:47 am

NAME Import-AMHoliday



SYNOPSIS

Read the holidays.aho file into a dictionary.





SYNTAX

Import-AMHoliday [-Path] <String> [<CommonParameters>]





DESCRIPTION

This function reads in the holidays.aho file and returns a dictionary object.





PARAMETERS

-Path <String>

Path to holidays.aho file



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Collections.Hashtable





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Import-AMHoliday -Path "C:\\ProgramData\\AutoMate\\Automate Enterprise 11\\Holidays.aho"















RELATED LINKS

https://github.com/AutomatePS/AutoMatePS