Score:0

Powershell DSC for installing

cn flag

0

I have the configuration for installing the Azure backup agent and I need to add my own custom records to the appropriate Windows Event log, so I use the following code:

Log LogExample{
  DependsOn = "[user]backup"
  Message = 'This message will appear in the Microsoft-Windows-Desired State Configuration/Analytic event log.'
}

but this event I can't find in the event log.

I don't know how I should delete all files/folders that were used during the installation process.

 Package AzureBackupSetup {
    Name = 'Microsoft Azure Recovery Services Agent'
    ProductId = 'FFE6D16C-3F87-4192-AF94-DDBEFF165106'
    Path = "https://download.microsoft.com/download/5/7/1/571eac65-87a9-4e14-948b-d1251af57f52/MARSAgentInstaller.exe"
    Arguments = '/q /m'
    Ensure = 'Present'
 }

Finally, I don't know how to revert my local computer to its initial state.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.