Could someone plz guide me to create a one liner PS Command for the following 3 commands?
++++++++++++++++++++++++++++++++++++++++++++
$a = New-Object -ComObject Microsoft.SMS.Client
$a.SetAssignedSite($a.AutoDiscoverSite())
$a.ResyncPolicy()
++++++++++++++++++++++++++++++++++++++++++++
The reason why I am looking for a one liner is because I want to avoid creating / updating a OSD package for the script.
Thanks in advance.
Regards
Feroze