Get-StartApps : The term 'Get-StartApps' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Get-WindowsAppId.ps1:5 char:10
-
(Get-StartApps -Name 'PowerShell').where({$_.Name -eq 'Window ...
-
- CategoryInfo : ObjectNotFound: (Get-StartApps:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Unable to find type [Windows.UI.Notifications.ToastNotificationManager,Windows.UI.Notifications,
ContentType=WindowsRuntime].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:43 char:13
-
$null = [Windows.UI.Notifications.ToastNotificationManager, Windo ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (Windows.UI.Noti...=WindowsRuntime:TypeName) [], RuntimeException
- FullyQualifiedErrorId : TypeNotFound
Unable to find type [Windows.Data.Xml.Dom.XmlDocument,Windows.Data.Xml.Dom.XmlDocument, ContentType=WindowsRuntime].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:44 char:13
-
$null = [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.X ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (Windows.Data.Xm...=WindowsRuntime:TypeName) [], RuntimeException
- FullyQualifiedErrorId : TypeNotFound
Unable to find type [Windows.Data.Xml.Dom.XmlDocument].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:45 char:17
-
$ToastXml = [Windows.Data.Xml.Dom.XmlDocument]::new()
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (Windows.Data.Xml.Dom.XmlDocument:TypeName) [], RuntimeException
- FullyQualifiedErrorId : TypeNotFound
You cannot call a method on a null-valued expression.
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:46 char:5
-
$ToastXml.LoadXml($XmlString)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
Unable to find type [Windows.UI.Notifications.ToastNotification].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:47 char:14
-
$Toast = [Windows.UI.Notifications.ToastNotification]::new($Toast ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (Windows.UI.Noti...astNotification:TypeName) [], RuntimeException
- FullyQualifiedErrorId : TypeNotFound
Unable to find type [Windows.UI.Notifications.ToastNotificationManager].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:50 char:9
-
[Windows.UI.Notifications.ToastNotificationManager]::CreateTo ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (Windows.UI.Noti...ficationManager:TypeName) [], RuntimeException
- FullyQualifiedErrorId : TypeNotFound
Get-StartApps : The term 'Get-StartApps' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Get-WindowsAppId.ps1:5 char:10
Unable to find type [Windows.UI.Notifications.ToastNotificationManager,Windows.UI.Notifications,
ContentType=WindowsRuntime].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:43 char:13
Unable to find type [Windows.Data.Xml.Dom.XmlDocument,Windows.Data.Xml.Dom.XmlDocument, ContentType=WindowsRuntime].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:44 char:13
Unable to find type [Windows.Data.Xml.Dom.XmlDocument].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:45 char:17
You cannot call a method on a null-valued expression.
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:46 char:5
Unable to find type [Windows.UI.Notifications.ToastNotification].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:47 char:14
Unable to find type [Windows.UI.Notifications.ToastNotificationManager].
At C:\Users\A648920\Documents\WindowsPowerShell\Modules\PoshNotify\0.1.2\Private\Pop-WindowsNotification.ps1:50 char:9