This is my first topic, so I would like to share a simple way to retrieve the smstslogs automatically during an OSD TS.
Sometime, we can't stay in front of the computer during the TS, so, it's interesting to retrieve the logs on a share. We can do this by adding a group of tasks at the end of the TS like this :
Then, We are going to add a task in general category "Connect to Network Folder" :
You'll have to parameter the network folder path, the letter of the drive network path ("M:" in this example), and the account.
Next step, we are going to use the TS Variable %_SMSTSMachineName% to create a folder in the network folder. The folder will have the name of the computer we are deploying :
.
For the last step, we are going to copy the logs to the folder with the command : "cmd.exe /c copy %_SMSTSLogPath% M:\%_SMSTSMachineName%" :
Before to advertise the TS, we have to check that every groups of the TS have the option "Continue on error" checked.
At the end of your deployment (in error or not), you can check the logs.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hello,
This is my first topic, so I would like to share a simple way to retrieve the smstslogs automatically during an OSD TS.
Sometime, we can't stay in front of the computer during the TS, so, it's interesting to retrieve the logs on a share. We can do this by adding a group of tasks at the end of the TS like this :
Then, We are going to add a task in general category "Connect to Network Folder" :
You'll have to parameter the network folder path, the letter of the drive network path ("M:" in this example), and the account.
Next step, we are going to use the TS Variable %_SMSTSMachineName% to create a folder in the network folder. The folder will have the name of the computer we are deploying :
.
For the last step, we are going to copy the logs to the folder with the command : "cmd.exe /c copy %_SMSTSLogPath% M:\%_SMSTSMachineName%" :
Before to advertise the TS, we have to check that every groups of the TS have the option "Continue on error" checked.
At the end of your deployment (in error or not), you can check the logs.
Hope that will help you.
Gregory B
Share this post
Link to post
Share on other sites