-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from PowerShell/dev
Release of version 3.0.0.0 of xComputerManagement
- Loading branch information
Showing
27 changed files
with
4,508 additions
and
1,596 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[ClassVersion("1.0.1.0"), FriendlyName("xComputer")] | ||
class MSFT_xComputer : OMI_BaseResource | ||
{ | ||
[key] string Name; | ||
[write] string DomainName; | ||
[write] string JoinOU; | ||
[read] string CurrentOU; | ||
[write,EmbeddedInstance("MSFT_Credential")] String Credential; | ||
[write,EmbeddedInstance("MSFT_Credential")] String UnjoinCredential; | ||
[write] string WorkGroupName; | ||
[Key, Description("The desired computer name.")] String Name; | ||
[Write, Description("The name of the domain to join.")] String DomainName; | ||
[Write, Description("The distinguished name of the organizational unit that the computer account will be created in.")] String JoinOU; | ||
[Write, Description("Credential to be used to join a domain."), EmbeddedInstance("MSFT_Credential")] String Credential; | ||
[Write, Description("Credential to be used to leave a domain."), EmbeddedInstance("MSFT_Credential")] String UnjoinCredential; | ||
[Write, Description("The name of the workgroup.")] String WorkGroupName; | ||
[Write, Description("The value assigned here will be set as the local computer description.")] String Description; | ||
[Read, Description("A read-only property that specifies the organizational unit that the computer account is currently in.")] String CurrentOU; | ||
}; |
18 changes: 18 additions & 0 deletions
18
DSCResources/MSFT_xComputer/en-US/MSFT_xComputer.strings.psd1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ConvertFrom-StringData @' | ||
GettingComputerStateMessage = Getting computer state for '{0}'. | ||
SettingComputerStateMessage = Setting computer state for '{0}'. | ||
SettingComputerDescriptionMessage = Setting computer description to '{0}'. | ||
RenamedComputerMessage = Renamed computer to '{0}'. | ||
RenamedComputerAndJoinedDomainMessage = Renamed computer to '{0}' and added to the domain '{1}'. | ||
JoinedDomainMessage = Added computer to domain '{0}'. | ||
RenamedComputerAndJoinedWorkgroupMessage = Renamed computer to '{0}' and addded to workgroup '{1}'. | ||
JoinedWorkgroupMessage = Added computer to workgroup '{0}'. | ||
CredentialsNotSpecifiedError = Must to specify credentials with domain. | ||
TestingComputerStateMessage = Testing computer state for '{0}'. | ||
CheckingComputerDescriptionMessage = Checking if computer description is '{0}'. | ||
CheckingDomainMemberMessage = Checking if the machine is a member of domain '{0}'. | ||
CheckingNotDomainMemberMessage = Checking if the machine is a not a member of a domain. | ||
CheckingWorkgroupMemberMessage = Checking if the machine is a member of workgroup '{0}'. | ||
DomainNameAndWorkgroupNameError = Only DomainName or WorkGroupName can be specified at once. | ||
ComputerNotInDomainMessage = This machine is not a domain member. | ||
'@ |
Oops, something went wrong.