Tweak new-password function to allow for no special characters option.
Added function 'new-password' which makes use of Scramble-String and Get-RandomCharacter. This is for generating a random string of characters suitable for passwords.
Make Timeout for Get-UsersIDM configurable
Fixed bug in Send-SplunkHEC when eventData was a PSCustomObject. Changed code to make copy of metadata hashtable rather than modifying in place Renamed Host parameter in Send-SplunkHEC to EventHost (and added alias for backwards compatiblity)
Modifed send-SplunkHEC to retry if the initial invoke-restMethod fails
Added an optional JsonDepth parameter to Send-SplunkHEC to specify how data is converted to JSON.
Added function to return current time in Epoch time, useful for Splunk logging
Increased granularity of time in Send-SplunkHEC
Added 2 functions Send-SplunkHEC and Get-UsersIDM
Get-WebReqErrorDetails takes the Error thrown by Invoke-Webrequest or Invoke-RestMethod and returns JSON Responsbody data. This currently only works if the data is JSON. The reason is to use this is for debugging. The standard Error response obscures this information and makes it a pain to get at.