Pass null rather than "localhost" to CimSession.Create
This commit is contained in:
parent
cc664bc639
commit
7ba3b50d4a
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ namespace Microsoft.PowerShell.Commands
|
||||||
|
|
||||||
#region Static Data and Constants
|
#region Static Data and Constants
|
||||||
private const string activity = "Get-ComputerInfo";
|
private const string activity = "Get-ComputerInfo";
|
||||||
private const string localMachineName = "localhost";
|
private const string localMachineName = null;
|
||||||
#endregion Static Data and Constants
|
#endregion Static Data and Constants
|
||||||
|
|
||||||
#region Instance Data
|
#region Instance Data
|
||||||
|
|
Loading…
Reference in a new issue