How to specifies the details of the output Excel file ?
- server name
- instance name
- timestamp
The next section of code specifies the details of the output Excel file. It will take the name of the server, the name of the instance and put a timestamp on the file. The timestamp is in the file is important to know when the file was created especially when you document your servers regularly.
# Create timestamp
$timestamp = Get-Date -f yyyyddMMHHmmss
# Set the destination
$outputFile = $destination + '\MachineInformation_' + ($server).ToUpper() + '_' + ($instance).ToUpper() + '_' + $timestamp + '.xlsx'
How to specifies the details of the output Excel file ?
- server name
- instance name
- timestamp
How to specifies the details of the output Excel file ?
- server name
- instance name
- timestamp
The next section of code specifies the details of the output Excel file. It will take the name of the server, the name of the instance and put a timestamp on the file. The timestamp is in the file is important to know when the file was created especially when you document your servers regularly.
# Create timestamp
$timestamp = Get-Date -f yyyyddMMHHmmss
# Set the destination
$outputFile = $destination + '\MachineInformation_' + ($server).ToUpper() + '_' + ($instance).ToUpper() + '_' + $timestamp + '.xlsx'
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |