no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | en:services:storage_services:backup:tsm:admin:powershell [2019/02/19 09:50] (current) – created bnachtw | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== A collection of PS commands for TSM / ISP ====== | ||
+ | ===== getting Hardware information ===== | ||
+ | * get WWN of installed FC-HBA < | ||
+ | ===== chaning credentials of windows services ===== | ||
+ | Ordinarily the '' | ||
+ | |||
+ | so the solution is a combination of both: getting all services to be changed and put them into an array and then run a for loop on this array: | ||
+ | |||
+ | $id=< | ||
+ | $pw=< | ||
+ | $svs=(Get-Service | Where-Object {$_.DisplayName -like "TSM Client SCHEDULER*" | ||
+ | foreach ($sv in $svs) | ||
+ | { | ||
+ | sc.exe config $sv obj= " | ||
+ | Restart-Service -Name " | ||
+ | echo $sv; | ||
+ | } | ||
+ | |||
+ | consider: the '' |