且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用PowerShell获取名称末尾没有ID的用户名

更新时间:2023-11-26 11:11:58

您好

虽然你发错了地方。

我认为你修改的


id是一个局部变量,如果你只是想找到空数字文件并添加000000,只需将000000附加到if条件中的文件名。
id you modified is a local variable and if you just want to find the empty number file and add 000000, just append 000000 to the file name in the if condition.