Fix parameter and item type declaration
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -6,7 +6,7 @@ Param( | ||||
|  | ||||
| Function New-ToastNotification { | ||||
|     Param( | ||||
|         [Parameter] | ||||
|         [Parameter()] | ||||
|         [string]$Stream = 'OVF Properties', | ||||
|         [Parameter(Mandatory)] | ||||
|         [string]$Title, | ||||
| @@ -14,6 +14,7 @@ Function New-ToastNotification { | ||||
|         [string]$Text | ||||
|     ) | ||||
|  | ||||
|     [void][Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | ||||
|     $Template = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText02) | ||||
|  | ||||
|     $XML = [xml]$Template.GetXml() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user