May 13, 2017 - Sebastian Gräf
0
archive,date,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
 

May 2017

[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...

In this case we're going to use the method GetHostAddresses of the Dns class of the Sytem.Net namespace.For PowerShell 2.0 you can use following Windows PowerShell One Liners: Name to IP Address (DNS Forward)[crayon-5b4e42cfb93d2943723921/]IP Address to Name (DNS Reverse)[crayon-5b4e42cfb93de174604614/]As of PowerShell 3.0 you can use the method...

Okay at the end it's a simple $PSVersion wrapped in an Invoke-Command but hey these simple things are needful in case you need to run it against of 100s of servers and not just locally. With the help of Invoke-Command via WinRM and $PSVersionTable.psversion wrapped in...

Get DELL Tag and Express Service Code remotely for more than one computer. You can also commit different credentials for a specific domain.The below function Get-DellTags retrieves serials remotely from your machines. With the help of the function ConvertSerial the serial gets converted into a...

Respective Microsoft's Technet article regarding Resolve-DnsName I have created you a function with the ability to run it against more than only one computer. Resolve-DnsNames performs a DNS name query resolution for the specified name.[crayon-5b4e42cfba7f1066418352/] ...

Hi there, following function Get-ScsiDisks retrieves disk details for VMWare Guests or any computer with corresponding SCSI disk details like SCSI ID and SCSI Bus. The function concatenates objects consisting of Win32_DiskDrive, Win32_LogicalDisk and Win32_DiskDriveToDiskPartition using WMI. For WinRM you can use Invoke-Command and inject the...