1Y0-301 · Question #37
Which PowerShell cmdlet will reset StoreFront to the initial factory settings once the StoreFront server is removed from an existing server group?
The correct answer is A. Clear-DSConfiguration. The Clear-DSConfiguration cmdlet is the correct tool to reset a StoreFront server to factory defaults after it has been removed from a server group.
Question
Which PowerShell cmdlet will reset StoreFront to the initial factory settings once the StoreFront server is removed from an existing server group?
Options
- AClear-DSConfiguration
- BClear-WebConfiguration
- CRemove-SFServiceMetadata
- DRemove-SFServerFromCluster
How the community answered
(26 responses)- A88% (23)
- C4% (1)
- D8% (2)
Why each option
The Clear-DSConfiguration cmdlet is the correct tool to reset a StoreFront server to factory defaults after it has been removed from a server group.
Clear-DSConfiguration is the StoreFront PowerShell cmdlet specifically designed to wipe the existing StoreFront configuration and restore the server to its initial factory state. This is the required step after using Remove-SFServerFromCluster to remove a server from a group, ensuring no residual configuration data remains before reconfiguring the server.
Clear-WebConfiguration is an IIS PowerShell cmdlet used to clear IIS configuration sections and is not part of the StoreFront SDK.
Remove-SFServiceMetadata removes StoreFront service metadata entries but does not perform a full factory reset of the server configuration.
Remove-SFServerFromCluster removes a server from an existing server group but does not reset the remaining configuration to factory defaults.
Concept tested: StoreFront PowerShell SDK factory reset cmdlet
Source: https://docs.citrix.com/en-us/storefront/current-release/configure-using-configuration-files/storefront-powershell-sdk.html
Topics
Community Discussion
No community discussion yet for this question.