Server Archives - Sebastian Gräf
110
archive,category,category-server,category-110,ajax_fade,page_not_loaded,,side_area_uncovered_from_content,qode-theme-ver-15.0,qode-theme-bridge,wpb-js-composer js-comp-ver-5.4.7,vc_responsive
 

Server

You can do everything with PowerShell, yes as well locking your workstation with one simple function call. The function uses the API by importing the user32.dll and is being invoked to lock the workstation. Thanks to Mike Pfeiffer from TechNet for this simple but useful...

As published in my Technet Gallery Script Center here, you can get current timezones remotely via PowerShell with Get-Timezones. Get-Timezones is using WMI to communicate with your servers.[crayon-5b4e3fcc50d45491937031/]This will give you following output:With Set-Timezone you can set timezones remotely. If you need to disable automatic daylight saving time...

If you're searching for Windows Server Licensing and Activation Details of your Windows machine you can use following statements[crayon-5b4e3fcc51462726775954/]which will give you following output If you're searching for some other details like your client machine ID (CMID) you can use following statement[crayon-5b4e3fcc5146a809188260/]which will give you...

Open PowerShell or Commmand Shell, enter following[crayon-5b4e3fcc5196c752246782/]This will open your device manager with the ability to show hidden devices. Click on View and select "Show hidden devices".Select your hidden device you need to remove, right click and select uninstall. That's it!In case you need to...

[vc_row row_type="none" type_width="full_size" box_size_states="content_box_size" el_class="" row_fit_to_height="no" row_vertical_align="no" row_equal_column_heigh="no" row_content_vertical_align="0" row_padding_top="45" row_padding_bottom="45" row_padding_right="0" row_padding_left="0" row_margin_top="0" row_margin_bottom="0" background_color="rgba(255, 255, 255, 0)" row_webm_url="" row_mp4_url="" background_color_image="rgba(0,0,0,0.2)" row_image_position="default" row_bg_image_size_tab_image="cover" row_bg_repeat_image_gp="no" first_color="#000" second_color="#000" row_gradient_color="pixflow_base64eyJjb2xvcjEiOiIjZmZmIiwiY29sb3IyIjoicmdiYSgyNTUsMjU1LDI1NSwwKSIsImNvbG9yMVBvcyI6IjAuMDAiLCJjb2xvcjJQb3MiOiIxMDAuMDAiLCJhbmdsZSI6MH0=" row_image_position_gradient="fit" row_bg_image_size_tab_gradient="cover" row_bg_repeat_gradient_gp="no" row_inner_shadow="no" row_sloped_edge="no" row_slope_edge_position="top" row_sloped_edge_color="#000" row_sloped_edge_angle="-3" parallax_status="no" parallax_speed="1"][vc_column][md_text md_text_title1="" md_text_title_separator="no"]As described in one of my...

Every System Administrator comes into a situation where you want to see who and how many users were logged on to your servers either via Remote Desktop or via script. This little function evaluates the System log with the help of Get-EventLog and delivers you...

[vc_row][vc_column][md_text md_text_title1="" md_text_title_separator="no"]While using SQL AlwaysOn in connection with a third node on a different location as a DR solution, the third node is needed only in case there is a real Disaster Recovery. For this purpose in most cases a manual intervention/failover is needed...