{"id":2426,"date":"2021-05-10T22:00:00","date_gmt":"2021-05-10T20:00:00","guid":{"rendered":"https:\/\/www.mosi.at\/ikt\/?p=2426"},"modified":"2021-05-15T00:35:44","modified_gmt":"2021-05-14T22:35:44","slug":"mit-powershell-pnp-geraete-auslesen","status":"publish","type":"post","link":"https:\/\/www.mosi.at\/ikt\/2021\/05\/10\/mit-powershell-pnp-geraete-auslesen\/","title":{"rendered":"Mit Powershell: PnP-Ger\u00e4te auslesen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Unter Windows k\u00f6nnen die Plug and Play (PnP) Ger\u00e4te mit der PowerShell ausgelesen werden: <br>Quellen:<br><a rel=\"noreferrer noopener\" href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/pnpdevice\/get-pnpdevice?view=windowsserver2019-ps\" target=\"_blank\">Microsoft Docs Get-PnPDevice<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-PnpDevice<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">um die Ger\u00e4te weiter einzugrenzen kann folgendes Kommando verwendet weden:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-PnpDevice -PresentOnly | Where-Object {$_.Class -ne \"VolumeSnapshot\"} | Sort-Object FriendlyName, Class, Status  | FT -AutoSize<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Status   Class             FriendlyName                                              InstanceId\n------   -----             ------------                                              ----------\nOK                                                                                   HTREE\\ROOT\\0\nOK       AudioEndpoint     2 - IPS235 (AMD High Definition Audio Device)             SWD\\MMDEVAPI\\{0.0.0.00000000}.{A751AF6B-1DDE-45D7-B430-23AF9E3F95F9}\nOK       Computer          ACPI x64-basierter PC                                     ROOT\\ACPI_HAL\\0000\nOK       System            ACPI-Einschaltknopf                                       ACPI\\PNP0C0C\\AA\nOK       System            ACPI-Schalter                                             ACPI\\FIXEDBUTTON\\2&amp;DABA3FF&amp;0\nOK       System            AMD GPIO Controller                                       ACPI\\AMDIF030\\0\n...\n...\n...<\/code><\/pre>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Unter Windows k\u00f6nnen die Plug and Play (PnP) Ger\u00e4te mit der PowerShell ausgelesen werden: Quellen:Microsoft Docs Get-PnPDevice um die Ger\u00e4te weiter einzugrenzen kann folgendes Kommando verwendet weden:<\/p>\n","protected":false},"author":2,"featured_media":2433,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_front_end_style_editor":"no","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","osp_disable_panel":"default","osh_disable_topbar_sticky":"default","osh_disable_header_sticky":"default","osh_sticky_header_style":"default","osh_sticky_header_effect":"","osh_custom_sticky_logo":0,"osh_custom_retina_sticky_logo":0,"osh_custom_sticky_logo_height":0,"osh_background_color":"","osh_links_color":"","osh_links_hover_color":"","osh_links_active_color":"","osh_links_bg_color":"","osh_links_hover_bg_color":"","osh_links_active_bg_color":"","osh_menu_social_links_color":"","osh_menu_social_hover_links_color":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[9,11,20,18,10,16],"tags":[],"class_list":["post-2426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-__news","category-betriebssysteme","category-power-shell","category-scripts","category-software","category-windows","entry","has-media"],"_links":{"self":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/comments?post=2426"}],"version-history":[{"count":5,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2426\/revisions"}],"predecessor-version":[{"id":2453,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2426\/revisions\/2453"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/media\/2433"}],"wp:attachment":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/media?parent=2426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/categories?post=2426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/tags?post=2426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}