Add-Computer -DomainName corp.contoso.com
I've found the FQDN is required in my environment.
It will also prompt for the credentials.
Get-MessageTrace -SenderAddress kukuri@internetcompany.com -StartDate 12/20/2017 -EndDate
12/22/2017 | Select-Object received, recipientaddress, subject | Export-Csv report-csv.csv
Since cd
is an alias for Set-Location
, you can change directory to the UNC path like so:
cd \\server\share
Rename-Computer WS-238SH67
Renames nicely in Active Directory as well.
Restart-Computer
Get-PhysicalDisk