From e9df7cde0f8d58cc52f67cdd1e7eba625c0c2565 Mon Sep 17 00:00:00 2001 From: Katie Keim Date: Thu, 2 Feb 2017 17:28:42 -0800 Subject: [PATCH] Add NT Service to list of local scopes --- DscResources/MSFT_GroupResource/MSFT_GroupResource.psm1 | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DscResources/MSFT_GroupResource/MSFT_GroupResource.psm1 b/DscResources/MSFT_GroupResource/MSFT_GroupResource.psm1 index 8f27b28..a2ec986 100644 --- a/DscResources/MSFT_GroupResource/MSFT_GroupResource.psm1 +++ b/DscResources/MSFT_GroupResource/MSFT_GroupResource.psm1 @@ -2156,7 +2156,7 @@ function Test-IsLocalMachine $Scope ) - $localMachineScopes = @( '.', $env:computerName, 'localhost', '127.0.0.1', 'NT Authority' ) + $localMachineScopes = @( '.', $env:computerName, 'localhost', '127.0.0.1', 'NT Authority', 'NT Service' ) if ($localMachineScopes -icontains $Scope) { diff --git a/README.md b/README.md index 54c51ef..1ad3a59 100644 --- a/README.md +++ b/README.md @@ -506,7 +506,7 @@ The following parameters will be the same for each process in the set: * WindowsProcess: Minor updates to integration tests * Registry: Fixed support for forward slashes in registry key names * Group: - * Group members in the "NT Authority" scope should now be resolved without an error. If you were seeing the error "Exception calling ".ctor" with "4" argument(s): "Server names cannot contain a space character."", this fix should resolve that error. + * Group members in the "NT Authority" and "NT Service" scopes should now be resolved without an error. If you were seeing the errors "Exception calling ".ctor" with "4" argument(s): "Server names cannot contain a space character."" or "Exception calling ".ctor" with "2" argument(s): "Server names cannot contain a space character."", this fix should resolve those errors. If you are still seeing one of the errors, there is probably another local scope we need to add. Please let us know. * The resource will no longer attempt to resolve group members if Members, MembersToInclude, and MembersToExclude are not specified. * Added Environment