{"id":1528,"date":"2019-05-19T16:56:29","date_gmt":"2019-05-19T13:56:29","guid":{"rendered":"https:\/\/learnsystem.co.il\/?p=1528"},"modified":"2019-12-20T09:54:57","modified_gmt":"2019-12-20T07:54:57","slug":"set-time-use-for-user","status":"publish","type":"post","link":"https:\/\/learnsystem.co.il\/?p=1528","title":{"rendered":"\u05d4\u05d2\u05d3\u05e8\u05ea \u05d6\u05de\u05df \u05e2\u05d1\u05d5\u05d3\u05d4 \u05dc\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1528\" class=\"elementor elementor-1528\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-52223b6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"52223b6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d058fbe\" data-id=\"d058fbe\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d39b02a elementor-widget elementor-widget-text-editor\" data-id=\"d39b02a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u05d1\u05d0\u05d7\u05d3 \u05d4\u05e4\u05e2\u05de\u05d9\u05dd \u05d1\u05de\u05e7\u05d5\u05dd \u05d4\u05e2\u05d1\u05d5\u05d3\u05d4 \u05d4\u05ea\u05d1\u05e7\u05e9\u05ea\u05d9 \u05dc\u05d4\u05d2\u05d1\u05d9\u05dc \u05d0\u05ea \u05d6\u05de\u05df \u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05e2\u05ea \u05d7\u05d9\u05d1\u05d5\u05e8 \u05dc\u05e2\u05de\u05d3\u05d5\u05ea \u05d4\u05e2\u05d1\u05d5\u05d3\u05d4.<br>\u05d4\u05d2\u05d1\u05dc\u05ea \u05d4\u05db\u05e0\u05d9\u05e1\u05d4 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d8\u05d5\u05d1\u05d4 \u05d1\u05de\u05e7\u05e8\u05d4 \u05e9\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05de\u05e0\u05d5\u05e2 \u05de\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05dc\u05d4\u05ea\u05d7\u05d1\u05e8 \u05dc\u05de\u05e2\u05e8\u05db\u05ea \u05dc\u05d0\u05d7\u05e8 \u05e9\u05e2\u05d5\u05ea \u05d4\u05e4\u05e2\u05d9\u05dc\u05d5\u05ea (\u05d4\u05e0\u05d5\u05e9\u05d0 \u05d7\u05e9\u05d5\u05d1 \u05d1\u05e2\u05d9\u05e7\u05e8&nbsp;<span style=\"font-family: &quot;Open Sans Hebrew&quot;, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;\">\u05d1\u05d3\u05e9\u05d9 \u05d0\u05d1\u05d8\u05d7\u05ea \u05d4\u05de\u05d9\u05d3\u05e2 \u05e9\u05dc \u05d4\u05d0\u05e8\u05d2\u05d5\u05df).<\/span><br><\/p>\n<p><b>\u05dc<\/b><u><b>\u05e6\u05d5\u05e8\u05da \u05e4\u05e2\u05d5\u05dc\u05d4 \u05d6\u05d5 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05e4\u05e7\u05d5\u05d3\u05ea PowerShell \u05d4\u05d1\u05d0\u05d4:<\/b><br><\/u><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-edc25c3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"edc25c3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-27ce0d1\" data-id=\"27ce0d1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a8966ac elementor-widget elementor-widget-shortcode\" data-id=\"a8966ac\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">Import-Module ActiveDirectory\n$ou = \"ou=test,dc=LearnSystem,dc=co,dc=il\"\n[byte[]]$hours = @(192,255,0,192,255,0,192,255,0,192,255,0,192,255,0,0,0,0,0,0,0)\n$name = \"tal\"\nGet-ADUser -Identity $name | Set-ADUser -Replace @{logonhours = $hours}\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f42066b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f42066b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-749f426\" data-id=\"749f426\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b6bfbe6 elementor-widget elementor-widget-text-editor\" data-id=\"b6bfbe6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b><u>\u05e4\u05d9\u05e8\u05d5\u05d8 \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4:<\/u><\/b><\/p>\n<ol>\n<li>&nbsp;<u><b>\u05d4\u05e4\u05e7\u05d5\u05d3\u05d4 Import-Module <\/b><\/u>&#8211; \u05de\u05d2\u05d3\u05d9\u05e8\u05d4 \u05dc\u05e0\u05d5 \u05dc\u05d4\u05db\u05e0\u05d9\u05e1 \u05e4\u05e7\u05d5\u05d3\u05d4 \u05d7\u05d3\u05e9\u05d4 \u05dc-ActiveDirectory.<\/li>\n<li><u><b>\u05d4\u05e4\u05e7\u05d5\u05d3\u05d4 ou$<\/b><\/u> &#8211; \u05db\u05d0\u05df \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05d1\u05e6\u05e2\u05d9\u05dd \u05e4\u05e0\u05d9\u05d4 \u05dc\u05de\u05d7\u05d9\u05e6\u05d4 \u05d1-ActiveDirectory \u05e9\u05d1\u05d5 \u05d9\u05d5\u05e9\u05d1 \u05d0\u05d5\u05ea\u05d5 \u05d9\u05d5\u05d6\u05e8 \u05d0\u05d5\u05ea\u05d5 \u05e0\u05e8\u05e6\u05d4 \u05dc\u05d4\u05d2\u05d1\u05d9\u05dc , \u05d1\u05de\u05e7\u05e8\u05d4 \u05e9\u05dc\u05d9 \u05d4\u05d9\u05d5\u05d6\u05e8 \u05d1\u05de\u05d7\u05d9\u05e6\u05d4 \u05e9\u05e0\u05e7\u05e8\u05d0\u05ea &quot;test&quot; \u05db\u05de\u05d5\u05d1\u05df \u05d7\u05e9\u05d5\u05d1 \u05dc\u05d4\u05db\u05e0\u05d9\u05e1 \u05d0\u05ea \u05db\u05dc \u05db\u05ea\u05d5\u05d1\u05ea \u05d4\u05d3\u05d5\u05de\u05d9\u05d9\u05df \u05d1\u05d4\u05de\u05e9\u05da.<br><\/li>\n<li><u><b>\u05e4\u05e7\u05d5\u05d3\u05ea byte-hours<\/b><\/u> &#8211; \u05e4\u05e7\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05de\u05d2\u05d3\u05d9\u05e8\u05d4 \u05d1\u05d0\u05d9\u05d6\u05d4 \u05d6\u05de\u05df \u05de\u05d1\u05d7\u05d9\u05e0\u05ea \u05e9\u05e2\u05d4 \u05d1\u05d9\u05d5\u05dd \u05de\u05d5\u05ea\u05e8 \u05d0\u05d5 \u05d0\u05e1\u05d5\u05e8 \u05dc\u05de\u05e9\u05ea\u05de\u05e9 \u05dc\u05d4\u05d9\u05db\u05e0\u05e1, \u05d1\u05e4\u05e7\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05d4\u05d2\u05d3\u05e8\u05ea\u05d9 \u05e9\u05e9\u05e2\u05ea \u05d4\u05e2\u05d1\u05d5\u05d3\u05d4 \u05de\u05ea\u05d7\u05d9\u05dc\u05d4 \u05de\u05e9\u05e2\u05d4 8:00 \u05d1\u05d1\u05d5\u05e7\u05e8 \u05d5\u05e2\u05d3 \u05d4\u05e9\u05e2\u05d4 17:00 \u05d0\u05d7\u05e8 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd \u05d5\u05de\u05d5\u05ea\u05e8 \u05dc\u05de\u05e9\u05ea\u05de\u05e9 \u05dc\u05d4\u05d9\u05db\u05e0\u05e1 \u05e8\u05e7 \u05d1\u05d9\u05de\u05d9\u05dd \u05e8\u05d0\u05e9\u05d5\u05df \u05e2\u05d3 \u05d7\u05de\u05d9\u05e9\u05d9 \u05d1\u05dc\u05d1\u05d3, \u05d1\u05e9\u05d0\u05e8 \u05d4\u05d9\u05de\u05d9\u05dd (\u05e9\u05d9\u05e9\u05d9 \u05d5\u05e9\u05d1\u05ea) \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05dc\u05d0 \u05d9\u05d5\u05db\u05dc \u05dc\u05d4\u05ea\u05d7\u05d1\u05e8 \u05dc\u05de\u05e2\u05e8\u05db\u05ea.<br>\u05d4\u05d6\u05de\u05df \u05e9\u05e0\u05e8\u05e9\u05dd \u05d1\u05e4\u05e7\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05de\u05d1\u05d5\u05e1\u05e1 \u05e2\u05dc &quot;byte&quot; \u05db\u05da \u05e9\u05db\u05dc &quot;byte&quot; \u05d0\u05d7\u05d3 \u05de\u05e6\u05d9\u05d9\u05df \u05e9\u05e2\u05d4 \u05d1\u05d9\u05d5\u05dd.<br>\u05d1\u05de\u05e2\u05e8\u05db\u05ea \u05d4\u05d4\u05e4\u05e2\u05dc\u05d4 Windows \u05d4\u05d2\u05d3\u05e8\u05ea \u05d4\u05e9\u05e2\u05d5\u05df \u05de\u05ea\u05d1\u05e1\u05e1\u05ea \u05e2\u05dc &quot;UTC&quot; \u05e9\u05d4\u05d5\u05d0 \u05d4\u05d6\u05de\u05df \u05d4\u05d0\u05d5\u05e0\u05d1\u05e8\u05e1\u05dc\u05d9 \u05d4\u05d2\u05dc\u05d5\u05d1\u05dc\u05d9, \u05db\u05d0\u05e9\u05e8 \u05d1\u05d9\u05e9\u05e8\u05d0\u05dc \u05d4\u05d6\u05de\u05df \u05d4\u05de\u05d5\u05d2\u05d3\u05e8 \u05d4\u05d5\u05d0 &quot;UTC+2&quot; \u05e2\u05e7\u05d1 \u05db\u05da \u05d1\u05ea\u05de\u05d5\u05e0\u05d4 \u05d4\u05d1\u05d0\u05d4 \u05d4\u05e6\u05d2\u05ea\u05d9 \u05d0\u05d9\u05da \u05dc\u05e8\u05e9\u05d5\u05dd \u05d1\u05e6\u05d5\u05e8\u05d4 \u05d4\u05e0\u05db\u05d5\u05e0\u05d4 \u05dc\u05db\u05dc \u05d9\u05d5\u05dd \u05d0\u05ea \u05d4\u05d6\u05de\u05df \u05d4\u05de\u05d5\u05d2\u05d3\u05e8.<br><\/li>\n<\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3ca3b06 elementor-widget elementor-widget-image\" data-id=\"3ca3b06\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"181\" src=\"https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours4-1024x181.png\" class=\"attachment-large size-large wp-image-1538\" alt=\"\" srcset=\"https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours4-1024x181.png 1024w, https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours4-300x53.png 300w, https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours4-768x136.png 768w, https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours4.png 1857w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e17f12b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e17f12b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-28fac1f\" data-id=\"28fac1f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-85a6fe9 elementor-widget elementor-widget-text-editor\" data-id=\"85a6fe9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u00a04. <u><b>\u05d4\u05e4\u05e7\u05d5\u05d3\u05d4 name$<\/b><\/u> &#8211; \u05e4\u05e7\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05de\u05d2\u05d3\u05d9\u05e8\u05d4 \u05de\u05d4 \u05d4\u05e9\u05dd \u05e9\u05dc \u05d4\u05d9\u05d5\u05d6\u05e8 \u05d0\u05d5\u05ea\u05d5 \u05e0\u05e8\u05e6\u05d4 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 , \u05d1\u05de\u05e7\u05e8\u05d4 \u05e9\u05dc\u05e0\u05d5 \u05e7\u05e8\u05d0\u05ea\u05d9 \u05dc\u05d9\u05d5\u05d6\u05e8 &quot;tal&quot;.<br \/>5. <u><b>\u05d4\u05e4\u05e7\u05d5\u05d3\u05d4 Get-ADUser<\/b><\/u> &#8211; \u05e4\u05e7\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05de\u05d2\u05d3\u05d9\u05e8\u05d4 \u05ea\u05e7\u05e8\u05d9\u05d0\u05d4 \u05dc\u05e4\u05e7\u05d5\u05d3\u05d4&quot; name$ &quot;<br \/>6. <u><b>\u05d4\u05e4\u05e7\u05d5\u05d3\u05d4 Set-ADUser<\/b><\/u> &#8211; \u05e4\u05e7\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05de\u05d2\u05d3\u05d9\u05e8\u05d4 \u05dc\u05e0\u05d5 \u05dc\u05d1\u05e6\u05e2 \u05ea\u05e9\u05d9\u05e0\u05d5\u05d9 \u05e9\u05dc \u05d4\u05d7\u05dc\u05e4\u05ea \u05d4\u05e9\u05e2\u05d5\u05ea \u05d1\u05e4\u05e7\u05d5\u05d3\u05ea \u05d4\u05e9\u05e2\u05d5\u05ea \u05d4\u05d7\u05d3\u05e9\u05d4 \u05e9\u05d9\u05e6\u05e8\u05e0\u05d5.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e081682 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e081682\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-10da7cb\" data-id=\"10da7cb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d5d56a4 elementor-widget elementor-widget-image\" data-id=\"d5d56a4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"212\" src=\"https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours1-1024x212.png\" class=\"attachment-large size-large wp-image-1536\" alt=\"\" srcset=\"https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours1-1024x212.png 1024w, https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours1-300x62.png 300w, https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours1-768x159.png 768w, https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours1.png 1109w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b97c32c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b97c32c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-342a164\" data-id=\"342a164\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-595ab9a elementor-widget elementor-widget-text-editor\" data-id=\"595ab9a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u05dc\u05d0\u05d7\u05e8 \u05e9\u05d4\u05d2\u05d3\u05e8\u05e0\u05d5 \u05d0\u05ea \u05d4\u05e4\u05e7\u05d5\u05d3\u05d4 \u05d4\u05d6\u05d5 \u05d1-PowerShell\u00a0 \u05e0\u05d5\u05db\u05dc \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05e9\u05dc \u05d4\u05d9\u05d5\u05d6\u05e8 \u05ea\u05d7\u05ea logonhours \u05d5\u05e9\u05dd \u05e0\u05d5\u05db\u05dc \u05dc\u05e8\u05d0\u05d5\u05ea \u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05e7\u05d9\u05d1\u05dc \u05d4\u05d2\u05d1\u05dc\u05d4 \u05dc\u05e9\u05e2\u05d5\u05ea \u05d4\u05db\u05e0\u05d9\u05e1\u05d4 \u05d1\u05d9\u05de\u05d9\u05dd \u05e8\u05d0\u05e9\u05d5\u05df \u05e2\u05d3 \u05d7\u05de\u05d9\u05e9\u05d9 \u05d1\u05dc\u05d1\u05d3 \u05d1\u05d9\u05df \u05d4\u05e9\u05e2\u05d5\u05ea 08:00 \u05d5\u05e2\u05d3 17:00.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3cb2cb9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3cb2cb9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7473a20\" data-id=\"7473a20\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-860a259 elementor-widget elementor-widget-image\" data-id=\"860a259\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"757\" height=\"484\" src=\"https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours2.png\" class=\"attachment-large size-large wp-image-1539\" alt=\"\" srcset=\"https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours2.png 757w, https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/loghours2-300x192.png 300w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e67882a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e67882a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8b38117\" data-id=\"8b38117\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ed9f090 elementor-button-success elementor-align-center elementor-widget elementor-widget-button\" data-id=\"ed9f090\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-md\" href=\"https:\/\/github.com\/yonioliel\/logonhours\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fab fa-github\"><\/i>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">\u05dc\u05d4\u05d5\u05e8\u05d3\u05ea \u05d4-Script \u05d1- Github<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u05d1\u05d0\u05d7\u05d3 \u05d4\u05e4\u05e2\u05de\u05d9\u05dd \u05d1\u05de\u05e7\u05d5\u05dd \u05d4\u05e2\u05d1\u05d5\u05d3\u05d4 \u05d4\u05ea\u05d1\u05e7\u05e9\u05ea\u05d9 \u05dc\u05d4\u05d2\u05d1\u05d9\u05dc \u05d0\u05ea \u05d6\u05de\u05df \u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05e2\u05ea \u05d7\u05d9\u05d1\u05d5\u05e8 \u05dc\u05e2\u05de\u05d3\u05d5\u05ea \u05d4\u05e2\u05d1\u05d5\u05d3\u05d4.\u05d4\u05d2\u05d1\u05dc\u05ea \u05d4\u05db\u05e0\u05d9\u05e1\u05d4 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d8\u05d5\u05d1\u05d4 \u05d1\u05de\u05e7\u05e8\u05d4 \u05e9\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05de\u05e0\u05d5\u05e2 \u05de\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05dc\u05d4\u05ea\u05d7\u05d1\u05e8 \u05dc\u05de\u05e2\u05e8\u05db\u05ea \u05dc\u05d0\u05d7\u05e8 \u05e9\u05e2\u05d5\u05ea \u05d4\u05e4\u05e2\u05d9\u05dc\u05d5\u05ea (\u05d4\u05e0\u05d5\u05e9\u05d0 \u05d7\u05e9\u05d5\u05d1 \u05d1\u05e2\u05d9\u05e7\u05e8&nbsp;\u05d1\u05d3\u05e9\u05d9 \u05d0\u05d1\u05d8\u05d7\u05ea \u05d4\u05de\u05d9\u05d3\u05e2 \u05e9\u05dc \u05d4\u05d0\u05e8\u05d2\u05d5\u05df). \u05dc\u05e6\u05d5\u05e8\u05da \u05e4\u05e2\u05d5\u05dc\u05d4 \u05d6\u05d5 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05e4\u05e7\u05d5\u05d3\u05ea PowerShell \u05d4\u05d1\u05d0\u05d4: Import-Module ActiveDirectory $ou = &quot;ou=test,dc=LearnSystem,dc=co,dc=il&quot; [byte[]]$hours = @(192,255,0,192,255,0,192,255,0,192,255,0,192,255,0,0,0,0,0,0,0) $name = &quot;tal&quot; Get-ADUser -Identity [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1467,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[51],"tags":[61,59,58],"class_list":["post-1528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-gpo","tag-powershell","tag-windows"],"blocksy_meta":[],"jetpack_featured_media_url":"https:\/\/learnsystem.co.il\/wp-content\/uploads\/2019\/05\/icon-powershell.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=\/wp\/v2\/posts\/1528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1528"}],"version-history":[{"count":8,"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=\/wp\/v2\/posts\/1528\/revisions"}],"predecessor-version":[{"id":1794,"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=\/wp\/v2\/posts\/1528\/revisions\/1794"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=\/wp\/v2\/media\/1467"}],"wp:attachment":[{"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learnsystem.co.il\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}