Matthew DeGarmo
Matthew DeGarmo
> The problem is quite simple. `Get-Dependency.ps1`, line:283: > > ```powershell > elseif( $DependencyHash -is [string] -and > $Dependency -notmatch '/' -and > -not $DependencyType -or > $DependencyType -eq 'PSGalleryModule')...
Dadgummit.. I should have done a search before making this issue. It looks like it's not supported yet. https://stackoverflow.com/questions/53982764/send-files-to-microsoft-teams-using-webhook#53984068
Good call.. I wrote this function to fix this... ```powershell #Region Invoke-EscapeCharacters Function Invoke-EscapeCharacters() { [CmdletBinding()] Param( [Parameter()] [Char] $Character, [Parameter(Mandatory)] [System.String] $InputString ) Process { [System.String] $Character = $Character.ToString()...
How exactly would you do this for the whole Text at once? o.O
Let me make a few changes.. Thanks for the feedback!
ce72816 takes care of the excess Json conversions, but it doesn't resolve the extra looping issue. Would your script hashtable method need to edit every file that takes a text...
How would we specify which regions on each section were needing to be escaped? I can't imagine that making a switch for each section would be a good idea. ie...
Here's a thought. On each cmdlet that takes text input, we create a `[System.String[]]` `-DisableMarkdown` with a `[ValidateSet()]` containing the non-Uri parameters for that cmdlet. We then only filter the...
If it's only a cmdlet that takes in one value, then I think we would add our `-DisableFormatting` parameter as a switch instead. Each implimentation of this parameter on each...
Yeah, this would be a very manual, "Open each cmd, see how text entries are handled, and add support for escaping those entries if specified"... Additionally, what if someone only...