Powershell Replace column data
<p>I have the following command:</p>

<pre><code> $WSUSClients = Get-WsusComputer | Select-Object FullDomainName, OSDescription, LastSyncResult, RequestedTargetGroupName
 $WSUSClients | ForEach-Object {$_.FullDomainName -replace ('.corp.com','')} | Set-Content 'C:\Script\WSUS Clients\WSUSclients.csv'
</code></pre>

<p>Last part it not correct I want to replace the .corp.com from the column FullDomainname and still leave the other columns but don't get this working.</p>