Backup MS Server Config

Hi Guys, I’m a total newbie to MS Server admin.

Can anyone recommend a good tutorial for backing up Server configs and Group Policy? on 2016 and 2012?

Thanks,

1 Like

We have a section in Module 1 for Windows Server Backup. You will probably want to do that if you want to self manage your own backups.

You can use Windows Server Backup for everything from file backups to entire server backups.

1 Like

Excellent, thanks Paul.

Is it possible to export the roles and features of an existing server to XML?

Try Get-WindowsFeature | ConvertTo-Xml

1 Like

Thank you!

Got them with this,

Get-WindowsFeature | Where Installed

Managed to export to XML file with this command,

Get-WindowsFeature | ConvertTo-Xml | Export-cliXML -Path “C:\temp\WindowsFeatures.xml”

1 Like

After further reflection, looks like this one gets all windows features!

Get-WindowsFeature | ConvertTo-Xml | Export-cliXML -Path “C:\temp\WindowsFeatures.xml”

I thought the XML file was big! :slight_smile:

This command does the job nicely…

Get-WindowsFeature | Where Installed | Export-cliXML -Path “C:\temp\WindowsFeatures.xml”

1 Like

Nice! Thanks for sharing your solution.

1 Like