Updated sample to include a cmdlet-based, and config-based script example.