Unicode support & different delimiters #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice if this script also support Unicode.
Import-Csv support both of these flags. It should be easy to pass them through from Add-TeamMembers to Import-Csv
Branch feature/issue-10 created!
Hi @pjrandewijk!
Would I be correct in assuming the flags you mean are
-Delimiterand-Encoding?Version 2.2.0 is available at https://www.powershellgallery.com/packages/TeamsUserEnroller/2.2.0
@luketainton Thank you very much. Sorry for the late reply. It seems my notifications is configured incorrectly. Yes, it is those two parameters you mentioned, are
-Delimiterand-Encoding?@pjrandewijk You're welcome 😄
Please let me know if you have any issues v2.2.0/v2.2.1 (which I released to include auto-updating), or if you have any more suggestions.
How do you call the function?
Import-TeamsUsers -File C:\<path to csv file> -Encoding Unicode -Delimiter ";"Try this:
Import-TeamsUsers -File C:\<path to csv file> -Encoding 'Unicode' -Delimiter ';'I think the
-Encodingflag takes a string literal so it might need to be wrapped in single quotes.I think I still maybe have the old version. How do I upgrade/update to the newer one. I get the following error message:
Should be able to update with
Update-Module -Name TeamsUserEnroller -RequiredVersion 2.2.1 -ForceHmmm, now I get:
I have quit PowerShell and Quit Teams, but to no avail. There should be an easier way without rebooting though...
This is usually because the module is loaded, so this might do the trick:
Hmmm, no joy.
Maybe
Remove->Uninstallmight work: