Pass null rather than "localhost" to CimSession.Create
This commit is contained in:
parent
cc664bc639
commit
7ba3b50d4a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue