Greg's sorry excuse for a tech blog.
Powershell, Sysadmin, Automation
Friday, May 3, 2013
Detect a TabletPC with Powershell
Want to programmatically detect a Tablet PC within Windows? Here are the powershell commands:
Add-Type –assemblyName PresentationFramework
[System.Windows.SystemParameters]::IsTabletPC
It will return True if a Tablet PC, False if not.
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment