Pass null rather than "localhost" to CimSession.Create
This commit is contained in:
jeffbi 2017-02-08 08:40:56 -08:00 committed by Mike Richmond
parent cc664bc639
commit 7ba3b50d4a

View file

@ -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