mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Pass null rather than "localhost" to CimSession.Create
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
|
||||
#region Static Data and Constants
|
||||
private const string activity = "Get-ComputerInfo";
|
||||
private const string localMachineName = "localhost";
|
||||
private const string localMachineName = null;
|
||||
#endregion Static Data and Constants
|
||||
|
||||
#region Instance Data
|
||||
|
||||
Reference in New Issue
Block a user