最后活跃于 6 days ago

capntack 修订了这个 Gist 2 weeks ago. 转到此修订

1 file changed, 1 insertion, 1 deletion

fetch-computer-uuid.ps1

@@ -1,4 +1,4 @@
1 - :: Enter the computer name below
1 + # Enter the computer name below
2 2
3 3 $ComputerName =
4 4

capntack 修订了这个 Gist 2 weeks ago. 转到此修订

1 file changed, 3 insertions, 1 deletion

fetch-computer-uuid.ps1

@@ -1,3 +1,5 @@
1 - :: Replace $Variables with the appropriate data.
1 + :: Enter the computer name below
2 +
3 + $ComputerName =
2 4
3 5 (Get-CimInstance -Class Win32_ComputerSystemProduct -ComputerName $ComputerName).UUID

capntack 修订了这个 Gist 2 weeks ago. 转到此修订

1 file changed, 3 insertions

fetch-computer-uuid.ps1(文件已创建)

@@ -0,0 +1,3 @@
1 + :: Replace $Variables with the appropriate data.
2 +
3 + (Get-CimInstance -Class Win32_ComputerSystemProduct -ComputerName $ComputerName).UUID
上一页 下一页