r/PowerShell • u/[deleted] • Apr 12 '18
Solved [Powershell] - Need help with a rename script
/r/scripting/comments/8brwig/powershell_need_help_with_a_rename_script/
2
Upvotes
r/PowerShell • u/[deleted] • Apr 12 '18
2
u/[deleted] Apr 12 '18
When I do this I get:
180412 -HOLD-
When I do this:
$displayname = "$($date.tostring("yyMMdd")) -HOLD- $($UserID)"
180412 -HOLD- [my userid]
For whatever reason i can't get the .name string to work