@JJ-Fullmer Thanks for your great work!
Best posts made by Chris Whiteley
-
RE: Fog "Deploy Image" Menu Reorder
@Wayne-Workman Thanks for the response. I ended up renumbering the image name to include 01. through 14 and that did sort them. I appreciate the quick thinking and that fixes my issue!
-
RE: Client with too many mac addresses
@wayne-workman This fixed it! Thank you!
-
RE: Hiren's Boot CD 1.0.1 UEFI iso Question
@george1421 Thanks for the response. I think I might’ve actually figured it out. If you Legacy PXE boot, it errors out on a UEFI based machine. However, if you use the Network Stack PXE boot (UEFI), it will correctly boot. The DVD does work for both UEFI and Legacy. I don’t know why I didn’t think to try that first.
Thanks for the help!
-
RE: Issue with the "Deploy Image" option
@george1421 You are the man! That was it! I made the changes and the menu came up. It was the - before the Windows 10 1809 - Office 2013 image
-
FOG API add snapin, run task and then delete
Through the API, I am looking to be able to add a snapin task to a host and then run the task and then delete the snapin from the host all via powershell. Is there a way to do this? Here is what I have so far:
####################################################################################################################### # Configure the variables below for the Fog Server ####################################################################################################################### #FogServer $fogApiToken = 'ABCDE' $fogUserToken = 'FGHIJ' $fogServer = "192.168.1.100" $headers = @{}; $headers.Add('fog-api-token', $fogApiToken); $headers.Add('fog-user-token', $fogUserToken); $baseUri = "http://$fogServer/fog" #Shows the Deploy Task ID $TasktypesURL = $baseUri + "/tasktype" $TasktypesResult = Invoke-RestMethod -Uri $TaskTypesURL -Method GET -Headers $headers -ContentType "application/json" $TasktypeID = ($TasktypesResult.tasktypes | Select-object name,id | Where-object {$_.name -eq "Single Snapin"}).id #Get Snapin List From Fog Server $SnapinURL = $baseUri+"/snapin/" $SnapinResult = Invoke-RestMethod -Uri $SnapinURL -Method GET -Headers $headers -ContentType "application/json" $Snapin = $SnapinResult.snapins | Select-object id,name | Where-object {$_.name -eq "Remote Settings"} #GetHost List from fog Server $HostURL = $baseUri +"/host/" $HostResult = Invoke-RestMethod -Uri $HostURL -Method GET -Headers $headers -ContentType "application/json" #Get Specific Host from FOG Server $HostURL = $baseUri +"/host/" $Results = Invoke-RestMethod -Uri $HostURL -Method GET -Headers $headers -ContentType "application/json" $Hosts = $Results.hosts $SpecificHost = $Hosts | where name -match "Computer Name" #Start an Image $SnapinID = $Snapin.id $HostID = $specifichost.id $TaskURL = $baseUri + "/host/" + $HostID + "/task" $TaskdataSet = @{ "taskTypeID" = $TasktypeID "deploySnapins" = $Snapin } $taskdataToSend = ConvertTo-JSON($TaskdataSet) $TaskResult = Invoke-RestMethod -Method Post -Uri $TaskURL -Headers $headers -Body $taskdataToSend -ContentType "application/json"
All it does is start an image. At this point, I am just trying to get it to deploy the single snapin. From everything I read, it is supposed to be tasktypeID 13. Any help would be greatly appreciated!
FOG 1.5.9.34
CentOS 7