The MASM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
MASM32 Downloads
Home
Help
Search
Login
Register
The MASM Forum
»
Miscellaneous
»
Miscellaneous Projects
»
Powershell Create File with Date and Time in it
« previous
next »
Print
Pages: [
1
]
Author
Topic: Powershell Create File with Date and Time in it (Read 4063 times)
herge
Member
Posts: 477
Powershell Create File with Date and Time in it
«
on:
March 02, 2013, 07:35:32 AM »
Hi Rubber Duck Fans:
Code:
[Select]
get-date -format F | add-content filename.asm
Expected Output in Filename.asm
Code:
[Select]
Friday, March 01, 2013 3:23:50 PM
If you call it twice it adds a new line to filename.asm
with the date and time in the long format.
Regards herge
Logged
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.
Print
Pages: [
1
]
« previous
next »
The MASM Forum
»
Miscellaneous
»
Miscellaneous Projects
»
Powershell Create File with Date and Time in it